@hyperbridge/sdk 2.8.3 → 2.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,154 +1,156 @@
1
1
  {
2
- "name": "@hyperbridge/sdk",
3
- "version": "2.8.3",
4
- "description": "The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.",
5
- "type": "module",
6
- "types": "./dist/node/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/node/index.d.ts",
10
- "browser": "./dist/browser/index.js",
11
- "import": "./dist/node/index.js",
12
- "require": "./dist/node/index.cjs",
13
- "default": "./dist/node/index.js"
14
- },
15
- "./intents-helpers": {
16
- "types": "./dist/node/intents-helpers.d.ts",
17
- "import": "./dist/node/intents-helpers.js",
18
- "require": "./dist/node/intents-helpers.cjs",
19
- "default": "./dist/node/intents-helpers.js"
20
- },
21
- "./plugins/vite": {
22
- "types": "./plugins/vite.d.ts",
23
- "import": "./plugins/vite.js",
24
- "default": "./plugins/vite.js"
25
- }
26
- },
27
- "typesVersions": {
28
- "*": {
29
- "intents-helpers": [
30
- "./dist/node/intents-helpers.d.ts"
31
- ]
32
- }
33
- },
34
- "files": [
35
- "dist",
36
- "plugins"
37
- ],
38
- "keywords": [
39
- "hyperbridge",
40
- "indexer",
41
- "subquery",
42
- "graphql",
43
- "substrate",
44
- "blockchain",
45
- "interoperability",
46
- "cryptocurrency",
47
- "evm"
48
- ],
49
- "homepage": "https://github.com/polytope-labs/hyperbridge-sdk#readme",
50
- "bugs": {
51
- "url": "https://github.com/polytope-labs/hyperbridge-sdk/issues"
52
- },
53
- "repository": {
54
- "type": "git",
55
- "url": "git+https://github.com/polytope-labs/hyperbridge-sdk.git"
56
- },
57
- "license": "Apache-2.0",
58
- "author": "Polytope Labs",
59
- "dependencies": {
60
- "@async-generator/merge-race": "^1.0.3",
61
- "@polkadot/api": "latest",
62
- "@polkadot/types": "latest",
63
- "@polkadot/util": "latest",
64
- "@polkadot/util-crypto": "latest",
65
- "@types/lodash-es": "^4.17.12",
66
- "consola": "^3.4.2",
67
- "decimal.js": "^10.5.0",
68
- "graphql": "^16.10.0",
69
- "graphql-request": "^7.1.2",
70
- "idb-keyval": "^6.2.2",
71
- "lodash-es": "^4.17.15",
72
- "p-queue": "^8.1.0",
73
- "rpc-websocket-client": "^1.1.4",
74
- "scale-ts": "^1.6.1",
75
- "std-env": "^3.9.0",
76
- "tronweb": "^6.2.0",
77
- "ts-pattern": "^5.6.2",
78
- "unstorage": "^1.17.2",
79
- "viem": "2.47.6"
80
- },
81
- "devDependencies": {
82
- "@biomejs/biome": "^1.9.4",
83
- "@iarna/toml": "^2.2.5",
84
- "@polkadot/keyring": "latest",
85
- "@polytope-labs/hyperclient": "1.2.0",
86
- "@types/node": "^22.13.5",
87
- "@vitest/coverage-v8": "^3.1.4",
88
- "dotenv": "^16.4.7",
89
- "jsdom": "^26.0.0",
90
- "log-timestamp": "^0.3.0",
91
- "tsup": "^8.4.0",
92
- "vite-tsconfig-paths": "^5.1.4",
93
- "vitest": "^3.1.4"
94
- },
95
- "resolutions": {
96
- "@polkadot/api": "^16.4.6",
97
- "@polkadot/api-augment": "^16.4.6",
98
- "@polkadot/api-base": "^16.4.6",
99
- "@polkadot/api-contract": "^16.4.6",
100
- "@polkadot/api-derive": "^16.4.6",
101
- "@polkadot/hw-ledger": "^13.5.6",
102
- "@polkadot/keyring": "^13.5.6",
103
- "@polkadot/networks": "^13.5.6",
104
- "@polkadot/phishing": "^0.25.18",
105
- "@polkadot/rpc-augment": "^16.4.6",
106
- "@polkadot/rpc-core": "^16.4.6",
107
- "@polkadot/rpc-provider": "^16.4.6",
108
- "@polkadot/typegen": "^16.4.6",
109
- "@polkadot/types": "^16.4.6",
110
- "@polkadot/types-augment": "^16.4.6",
111
- "@polkadot/types-codec": "^16.4.6",
112
- "@polkadot/types-create": "^16.4.6",
113
- "@polkadot/types-known": "^16.4.6",
114
- "@polkadot/types-support": "^16.4.6",
115
- "@polkadot/util": "^13.5.6",
116
- "@polkadot/util-crypto": "^13.5.6",
117
- "@polkadot/wasm-crypto": "^7.5.1",
118
- "@polkadot/x-bigint": "^13.5.6",
119
- "@polkadot/x-fetch": "^13.5.6",
120
- "@polkadot/x-global": "^13.5.6",
121
- "@polkadot/x-randomvalues": "^13.5.6",
122
- "@polkadot/x-textdecoder": "^13.5.6",
123
- "@polkadot/x-textencoder": "^13.5.6",
124
- "@polkadot/x-ws": "^13.5.6"
125
- },
126
- "peerDependencies": {
127
- "vite": "^5.0.0 || ^6.0.0"
128
- },
129
- "publishConfig": {
130
- "access": "public"
131
- },
132
- "engineStrict": true,
133
- "engines": {
134
- "node": ">=22.x.x"
135
- },
136
- "scripts": {
137
- "build": "pnpm run build:browser && pnpm run build:node",
138
- "build:node": "tsup --config tsup-node.config.ts",
139
- "build:browser": "tsup --config tsup-browser.config.ts",
140
- "test": "npm run test:concurrent && npm run test:sequence",
141
- "test:file": "vitest --watch=false --maxConcurrency=1",
142
- "test:concurrent": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --exclude=./src/tests/sequential",
143
- "test:intent-gateway": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentGateway.test.ts",
144
- "test:intents-coprocessor": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentsCoprocessor.test.ts",
145
- "test:hyper-fungible-token": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/hyperFungibleToken.test.ts",
146
- "test:evm-substrate": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/evm-substrate.test.ts",
147
- "test:token-list": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/tokenList.test.ts",
148
- "test:get-request": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/getRequestBscAmoy.test.ts",
149
- "test:watch": "vitest --exclude=./src/tests/sequential",
150
- "lint": "biome lint .",
151
- "lint:fix": "biome lint --write .",
152
- "format": "prettier --write \"src/**/*.ts\""
153
- }
154
- }
2
+ "name": "@hyperbridge/sdk",
3
+ "version": "2.8.4",
4
+ "description": "The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.",
5
+ "type": "module",
6
+ "types": "./dist/node/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/node/index.d.ts",
10
+ "browser": "./dist/browser/index.js",
11
+ "import": "./dist/node/index.js",
12
+ "require": "./dist/node/index.cjs",
13
+ "default": "./dist/node/index.js"
14
+ },
15
+ "./intents-helpers": {
16
+ "types": "./dist/node/intents-helpers.d.ts",
17
+ "import": "./dist/node/intents-helpers.js",
18
+ "require": "./dist/node/intents-helpers.cjs",
19
+ "default": "./dist/node/intents-helpers.js"
20
+ },
21
+ "./plugins/vite": {
22
+ "types": "./plugins/vite.d.ts",
23
+ "import": "./plugins/vite.js",
24
+ "default": "./plugins/vite.js"
25
+ }
26
+ },
27
+ "typesVersions": {
28
+ "*": {
29
+ "intents-helpers": [
30
+ "./dist/node/intents-helpers.d.ts"
31
+ ]
32
+ }
33
+ },
34
+ "files": [
35
+ "dist",
36
+ "plugins"
37
+ ],
38
+ "keywords": [
39
+ "hyperbridge",
40
+ "indexer",
41
+ "subquery",
42
+ "graphql",
43
+ "substrate",
44
+ "blockchain",
45
+ "interoperability",
46
+ "cryptocurrency",
47
+ "evm"
48
+ ],
49
+ "homepage": "https://github.com/polytope-labs/hyperbridge-sdk#readme",
50
+ "bugs": {
51
+ "url": "https://github.com/polytope-labs/hyperbridge-sdk/issues"
52
+ },
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/polytope-labs/hyperbridge.git",
56
+ "directory": "sdk/packages/sdk"
57
+ },
58
+ "license": "Apache-2.0",
59
+ "author": "Polytope Labs",
60
+ "scripts": {
61
+ "build": "pnpm run build:browser && pnpm run build:node",
62
+ "build:node": "tsup --config tsup-node.config.ts",
63
+ "build:browser": "tsup --config tsup-browser.config.ts",
64
+ "prepublishOnly": "npm run build",
65
+ "test": "npm run test:concurrent && npm run test:sequence",
66
+ "test:file": "vitest --watch=false --maxConcurrency=1",
67
+ "test:concurrent": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --exclude=./src/tests/sequential",
68
+ "test:intent-gateway": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentGateway.test.ts",
69
+ "test:intents-coprocessor": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentsCoprocessor.test.ts",
70
+ "test:hyper-fungible-token": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/hyperFungibleToken.test.ts",
71
+ "test:evm-substrate": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/evm-substrate.test.ts",
72
+ "test:token-list": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/tokenList.test.ts",
73
+ "test:get-request": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/getRequestBscAmoy.test.ts",
74
+ "test:watch": "vitest --exclude=./src/tests/sequential",
75
+ "lint": "biome lint .",
76
+ "lint:fix": "biome lint --write .",
77
+ "format": "prettier --write \"src/**/*.ts\""
78
+ },
79
+ "dependencies": {
80
+ "@async-generator/merge-race": "^1.0.3",
81
+ "@polkadot/api": "latest",
82
+ "@polkadot/types": "latest",
83
+ "@polkadot/util": "latest",
84
+ "@polkadot/util-crypto": "latest",
85
+ "@types/lodash-es": "^4.17.12",
86
+ "consola": "^3.4.2",
87
+ "decimal.js": "^10.5.0",
88
+ "graphql": "^16.10.0",
89
+ "graphql-request": "^7.1.2",
90
+ "idb-keyval": "^6.2.2",
91
+ "lodash-es": "^4.17.15",
92
+ "p-queue": "^8.1.0",
93
+ "rpc-websocket-client": "^1.1.4",
94
+ "scale-ts": "^1.6.1",
95
+ "std-env": "^3.9.0",
96
+ "tronweb": "^6.2.0",
97
+ "ts-pattern": "^5.6.2",
98
+ "unstorage": "^1.17.2",
99
+ "viem": "2.47.6"
100
+ },
101
+ "devDependencies": {
102
+ "@biomejs/biome": "^1.9.4",
103
+ "@iarna/toml": "^2.2.5",
104
+ "@polkadot/keyring": "latest",
105
+ "@polytope-labs/hyperclient": "1.2.0",
106
+ "@types/node": "^22.13.5",
107
+ "@vitest/coverage-v8": "^3.1.4",
108
+ "dotenv": "^16.4.7",
109
+ "jsdom": "^26.0.0",
110
+ "log-timestamp": "^0.3.0",
111
+ "tsup": "^8.4.0",
112
+ "vite-tsconfig-paths": "^5.1.4",
113
+ "vitest": "^3.1.4"
114
+ },
115
+ "resolutions": {
116
+ "@polkadot/api": "^16.4.6",
117
+ "@polkadot/api-augment": "^16.4.6",
118
+ "@polkadot/api-base": "^16.4.6",
119
+ "@polkadot/api-contract": "^16.4.6",
120
+ "@polkadot/api-derive": "^16.4.6",
121
+ "@polkadot/hw-ledger": "^13.5.6",
122
+ "@polkadot/keyring": "^13.5.6",
123
+ "@polkadot/networks": "^13.5.6",
124
+ "@polkadot/phishing": "^0.25.18",
125
+ "@polkadot/rpc-augment": "^16.4.6",
126
+ "@polkadot/rpc-core": "^16.4.6",
127
+ "@polkadot/rpc-provider": "^16.4.6",
128
+ "@polkadot/typegen": "^16.4.6",
129
+ "@polkadot/types": "^16.4.6",
130
+ "@polkadot/types-augment": "^16.4.6",
131
+ "@polkadot/types-codec": "^16.4.6",
132
+ "@polkadot/types-create": "^16.4.6",
133
+ "@polkadot/types-known": "^16.4.6",
134
+ "@polkadot/types-support": "^16.4.6",
135
+ "@polkadot/util": "^13.5.6",
136
+ "@polkadot/util-crypto": "^13.5.6",
137
+ "@polkadot/wasm-crypto": "^7.5.1",
138
+ "@polkadot/x-bigint": "^13.5.6",
139
+ "@polkadot/x-fetch": "^13.5.6",
140
+ "@polkadot/x-global": "^13.5.6",
141
+ "@polkadot/x-randomvalues": "^13.5.6",
142
+ "@polkadot/x-textdecoder": "^13.5.6",
143
+ "@polkadot/x-textencoder": "^13.5.6",
144
+ "@polkadot/x-ws": "^13.5.6"
145
+ },
146
+ "peerDependencies": {
147
+ "vite": "^5.0.0 || ^6.0.0"
148
+ },
149
+ "publishConfig": {
150
+ "access": "public"
151
+ },
152
+ "engineStrict": true,
153
+ "engines": {
154
+ "node": ">=22.x.x"
155
+ }
156
+ }