mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 04:55:48 +00:00 
			
		
		
		
	- Removes need for bundlers to polyfill the `Buffer` class. `UInt8Array` are used instead which are native to the browser and node. - Reduces bundle size 7.1kb gzipped and eliminates 4 runtime dependencies: `base-x`, `base64-js`, `buffer`, and `ieee754`. BREAKING CHANGE: All methods that previously took a `Buffer` now accept a `UInt8Array`. --------- Co-authored-by: Jackson Mills <jmills@ripple.com>
		
			
				
	
	
		
			40 lines
		
	
	
		
			1002 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1002 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "ripple-address-codec",
 | 
						|
  "version": "5.0.0-beta.0",
 | 
						|
  "description": "encodes/decodes base58 encoded XRP Ledger identifiers",
 | 
						|
  "files": [
 | 
						|
    "dist/*",
 | 
						|
    "src/*"
 | 
						|
  ],
 | 
						|
  "main": "dist/index.js",
 | 
						|
  "types": "dist/index.d.ts",
 | 
						|
  "license": "ISC",
 | 
						|
  "dependencies": {
 | 
						|
    "@xrplf/isomorphic": "^1.0.0-beta.0",
 | 
						|
    "@scure/base": "^1.1.3"
 | 
						|
  },
 | 
						|
  "keywords": [
 | 
						|
    "ripple",
 | 
						|
    "xrp",
 | 
						|
    "xrp ledger",
 | 
						|
    "xrpl"
 | 
						|
  ],
 | 
						|
  "repository": {
 | 
						|
    "type": "git",
 | 
						|
    "url": "git@github.com:XRPLF/xrpl.js.git"
 | 
						|
  },
 | 
						|
  "prepublish": "tsc -b",
 | 
						|
  "prepublishOnly": "tslint -b ./ && jest",
 | 
						|
  "scripts": {
 | 
						|
    "build": "tsc --build tsconfig.build.json",
 | 
						|
    "test": "jest --verbose false --silent=false ./test/*.test.ts",
 | 
						|
    "test:browser": "npm run build && karma start ./karma.config.js",
 | 
						|
    "lint": "eslint . --ext .ts",
 | 
						|
    "clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo"
 | 
						|
  },
 | 
						|
  "prettier": "@xrplf/prettier-config",
 | 
						|
  "engines": {
 | 
						|
    "node": ">= 16"
 | 
						|
  }
 | 
						|
}
 |