@hyperbridge/sdk 2.8.4 → 2.8.6
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/browser/index.d.ts +7 -9
- package/dist/browser/index.js +8 -16
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +8 -16
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +2 -2
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +8 -16
- package/dist/node/index.js.map +1 -1
- package/dist/node/{intents-helpers-CkPAsLHB.d.cts → intents-helpers-BFc6YnD3.d.cts} +7 -9
- package/dist/node/{intents-helpers-CkPAsLHB.d.ts → intents-helpers-BFc6YnD3.d.ts} +7 -9
- package/dist/node/intents-helpers.d.cts +1 -1
- package/dist/node/intents-helpers.d.ts +1 -1
- package/package.json +6 -37
|
@@ -3102,19 +3102,17 @@ interface PackedUserOperation {
|
|
|
3102
3102
|
signature: HexString$1;
|
|
3103
3103
|
}
|
|
3104
3104
|
interface SigningAccount {
|
|
3105
|
-
/** Signs a bid message hash for a given chain. Returns a 65-byte ECDSA signature. */
|
|
3106
|
-
signMessage: (messageHash: HexString$1, chainId: number) => Promise<HexString$1>;
|
|
3107
|
-
/** Signs a raw 32-byte hash, returning split signature components for EIP-7702 etc. */
|
|
3108
|
-
signRawHash: (hash: HexString$1) => Promise<{
|
|
3109
|
-
r: HexString$1;
|
|
3110
|
-
s: HexString$1;
|
|
3111
|
-
yParity: number;
|
|
3112
|
-
}>;
|
|
3113
3105
|
/**
|
|
3114
3106
|
* Signs an EIP-712 typed-data payload (e.g. an EIP-2612 USDC permit for the Circle Paymaster).
|
|
3115
3107
|
* The shape of `typedData` matches viem's `TypedDataDefinition` (domain + types + message).
|
|
3108
|
+
*
|
|
3109
|
+
* No chain id parameter: EIP-712 carries it in `domain.chainId`, which is what
|
|
3110
|
+
* the digest covers and what a backend scoping the request to a chain reads.
|
|
3111
|
+
*
|
|
3112
|
+
* Returns the 65-byte `r ‖ s ‖ v` signature as 0x-hex, `v` 27 or 28 — the
|
|
3113
|
+
* `eth_signTypedData_v4` form. Bid validation recovers against exactly this.
|
|
3116
3114
|
*/
|
|
3117
|
-
signTypedData: (typedData: unknown
|
|
3115
|
+
signTypedData: (typedData: unknown) => Promise<HexString$1>;
|
|
3118
3116
|
}
|
|
3119
3117
|
interface SubmitBidOptions {
|
|
3120
3118
|
order: Order;
|
|
@@ -3102,19 +3102,17 @@ interface PackedUserOperation {
|
|
|
3102
3102
|
signature: HexString$1;
|
|
3103
3103
|
}
|
|
3104
3104
|
interface SigningAccount {
|
|
3105
|
-
/** Signs a bid message hash for a given chain. Returns a 65-byte ECDSA signature. */
|
|
3106
|
-
signMessage: (messageHash: HexString$1, chainId: number) => Promise<HexString$1>;
|
|
3107
|
-
/** Signs a raw 32-byte hash, returning split signature components for EIP-7702 etc. */
|
|
3108
|
-
signRawHash: (hash: HexString$1) => Promise<{
|
|
3109
|
-
r: HexString$1;
|
|
3110
|
-
s: HexString$1;
|
|
3111
|
-
yParity: number;
|
|
3112
|
-
}>;
|
|
3113
3105
|
/**
|
|
3114
3106
|
* Signs an EIP-712 typed-data payload (e.g. an EIP-2612 USDC permit for the Circle Paymaster).
|
|
3115
3107
|
* The shape of `typedData` matches viem's `TypedDataDefinition` (domain + types + message).
|
|
3108
|
+
*
|
|
3109
|
+
* No chain id parameter: EIP-712 carries it in `domain.chainId`, which is what
|
|
3110
|
+
* the digest covers and what a backend scoping the request to a chain reads.
|
|
3111
|
+
*
|
|
3112
|
+
* Returns the 65-byte `r ‖ s ‖ v` signature as 0x-hex, `v` 27 or 28 — the
|
|
3113
|
+
* `eth_signTypedData_v4` form. Bid validation recovers against exactly this.
|
|
3116
3114
|
*/
|
|
3117
|
-
signTypedData: (typedData: unknown
|
|
3115
|
+
signTypedData: (typedData: unknown) => Promise<HexString$1>;
|
|
3118
3116
|
}
|
|
3119
3117
|
interface SubmitBidOptions {
|
|
3120
3118
|
order: Order;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bE as AggregationLogger, bF as BidNonceKeyFn, bG as BidSignature, bH as ENTRY_POINT_V08_ADDRESS, bI as FILL_ORDER_ABI, bJ as FetchLike, bK as FillData, bL as HexString, bM as IntentGatewayV2, bN as LpBalance, bO as OrderCommitmentFn, bP as PhantomAggregation, bQ as PhantomLegAggregation, bR as PhantomLegBidder, bS as RecoverBidSigner, bT as RpcBidInfo, bU as SolverBalanceReader, bV as YieldVaultMap, bW as aggregatePhantomBids, bi as decodeAcceptedSourceChains, bj as decodeERC7821ExecuteBatch, bk as decodePhantomBidDeclaration, bl as decodeUserOpScale, bn as encodeAcceptedSourceChains, bo as encodeERC7821ExecuteBatch, bq as encodePhantomBidDeclaration, br as encodeUserOpScale, bX as extractFillData, bY as fetchBidsForOrder, bZ as memoizedSolverBalance, b_ as orderCommitmentFromDecoded, bA as poolSlug, b$ as recoverBidSignerViem, c0 as setAggregationFetch, bB as sortPoolSymbols, c1 as splitBidSignature, c2 as weightedMedian, c3 as zipFillLegs } from './intents-helpers-
|
|
1
|
+
export { bE as AggregationLogger, bF as BidNonceKeyFn, bG as BidSignature, bH as ENTRY_POINT_V08_ADDRESS, bI as FILL_ORDER_ABI, bJ as FetchLike, bK as FillData, bL as HexString, bM as IntentGatewayV2, bN as LpBalance, bO as OrderCommitmentFn, bP as PhantomAggregation, bQ as PhantomLegAggregation, bR as PhantomLegBidder, bS as RecoverBidSigner, bT as RpcBidInfo, bU as SolverBalanceReader, bV as YieldVaultMap, bW as aggregatePhantomBids, bi as decodeAcceptedSourceChains, bj as decodeERC7821ExecuteBatch, bk as decodePhantomBidDeclaration, bl as decodeUserOpScale, bn as encodeAcceptedSourceChains, bo as encodeERC7821ExecuteBatch, bq as encodePhantomBidDeclaration, br as encodeUserOpScale, bX as extractFillData, bY as fetchBidsForOrder, bZ as memoizedSolverBalance, b_ as orderCommitmentFromDecoded, bA as poolSlug, b$ as recoverBidSignerViem, c0 as setAggregationFetch, bB as sortPoolSymbols, c1 as splitBidSignature, c2 as weightedMedian, c3 as zipFillLegs } from './intents-helpers-BFc6YnD3.cjs';
|
|
2
2
|
import 'consola';
|
|
3
3
|
import 'decimal.js';
|
|
4
4
|
import 'graphql-request';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { bE as AggregationLogger, bF as BidNonceKeyFn, bG as BidSignature, bH as ENTRY_POINT_V08_ADDRESS, bI as FILL_ORDER_ABI, bJ as FetchLike, bK as FillData, bL as HexString, bM as IntentGatewayV2, bN as LpBalance, bO as OrderCommitmentFn, bP as PhantomAggregation, bQ as PhantomLegAggregation, bR as PhantomLegBidder, bS as RecoverBidSigner, bT as RpcBidInfo, bU as SolverBalanceReader, bV as YieldVaultMap, bW as aggregatePhantomBids, bi as decodeAcceptedSourceChains, bj as decodeERC7821ExecuteBatch, bk as decodePhantomBidDeclaration, bl as decodeUserOpScale, bn as encodeAcceptedSourceChains, bo as encodeERC7821ExecuteBatch, bq as encodePhantomBidDeclaration, br as encodeUserOpScale, bX as extractFillData, bY as fetchBidsForOrder, bZ as memoizedSolverBalance, b_ as orderCommitmentFromDecoded, bA as poolSlug, b$ as recoverBidSignerViem, c0 as setAggregationFetch, bB as sortPoolSymbols, c1 as splitBidSignature, c2 as weightedMedian, c3 as zipFillLegs } from './intents-helpers-
|
|
1
|
+
export { bE as AggregationLogger, bF as BidNonceKeyFn, bG as BidSignature, bH as ENTRY_POINT_V08_ADDRESS, bI as FILL_ORDER_ABI, bJ as FetchLike, bK as FillData, bL as HexString, bM as IntentGatewayV2, bN as LpBalance, bO as OrderCommitmentFn, bP as PhantomAggregation, bQ as PhantomLegAggregation, bR as PhantomLegBidder, bS as RecoverBidSigner, bT as RpcBidInfo, bU as SolverBalanceReader, bV as YieldVaultMap, bW as aggregatePhantomBids, bi as decodeAcceptedSourceChains, bj as decodeERC7821ExecuteBatch, bk as decodePhantomBidDeclaration, bl as decodeUserOpScale, bn as encodeAcceptedSourceChains, bo as encodeERC7821ExecuteBatch, bq as encodePhantomBidDeclaration, br as encodeUserOpScale, bX as extractFillData, bY as fetchBidsForOrder, bZ as memoizedSolverBalance, b_ as orderCommitmentFromDecoded, bA as poolSlug, b$ as recoverBidSignerViem, c0 as setAggregationFetch, bB as sortPoolSymbols, c1 as splitBidSignature, c2 as weightedMedian, c3 as zipFillLegs } from './intents-helpers-BFc6YnD3.js';
|
|
2
2
|
import 'consola';
|
|
3
3
|
import 'decimal.js';
|
|
4
4
|
import 'graphql-request';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperbridge/sdk",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.6",
|
|
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",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@async-generator/merge-race": "^1.0.3",
|
|
81
|
-
"@polkadot/api": "
|
|
82
|
-
"@polkadot/types": "
|
|
83
|
-
"@polkadot/util": "
|
|
84
|
-
"@polkadot/util-crypto": "
|
|
81
|
+
"@polkadot/api": "^16.5.6",
|
|
82
|
+
"@polkadot/types": "^16.5.6",
|
|
83
|
+
"@polkadot/util": "^14.0.3",
|
|
84
|
+
"@polkadot/util-crypto": "^14.0.3",
|
|
85
85
|
"@types/lodash-es": "^4.17.12",
|
|
86
86
|
"consola": "^3.4.2",
|
|
87
87
|
"decimal.js": "^10.5.0",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@biomejs/biome": "^1.9.4",
|
|
103
103
|
"@iarna/toml": "^2.2.5",
|
|
104
|
-
"@polkadot/keyring": "
|
|
104
|
+
"@polkadot/keyring": "^14.0.3",
|
|
105
105
|
"@polytope-labs/hyperclient": "1.2.0",
|
|
106
106
|
"@types/node": "^22.13.5",
|
|
107
107
|
"@vitest/coverage-v8": "^3.1.4",
|
|
@@ -112,37 +112,6 @@
|
|
|
112
112
|
"vite-tsconfig-paths": "^5.1.4",
|
|
113
113
|
"vitest": "^3.1.4"
|
|
114
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
115
|
"peerDependencies": {
|
|
147
116
|
"vite": "^5.0.0 || ^6.0.0"
|
|
148
117
|
},
|