2021-08-15 15:17:11 -07:00
|
|
|
{
|
|
|
|
"name": "@certusone/wormhole-sdk",
|
2023-08-08 19:19:06 -07:00
|
|
|
"version": "0.9.23",
|
2021-08-15 15:17:11 -07:00
|
|
|
"description": "SDK for interacting with Wormhole",
|
2022-09-14 02:33:11 -07:00
|
|
|
"homepage": "https://wormhole.com",
|
2021-11-21 16:18:37 -08:00
|
|
|
"main": "./lib/cjs/index.js",
|
|
|
|
"module": "./lib/esm/index.js",
|
2021-08-15 15:17:11 -07:00
|
|
|
"files": [
|
2021-11-23 07:58:21 -08:00
|
|
|
"lib/"
|
2021-08-15 15:17:11 -07:00
|
|
|
],
|
2023-04-15 16:01:35 -07:00
|
|
|
"sideEffects": false,
|
2022-11-29 06:30:22 -08:00
|
|
|
"repository": "https://github.com/certusone/wormhole/tree/main/sdk/js",
|
2021-08-15 15:17:11 -07:00
|
|
|
"scripts": {
|
2023-06-16 09:42:27 -07:00
|
|
|
"build-contracts": "cd ../../ethereum && make forge_dependencies && npm run build && cd ../sdk/js && node scripts/copyContracts.js",
|
2021-09-06 16:33:43 -07:00
|
|
|
"build-abis": "typechain --target=ethers-v5 --out-dir=src/ethers-contracts/abi src/abi/Wormhole.abi.json",
|
2022-10-26 07:28:46 -07:00
|
|
|
"build-idl": "node scripts/compileAnchorIdls.js",
|
|
|
|
"build-deps": "npm run build-abis && npm run build-contracts && npm run build-idl",
|
2022-07-12 21:02:51 -07:00
|
|
|
"build-lib": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node scripts/copyEthersTypes.js",
|
2021-09-10 17:32:46 -07:00
|
|
|
"build-all": "npm run build-deps && npm run build-lib",
|
2022-11-14 17:42:37 -08:00
|
|
|
"docs": "typedoc src/index.ts",
|
2023-06-13 14:27:49 -07:00
|
|
|
"test": "DEV=true NETWORK=DEVNET jest --config jestconfig.json --verbose",
|
|
|
|
"test-ci": "NETWORK=DEVNET NEAR_NO_LOGS=true jest --config jestconfig.json --verbose --setupFiles ./ci-config.js --forceExit",
|
2023-07-13 07:10:23 -07:00
|
|
|
"test-relayer-mainnet": "ENV=mainnet NETWORK=MAINNET npx jest --config jestconfig.json --verbose ./src/relayer/",
|
|
|
|
"test-relayer-testnet": "ENV=testnet NETWORK=TESTNET npx jest --config jestconfig.json --verbose ./src/relayer/",
|
2021-09-10 17:32:46 -07:00
|
|
|
"build": "npm run build-all",
|
2021-09-08 08:27:12 -07:00
|
|
|
"format": "echo \"disabled: prettier --write \"src/**/*.ts\"\"",
|
2021-08-15 15:17:11 -07:00
|
|
|
"lint": "tslint -p tsconfig.json",
|
2021-09-08 08:27:12 -07:00
|
|
|
"prepublishOnly": "echo \"disabled: npm test && npm run lint\"",
|
2021-08-15 15:17:11 -07:00
|
|
|
"preversion": "npm run lint",
|
|
|
|
"version": "npm run format && git add -A src",
|
|
|
|
"postversion": "git push && git push --tags"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"wormhole",
|
|
|
|
"bridge",
|
|
|
|
"token",
|
|
|
|
"sdk",
|
|
|
|
"solana",
|
|
|
|
"ethereum",
|
|
|
|
"terra",
|
|
|
|
"bsc"
|
|
|
|
],
|
|
|
|
"author": "certusone",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"devDependencies": {
|
2021-11-05 12:18:12 -07:00
|
|
|
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
|
2021-08-16 09:49:10 -07:00
|
|
|
"@openzeppelin/contracts": "^4.2.0",
|
|
|
|
"@typechain/ethers-v5": "^7.0.1",
|
2022-12-21 03:35:37 -08:00
|
|
|
"@types/bs58": "4.0.1",
|
2022-10-26 07:28:46 -07:00
|
|
|
"@types/elliptic": "^6.4.14",
|
2021-11-05 12:18:12 -07:00
|
|
|
"@types/jest": "^27.0.2",
|
2021-08-15 15:17:11 -07:00
|
|
|
"@types/long": "^4.0.1",
|
2021-08-17 18:19:15 -07:00
|
|
|
"@types/node": "^16.6.1",
|
2022-10-26 07:28:46 -07:00
|
|
|
"@types/node-fetch": "^2.6.2",
|
2021-08-20 04:22:15 -07:00
|
|
|
"@types/react": "^17.0.19",
|
2021-08-16 09:49:10 -07:00
|
|
|
"copy-dir": "^1.3.0",
|
2023-01-23 18:33:26 -08:00
|
|
|
"dotenv": "16.0.3",
|
2022-06-16 12:54:31 -07:00
|
|
|
"ethers": "^5.6.8",
|
2021-11-05 12:18:12 -07:00
|
|
|
"jest": "^27.3.1",
|
2021-08-15 15:17:11 -07:00
|
|
|
"prettier": "^2.3.2",
|
2023-01-23 18:33:26 -08:00
|
|
|
"truffle": "^5.7.2",
|
2021-11-05 12:18:12 -07:00
|
|
|
"ts-jest": "^27.0.7",
|
2021-08-15 15:17:11 -07:00
|
|
|
"tslint": "^6.1.3",
|
|
|
|
"tslint-config-prettier": "^1.18.0",
|
2023-01-23 18:33:26 -08:00
|
|
|
"typechain": "^5.0.0",
|
2022-11-14 17:42:37 -08:00
|
|
|
"typedoc": "0.21.10",
|
2022-01-07 08:13:02 -08:00
|
|
|
"typescript": "^4.3.5",
|
|
|
|
"web3": "^1.6.1"
|
2021-08-15 15:17:11 -07:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-11-10 16:16:21 -08:00
|
|
|
"@certusone/wormhole-sdk-proto-web": "0.0.6",
|
2022-07-12 21:02:51 -07:00
|
|
|
"@certusone/wormhole-sdk-wasm": "^0.0.1",
|
2023-01-18 23:19:18 -08:00
|
|
|
"@coral-xyz/borsh": "0.2.6",
|
2023-05-02 09:32:01 -07:00
|
|
|
"@mysten/sui.js": "0.32.2",
|
2022-10-26 07:28:46 -07:00
|
|
|
"@project-serum/anchor": "^0.25.0",
|
|
|
|
"@solana/spl-token": "^0.3.5",
|
|
|
|
"@solana/web3.js": "^1.66.2",
|
2023-06-22 14:00:42 -07:00
|
|
|
"@terra-money/terra.js": "3.1.9",
|
2022-10-12 08:30:32 -07:00
|
|
|
"@xpla/xpla.js": "^0.2.1",
|
2023-07-25 11:15:48 -07:00
|
|
|
"algosdk": "^2.4.0",
|
2023-01-18 23:19:18 -08:00
|
|
|
"aptos": "1.5.0",
|
2021-12-07 13:40:48 -08:00
|
|
|
"axios": "^0.24.0",
|
2021-08-30 18:07:09 -07:00
|
|
|
"bech32": "^2.0.0",
|
2022-10-26 07:28:46 -07:00
|
|
|
"binary-parser": "^2.2.1",
|
2022-12-21 03:35:37 -08:00
|
|
|
"bs58": "^4.0.1",
|
2022-10-26 07:28:46 -07:00
|
|
|
"elliptic": "^6.5.4",
|
2022-08-04 08:53:08 -07:00
|
|
|
"js-base64": "^3.6.1",
|
2022-09-28 06:53:15 -07:00
|
|
|
"near-api-js": "^1.0.0"
|
2023-06-13 14:27:49 -07:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"@injectivelabs/networks": "1.10.12",
|
|
|
|
"@injectivelabs/sdk-ts": "1.10.72",
|
|
|
|
"@injectivelabs/utils": "1.10.12"
|
2021-08-15 15:17:11 -07:00
|
|
|
}
|
|
|
|
}
|