UNPKG

@debridge-finance/solana-contracts-client

Version:
111 lines (110 loc) 4.07 kB
{ "name": "@debridge-finance/solana-contracts-client", "description": "", "version": "6.0.5", "author": "deBridge", "license": "GPL-3.0-only", "homepage": "https://debridge.finance", "repository": { "type": "git", "url": "github:debridge-finance/solana-contracts-client" }, "keywords": [ "solana", "deBridge", "blockchain" ], "files": [ "dist/**", "docs/**", "LICENSE", "readme.md" ], "browser": "./dist/esm/index.js", "module": "./dist/esm/index.js", "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "scripts": { "docs": "typedoc --tsconfig tsconfig.typedoc.json", "prettify": "prettier --write \"{src,tests}/**/*.{js,ts}\"", "lint": "eslint --config .eslintrc \"{src,tests}/**/*.{js,ts}\"", "lint:fix": "eslint --config .eslintrc \"{src,tests}/**/*.{js,ts}\" --fix", "lint:dump": "eslint --print-config ./.eslintrc.json", "build:esm": "tsc -p tsconfig.esm.json", "build:node": "tsc -p tsconfig.cjs.json", "build:browser": "rollup -c", "build": "rimraf dist && npm run build:esm && npm run build:node", "test:sendClaim": "mocha -r ts-node/register -b -t 20000000 ./tests/sendClaim.test.ts", "test:claimUnwrapSol": "mocha -r ts-node/register -b -t 200000 ./tests/extCallWithSplSolUnwrap.test.ts", "test:submission": "mocha -r ts-node/register -b -t 200000 ./tests/submissionId.test.ts", "test:extSub": "mocha -r ts-node/register -b -t 200000 ./tests/extCallWithSubstitution.test.ts", "test:extCall": "mocha -r ts-node/register -b -t 200000 ./tests/extCall.test.ts", "test:marketCap": "mocha -r ts-node/register -b -t 200000 ./tests/coinMarketCap.test.ts", "test:initBridge": "mocha -r ts-node/register -b -t 200000 ./tests/initBridge.test.ts", "test:realClaim": "mocha -r ts-node/register -b -t 200000 ./tests/realClaim.test.ts", "test:fallback": "mocha -r ts-node/register -b -t 20000000 ./tests/fallback.test.ts", "test:status": "mocha -r ts-node/register -b -t 20000000 ./tests/submissionStatus.test.ts" }, "dependencies": { "@coral-xyz/anchor": "^0.29.0", "@debridge-finance/solana-transaction-parser": "^2.0.1", "buffer": "6.0.3", "js-sha256": "0.10.1", "loglevel": "1.8.0", "loglevel-plugin-prefix": "0.8.4", "micro-memoize": "4.0.9", "pino": "^8.17.1", "pino-pretty": "^10.3.1", "secp256k1": "5.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "*", "@rollup/plugin-json": "*", "@rollup/plugin-node-resolve": "*", "@rollup/plugin-replace": "*", "@rollup/plugin-typescript": "*", "@solana/spl-token": "*", "@types/bn.js": "^5.1.1", "@types/chai": "^4.2.22", "@types/mocha": "^9.0.0", "@types/node": "^16.10.3", "@types/secp256k1": "^4.0.3", "@typescript-eslint/eslint-plugin": "5.61.0", "@typescript-eslint/parser": "5.61.0", "assert": "2.0.0", "axios": "1.6.2", "bn.js": "5.2.1", "chai": "4.3.6", "dotenv": "^16.0.3", "eslint": "8.44.0", "eslint-config-airbnb-base": "15.0.0", "eslint-config-airbnb-typescript": "17.0.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-import": "2.27.5", "eslint-plugin-prettier": "^5.0.0-alpha.2", "js-sha3": "^0.9.3", "mocha": "10.2.0", "prettier": "3.0.0", "rimraf": "3.0.2", "rollup": "^2.66.1", "rollup-plugin-terser": "7.0.2", "ts-command-line-args": "2.3.1", "ts-node": "10.4.0", "typedoc": "0.24.4", "typedoc-plugin-markdown": "3.15.1" }, "peerDependencies": { "@debridge-finance/solana-utils": "^5.0.0", "@debridge-finance/debridge-external-call": "^2.0.0", "@solana/buffer-layout": "^4.0.0", "@solana/buffer-layout-utils": "^0.2.0", "@solana/web3.js": "^1.95.2" } }