@chainflip/rpc 1.9.6 → 1.9.8

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/dist/Client.cjs CHANGED
@@ -66,7 +66,10 @@ var Client = (_class = class {
66
66
  void this.handleBatch();
67
67
  }, 0);
68
68
  }
69
- return deferred.promise;
69
+ return deferred.promise.catch((error) => {
70
+ if (error instanceof Error) Error.captureStackTrace(error);
71
+ throw error;
72
+ });
70
73
  }
71
74
  methods() {
72
75
  return Object.keys(_commoncjs.rpcResult).sort();
package/dist/Client.mjs CHANGED
@@ -66,7 +66,10 @@ var Client = class {
66
66
  void this.handleBatch();
67
67
  }, 0);
68
68
  }
69
- return deferred.promise;
69
+ return deferred.promise.catch((error) => {
70
+ if (error instanceof Error) Error.captureStackTrace(error);
71
+ throw error;
72
+ });
70
73
  }
71
74
  methods() {
72
75
  return Object.keys(rpcResult).sort();
package/dist/common.d.cts CHANGED
@@ -51,7 +51,7 @@ type RequestSwapParameterEncodingParams = [
51
51
  } | {
52
52
  chain: 'Solana';
53
53
  from: string;
54
- event_data_account: string;
54
+ seed: HexString;
55
55
  input_amount: string;
56
56
  refund_parameters: FillOrKillParams;
57
57
  from_token_account?: string;
package/dist/common.d.ts CHANGED
@@ -51,7 +51,7 @@ type RequestSwapParameterEncodingParams = [
51
51
  } | {
52
52
  chain: 'Solana';
53
53
  from: string;
54
- event_data_account: string;
54
+ seed: HexString;
55
55
  input_amount: string;
56
56
  refund_parameters: FillOrKillParams;
57
57
  from_token_account?: string;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@chainflip/rpc",
3
- "version": "1.9.6",
3
+ "version": "1.9.8",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@chainflip/utils": "0.8.6",
7
- "zod": "^3.24.3"
7
+ "zod": "^3.25.28"
8
8
  },
9
9
  "devDependencies": {
10
- "@types/node": "^22.14.1",
10
+ "@types/node": "^22.15.29",
11
11
  "@types/ws": "^8.18.1",
12
- "ws": "^8.18.1"
12
+ "ws": "^8.18.2"
13
13
  },
14
14
  "files": [
15
15
  "dist",