@aptos-labs/ts-sdk
Version:
Aptos TypeScript SDK
157 lines • 4.99 kB
JSON
{
"name": "@aptos-labs/ts-sdk",
"description": "Aptos TypeScript SDK",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "git+https://github.com/aptos-labs/aptos-ts-sdk.git"
},
"engines": {
"node": ">=22.0.0"
},
"bugs": {
"url": "https://github.com/aptos-labs/aptos-ts-sdk/issues/new/choose"
},
"homepage": "https://aptos-labs.github.io/aptos-ts-sdk/",
"type": "module",
"sideEffects": [
"**/keylessRegistration.js"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./account": {
"types": "./dist/functions/account.d.ts",
"default": "./dist/functions/account.js"
},
"./abstraction": {
"types": "./dist/functions/abstraction.d.ts",
"default": "./dist/functions/abstraction.js"
},
"./ans": {
"types": "./dist/functions/ans.d.ts",
"default": "./dist/functions/ans.js"
},
"./coin": {
"types": "./dist/functions/coin.d.ts",
"default": "./dist/functions/coin.js"
},
"./digitalAsset": {
"types": "./dist/functions/digitalAsset.d.ts",
"default": "./dist/functions/digitalAsset.js"
},
"./faucet": {
"types": "./dist/functions/faucet.d.ts",
"default": "./dist/functions/faucet.js"
},
"./fungibleAsset": {
"types": "./dist/functions/fungibleAsset.d.ts",
"default": "./dist/functions/fungibleAsset.js"
},
"./general": {
"types": "./dist/functions/general.d.ts",
"default": "./dist/functions/general.js"
},
"./keyless": {
"types": "./dist/functions/keyless.d.ts",
"default": "./dist/functions/keyless.js"
},
"./object": {
"types": "./dist/functions/object.d.ts",
"default": "./dist/functions/object.js"
},
"./staking": {
"types": "./dist/functions/staking.d.ts",
"default": "./dist/functions/staking.js"
},
"./table": {
"types": "./dist/functions/table.d.ts",
"default": "./dist/functions/table.js"
},
"./transaction": {
"types": "./dist/functions/transaction.d.ts",
"default": "./dist/functions/transaction.js"
},
"./view": {
"types": "./dist/functions/view.d.ts",
"default": "./dist/functions/view.js"
},
"./crypto": {
"types": "./dist/core/crypto/index.d.ts",
"default": "./dist/core/crypto/index.js"
},
"./bcs": {
"types": "./dist/bcs/index.d.ts",
"default": "./dist/bcs/index.js"
},
"./cli": {
"types": "./dist/cli/index.d.ts",
"default": "./dist/cli/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src",
"LICENSE"
],
"dependencies": {
"@aptos-labs/aptos-cli": "^3.0.0",
"@aptos-labs/aptos-client": "^4.1.0",
"@noble/ciphers": "2.2.0",
"@noble/curves": "2.2.0",
"@noble/hashes": "2.2.0",
"@scure/bip32": "^2.0.1",
"@scure/bip39": "^2.0.1",
"eventemitter3": "^5.0.4",
"jwt-decode": "^4.0.0",
"poseidon-lite": "^0.3.0"
},
"devDependencies": {
"@babel/traverse": "^7.29.0",
"@biomejs/biome": "2.4.6",
"@cucumber/cucumber": "^12.8.1",
"@graphql-codegen/cli": "^6.3.0",
"@graphql-codegen/import-types-preset": "^4.0.0",
"@graphql-codegen/typescript": "^5.0.10",
"@graphql-codegen/typescript-graphql-request": "^7.0.0",
"@graphql-codegen/typescript-operations": "^5.1.0",
"@types/node": "^22.19.17",
"@vitest/coverage-v8": "^4.1.4",
"graphql": "^16.13.2",
"graphql-request": "^7.4.0",
"tree-kill": "^1.2.2",
"typedoc": "^0.28.19",
"typedoc-plugin-missing-exports": "^4.1.3",
"@typescript/native": "npm:typescript@^7.0.2",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^7.3.5",
"vitest": "^4.1.4"
},
"version": "7.3.0",
"scripts": {
"build:clean": "rm -rf dist",
"build": "pnpm build:clean && tsc -p tsconfig.build.json",
"_fmt": "biome format",
"fmt": "biome format --write",
"format": "pnpm fmt",
"lint": "biome lint",
"check": "biome check",
"test": "vitest run",
"test:tree-shaking": "node tests/bundle-size/check-tree-shaking.mjs",
"test:coverage": "vitest run --coverage",
"unit-test": "vitest run --config vitest.config.unit.ts",
"test:coverage:unit": "vitest run --coverage --config vitest.config.unit.ts",
"e2e-test": "vitest run tests/e2e",
"e2e-encrypted": "vitest run tests/e2e/transaction/encryptedTransaction.test.ts --config vitest.config.e2e-devnet.ts",
"indexer-codegen": "graphql-codegen --config ./src/types/codegen.yaml && pnpm fmt",
"doc": "scripts/generateDocs.sh",
"check-version": "scripts/checkVersion.sh",
"check-license": "sh scripts/checkLicense.sh . && sh scripts/checkLicense.sh confidential-asset",
"update-version": "scripts/updateVersion.sh && pnpm doc",
"spec": "pnpm build && pnpm _spec",
"_spec": "cucumber-js -p default"
}
}