UNPKG

@ghostspeak/sdk

Version:

TypeScript SDK for GhostSpeak AI Agent Commerce Protocol - Production Ready Beta

141 lines (140 loc) 4.52 kB
{ "name": "@ghostspeak/sdk", "version": "2.0.1", "description": "TypeScript SDK for GhostSpeak AI Agent Commerce Protocol - Production Ready Beta", "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./client": { "import": "./dist/client.js", "types": "./dist/client.d.ts" }, "./types": { "import": "./dist/types.js", "types": "./dist/types.d.ts" }, "./errors": { "import": "./dist/errors.js", "types": "./dist/errors.d.ts" }, "./crypto": { "import": "./dist/crypto.js", "types": "./dist/crypto.d.ts" }, "./utils": { "import": "./dist/utils.js", "types": "./dist/utils.d.ts" }, "./minimal": { "import": "./dist/minimal/core-minimal.js", "types": "./dist/minimal/core-minimal.d.ts" } }, "files": [ "dist" ], "scripts": { "build": "bun run build:wasm && tsup", "build:wasm": "bun run wasm:build", "build:dev": "tsup --watch", "dev": "tsup --watch", "type-check": "tsc --noEmit", "test": "vitest", "test:ci": "vitest run", "test:unit": "vitest run tests/unit", "test:integration": "vitest run tests/integration", "test:e2e": "vitest run tests/e2e", "test:watch": "vitest watch", "test:coverage": "vitest run --coverage", "test:real": "RUN_REAL_TESTS=1 vitest run tests/integration/*real-integration.test.ts", "test:real:token": "RUN_REAL_TESTS=1 vitest run tests/integration/token-2022-real-integration.test.ts", "test:real:confidential": "RUN_REAL_TESTS=1 vitest run tests/integration/confidential-transfer-real-integration.test.ts", "wasm:build": "cd src/wasm/crypto-wasm && wasm-pack build --target web --out-dir ../../../dist/wasm --scope ghostspeak", "wasm:clean": "rm -rf dist/wasm src/wasm/crypto-wasm/pkg", "wasm:install": "cargo install wasm-pack", "lint": "eslint src --no-error-on-unmatched-pattern --ignore-pattern 'src/generated/**' && eslint src/generated --no-error-on-unmatched-pattern --config .eslintrc.generated.js", "lint:fix": "eslint src --fix --ignore-pattern 'src/generated/**' && eslint src/generated --fix --config .eslintrc.generated.js", "clean": "rm -rf dist coverage && bun run wasm:clean" }, "keywords": [ "solana", "blockchain", "ai-agents", "defi", "typescript", "web3", "protocol", "commerce", "autonomous-agents", "marketplace", "escrow", "devnet-ready" ], "author": "GhostSpeak Protocol", "license": "MIT", "homepage": "https://github.com/Prompt-or-Die/ghostspeak#readme", "repository": { "type": "git", "url": "git+https://github.com/Prompt-or-Die/ghostspeak.git", "directory": "packages/sdk-typescript" }, "bugs": { "url": "https://github.com/Prompt-or-Die/ghostspeak/issues" }, "publishConfig": { "access": "public" }, "dependencies": { "@noble/curves": "^1.9.4", "@noble/hashes": "^1.8.0", "@solana-program/system": "^0.7.0", "@solana-program/token-2022": "^0.4.2", "@solana/accounts": "^2.3.0", "@solana/addresses": "^2.3.0", "@solana/codecs-core": "^2.3.0", "@solana/codecs-data-structures": "^2.3.0", "@solana/codecs-numbers": "^2.3.0", "@solana/codecs-strings": "^2.3.0", "@solana/errors": "^2.3.0", "@solana/instructions": "^2.3.0", "@solana/kit": "^2.3.0", "@solana/options": "^2.3.0", "@solana/programs": "^2.3.0", "@solana/rpc": "^2.3.0", "@solana/rpc-spec": "^2.3.0", "@solana/rpc-transport": "^2.0.0-experimental.9741939", "@solana/rpc-types": "^2.3.0", "@solana/signers": "^2.3.0", "@solana/spl-account-compression": "^0.4.1", "@solana/spl-token": "^0.4.13", "@solana/sysvars": "^2.3.0", "@solana/transactions": "^2.3.0", "bs58": "^6.0.0" }, "devDependencies": { "@codama/nodes": "^1.0.0", "@codama/nodes-from-anchor": "^1.2.2", "@codama/renderers-js": "^1.3.1", "@codama/visitors": "^1.0.0", "@types/node": "^24.0.15", "@typescript-eslint/eslint-plugin": "^8.37.0", "@typescript-eslint/parser": "^8.37.0", "@vitest/coverage-v8": "^3.2.4", "@vitest/ui": "^3.2.4", "eslint": "^9.31.0", "glob": "^10.4.5", "tsup": "^8.0.0", "tsx": "^4.20.3", "typescript": "^5.3.0", "vitest": "^3.2.4" }, "engines": { "node": ">=20.0.0" } }