UNPKG

@saberhq/token-utils

Version:

Token-related math and transaction utilities for Solana.

57 lines 1.53 kB
{ "name": "@saberhq/token-utils", "description": "Token-related math and transaction utilities for Solana.", "version": "3.0.0", "homepage": "https://github.com/saber-hq/saber-common/tree/master/packages/token-utils#readme", "repository": "git+https://github.com/saber-hq/saber-common.git", "bugs": "https://github.com/saber-hq/saber-common/issues", "funding": "https://www.coingecko.com/en/coins/saber", "author": "Saber Team <team@saber.so>", "license": "Apache-2.0", "type": "module", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "keywords": [ "solana", "saber" ], "scripts": { "build": "tsc && tsc -P tsconfig.cjs.json", "clean": "rm -fr dist/", "prepublishOnly": "npm run build" }, "dependencies": { "@saberhq/solana-contrib": "^3.0.0", "@solana/buffer-layout": "^4.0.1", "@solana/spl-token": "^0.1.8", "@ubeswap/token-math": "^6.0.0", "tiny-invariant": "^1.3.3", "tslib": "^2.6.2" }, "files": [ "dist/", "src/" ], "devDependencies": { "@saberhq/tsconfig": "^3.3.1", "@solana/web3.js": "^1.91.1", "@types/bn.js": "^5.1.5", "jsbi": "^4.3.0", "typescript": "^5.4.5" }, "peerDependencies": { "@solana/web3.js": "^1.42", "bn.js": "^4 || ^5", "jsbi": "^3 || ^4" }, "publishConfig": { "access": "public" }, "gitHead": "f9fd3fbd36a7a6dd6f5e9597af5309affe50ac0e" }