@pod-protocol/sdk
Version:
TypeScript SDK for PoD Protocol - AI agent communication on Solana
191 lines (190 loc) • 5.95 kB
JSON
{
"name": "@pod-protocol/sdk",
"version": "2.0.4",
"description": "TypeScript SDK for PoD Protocol - AI agent communication on Solana",
"type": "module",
"main": "dist/index.esm.js",
"module": "dist/index.esm.js",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"build:dev": "rollup -c --environment NODE_ENV:development",
"build:prod": "rollup -c --environment NODE_ENV:production",
"build:clean": "rimraf dist && npm run build",
"dev": "npm run build:watch",
"dev:enhanced": "concurrently \"npm run build:watch\" \"npm run type-check:watch\" \"npm run lint:watch\"",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch",
"lint": "eslint src --ext .ts,.js --fix",
"lint:watch": "nodemon --exec \"npm run lint\" --watch src --ext ts,js",
"lint:check": "eslint src --ext .ts,.js",
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,js,json,md}\"",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"test:e2e": "bun test tests/e2e/",
"docs": "typedoc src/index.ts",
"docs:serve": "typedoc src/index.ts --watch --serve",
"size": "npm run build:prod && size-limit",
"validate": "npm run lint:check && npm run type-check && npm run test",
"validate:full": "npm run format:check && npm run lint:check && npm run type-check && npm run test:coverage",
"debug": "node --inspect-brk ./dist/debug/debug-runner.js",
"example": "node --loader ts-node/esm ./src/examples/basic-usage.ts",
"playground": "node --loader ts-node/esm ./src/playground/interactive.ts",
"demo": "npm run build && node ./dist/examples/complete-demo.js",
"health": "node ./scripts/health-check.js",
"deps:check": "npm audit && ncu -u",
"deps:update": "npm update && npm run validate",
"release:patch": "npm version patch && npm run build:prod && npm publish",
"release:minor": "npm version minor && npm run build:prod && npm publish",
"release:major": "npm version major && npm run build:prod && npm publish",
"clean": "rimraf dist node_modules/.cache coverage .nyc_output",
"fresh": "npm run clean && npm install && npm run build",
"benchmark": "node ./dist/benchmarks/performance.js",
"security": "npm audit && snyk test"
},
"keywords": [
"solana",
"web3",
"sdk",
"ai-agents",
"protocol",
"typescript",
"blockchain",
"pod-protocol"
],
"author": "PoD Protocol Team",
"license": "MIT",
"files": [
"dist",
"README.md",
"LICENSE"
],
"dependencies": {
"@coral-xyz/anchor": "0.31.1",
"@solana/rpc": "2.1.1",
"@solana/rpc-subscriptions": "2.1.1",
"@solana/addresses": "2.1.1",
"@solana/signers": "2.1.1",
"@solana/transactions": "2.1.1",
"@solana/accounts": "2.1.1",
"@solana/codecs": "2.1.1",
"@solana/transaction-messages": "2.1.1",
"@solana/sysvars": "2.1.1",
"@solana/errors": "2.1.1",
"@lightprotocol/stateless.js": "^0.22.0",
"@lightprotocol/compressed-token": "^0.22.0",
"keccak": "^3.0.4"
},
"peerDependencies": {
"@solana-program/compute-budget": ">=0.7.0",
"@solana-program/system": ">=0.7.0",
"@solana-program/token": ">=0.7.0"
},
"optionalDependencies": {
"helia": "^5.4.2",
"@helia/unixfs": "^5.0.3",
"@helia/json": "^4.0.6"
},
"devDependencies": {
"@rollup/plugin-commonjs": "28.0.6",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.1",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-typescript": "12.1.3",
"@types/jest": "30.0.0",
"@types/node": "24.0.4",
"@typescript-eslint/eslint-plugin": "8.35.0",
"@typescript-eslint/parser": "8.35.0",
"concurrently": "9.2.0",
"eslint": "9.29.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-prettier": "5.5.1",
"jest": "30.0.3",
"nodemon": "3.1.10",
"npm-check-updates": "18.0.1",
"prettier": "3.6.1",
"rimraf": "6.0.1",
"rollup": "4.44.1",
"size-limit": "11.2.0",
"snyk": "1.1297.3",
"ts-jest": "29.4.0",
"ts-node": "10.9.2",
"typedoc": "0.28.5",
"typescript": "5.8.3"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "100 KB"
},
{
"path": "dist/index.esm.js",
"limit": "100 KB"
}
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.test.ts",
"**/src/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/generated/**",
"!src/examples/**"
]
},
"eslintConfig": {
"extends": [
"@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
]
},
"ignorePatterns": [
"dist",
"node_modules",
"src/generated"
]
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2
}
}