@hyperbridge/sdk 2.0.0 → 2.1.0

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,17 +1,21 @@
1
1
  {
2
2
  "name": "@hyperbridge/sdk",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.",
5
5
  "type": "module",
6
6
  "types": "./dist/node/index.d.ts",
7
7
  "exports": {
8
8
  ".": {
9
+ "types": "./dist/node/index.d.ts",
9
10
  "browser": "./dist/browser/index.js",
10
- "import": "./dist/node/index.js"
11
+ "import": "./dist/node/index.js",
12
+ "require": "./dist/node/index.cjs",
13
+ "default": "./dist/node/index.js"
11
14
  },
12
15
  "./plugins/vite": {
16
+ "types": "./plugins/vite.d.ts",
13
17
  "import": "./plugins/vite.js",
14
- "types": "./plugins/vite.d.ts"
18
+ "default": "./plugins/vite.js"
15
19
  }
16
20
  },
17
21
  "files": [
@@ -122,10 +126,9 @@
122
126
  "test": "npm run test:concurrent && npm run test:sequence",
123
127
  "test:file": "vitest --watch=false --maxConcurrency=1",
124
128
  "test:concurrent": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --exclude=./src/tests/sequential",
125
- "test:requests": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/requests.test.ts",
126
129
  "test:intent-gateway": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentGateway.test.ts",
127
130
  "test:intents-coprocessor": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/intentsCoprocessor.test.ts",
128
- "test:token-gateway": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/tokenGateway.test.ts",
131
+ "test:hyper-fungible-token": "vitest --watch=false --dangerouslyIgnoreUnhandledErrors --sequence.concurrent=false ./src/tests/sequential/hyperFungibleToken.test.ts",
129
132
  "test:evm-substrate": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/evm-substrate.test.ts",
130
133
  "test:token-list": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/tokenList.test.ts",
131
134
  "test:watch": "vitest --exclude=./src/tests/sequential",