UNPKG

@ghostspeak/sdk

Version:

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

161 lines (160 loc) 5.05 kB
{ "name": "@ghostspeak/sdk", "version": "2.0.10", "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" }, "./browser": { "import": "./dist/browser.js", "types": "./dist/browser.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" }, "./credentials": { "import": "./dist/credentials.js", "types": "./dist/credentials.d.ts" }, "./x402": { "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./x402/*": { "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "scripts": { "generate": "codama run --config codama.config.js js && bun scripts/generate-mappings.ts", "build": "tsup", "build:full": "bun run build:wasm && tsup", "build:wasm": "bun run wasm:build", "build:dev": "tsup --watch", "dev": "tsup --watch", "prepare": "tsup", "type-check": "tsc --noEmit", "test": "vitest run --reporter=verbose", "test:ci": "vitest run --reporter=default", "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 <team@ghostspeak.io>", "license": "MIT", "homepage": "https://www.ghostspeak.io/", "repository": { "type": "git", "url": "https://github.com/ghostspeak/ghostspeak.git", "directory": "packages/sdk-typescript" }, "bugs": { "url": "https://github.com/ghostspeak/ghostspeak/issues" }, "publishConfig": { "access": "public" }, "dependencies": { "@libsql/client": "^0.15.0", "@noble/curves": "^1.9.4", "@noble/hashes": "^1.8.0", "@solana-program/system": "^0.10.0", "@solana-program/token": "^0.9.0", "@solana-program/token-2022": "^0.6.1", "@solana/accounts": "^5.1.0", "@solana/addresses": "^5.1.0", "@solana/codecs-core": "^5.1.0", "@solana/codecs-data-structures": "^5.1.0", "@solana/codecs-numbers": "^5.1.0", "@solana/codecs-strings": "^5.1.0", "@solana/errors": "^5.1.0", "@solana/instructions": "^5.1.0", "@solana/kit": "^5.1.0", "@solana/options": "^5.1.0", "@solana/programs": "^5.1.0", "@solana/rpc": "^5.1.0", "@solana/rpc-spec": "^5.1.0", "@solana/rpc-types": "^5.1.0", "@solana/signers": "^5.1.0", "@solana/spl-account-compression": "^0.4.1", "@solana/sysvars": "^5.1.0", "bs58": "^6.0.0", "gill": "^0.14.0", "kubo-rpc-client": "^5.2.0", "lru-cache": "^11.2.4" }, "devDependencies": { "@codama/cli": "^1.2.1", "@codama/nodes": "^1.3.1", "@codama/nodes-from-anchor": "^1.2.3", "@codama/renderers-js": "^1.3.2", "@codama/visitors": "^1.3.1", "@types/node": "^24.0.15", "@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.9.3", "vitest": "^3.2.4" }, "engines": { "node": ">=24.0.0" } }