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>
		
			
				
	
	
		
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "name": "ripple-binary-codec",
 | 
						|
  "version": "2.0.0-beta.0",
 | 
						|
  "description": "XRP Ledger binary codec",
 | 
						|
  "files": [
 | 
						|
    "dist/*",
 | 
						|
    "src/*"
 | 
						|
  ],
 | 
						|
  "main": "dist/",
 | 
						|
  "directories": {
 | 
						|
    "test": "test"
 | 
						|
  },
 | 
						|
  "dependencies": {
 | 
						|
    "@xrplf/isomorphic": "^1.0.0-beta.0",
 | 
						|
    "bignumber.js": "^9.0.0",
 | 
						|
    "ripple-address-codec": "^5.0.0-beta.0"
 | 
						|
  },
 | 
						|
  "scripts": {
 | 
						|
    "build": "tsc --build tsconfig.build.json && copyfiles ./src/enums/definitions.json ./dist/enums/",
 | 
						|
    "clean": "rm -rf ./dist ./coverage ./test/testCompiledForWeb tsconfig.build.tsbuildinfo",
 | 
						|
    "prepublishOnly": "npm test",
 | 
						|
    "test": "npm run build && jest --verbose false --silent=false ./test/*.test.ts",
 | 
						|
    "test:browser": "npm run build && karma start ./karma.config.js",
 | 
						|
    "lint": "eslint . --ext .ts --ext .test.js"
 | 
						|
  },
 | 
						|
  "keywords": [
 | 
						|
    "ripple",
 | 
						|
    "xrp",
 | 
						|
    "xrp ledger",
 | 
						|
    "xrpl"
 | 
						|
  ],
 | 
						|
  "repository": {
 | 
						|
    "type": "git",
 | 
						|
    "url": "git@github.com:XRPLF/xrpl.js.git"
 | 
						|
  },
 | 
						|
  "bugs": {
 | 
						|
    "url": "https://github.com/XRPLF/xrpl.js/issues"
 | 
						|
  },
 | 
						|
  "homepage": "https://github.com/XRPLF/xrpl.js/tree/main/packages/ripple-binary-codec#readme",
 | 
						|
  "license": "ISC",
 | 
						|
  "readmeFilename": "README.md",
 | 
						|
  "prettier": "@xrplf/prettier-config",
 | 
						|
  "engines": {
 | 
						|
    "node": ">= 16"
 | 
						|
  }
 | 
						|
}
 |