@hyperbridge/sdk 2.8.18 → 2.8.19
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 +14 -1
- package/dist/browser/index.js +137 -10
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +137 -10
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +11 -3
- package/dist/node/index.d.ts +11 -3
- package/dist/node/index.js +137 -10
- package/dist/node/index.js.map +1 -1
- package/dist/node/{intents-helpers-BHl2If1T.d.cts → intents-helpers-D0JcQNDm.d.cts} +6 -1
- package/dist/node/{intents-helpers-BHl2If1T.d.ts → intents-helpers-D0JcQNDm.d.ts} +6 -1
- package/dist/node/intents-helpers.d.cts +1 -1
- package/dist/node/intents-helpers.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2937,6 +2937,11 @@ interface SubmitBidOptions {
|
|
|
2937
2937
|
*/
|
|
2938
2938
|
paymasterAndData?: HexString$1;
|
|
2939
2939
|
}
|
|
2940
|
+
/**
|
|
2941
|
+
* The fields of a bid UserOperation that decide its `preVerificationGas`: everything the
|
|
2942
|
+
* solver signs except the signature and the `preVerificationGas` itself.
|
|
2943
|
+
*/
|
|
2944
|
+
type BidPreVerificationGasParams = Pick<SubmitBidOptions, "solverAccount" | "nonce" | "entryPointAddress" | "callGasLimit" | "verificationGasLimit" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "paymasterAndData">;
|
|
2940
2945
|
interface EstimateFillOrderParams {
|
|
2941
2946
|
order: Order;
|
|
2942
2947
|
/** Positional input takes. Required with custom outputs; otherwise estimates a full fill at the order's rate. */
|
|
@@ -6844,4 +6849,4 @@ declare const _default: {
|
|
|
6844
6849
|
}];
|
|
6845
6850
|
};
|
|
6846
6851
|
|
|
6847
|
-
export { type
|
|
6852
|
+
export { type DecodedPostRequestEvent as $, type AssetTeleported as A, type PackedUserOperation as B, ChainConfigService as C, type Bid as D, type EstimateGasCallData as E, type FillerBid as F, type GetRequestWithStatus as G, type HexString$1 as H, type IChain as I, type EstimateFillOrderParams as J, type FillOrderEstimate as K, type BidPreVerificationGasParams as L, type OrderFeesQuote as M, type ERC7821Call as N, type Order as O, type PostRequestWithStatus as P, type QueryBuyAndSellRatesParams as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type TokenInfo as U, type OrderWithStatus as V, OrderStatus as W, type FillOptions as X, type TokenGatewayAssetTeleportedWithStatus as Y, TeleportStatus as Z, type DecodedOrderPlacedLog as _, type IEvmConfig as a, TimeoutStatus as a$, type DecodedPostResponseEvent as a0, type AllStatusKey as a1, type AssetTeleportedResponse as a2, type BidStorageEntry as a3, type BidSubmissionResult as a4, type BlockMetadata as a5, type BytesLikeHex as a6, type CancelOptions as a7, type ChainConfig as a8, type ChainConfigData as a9, type ITimeoutPostRequestMessage as aA, ABI as aB, type IntentGatewayParams as aC, IntentOrderStatus as aD, type IntentOrderStatusKey as aE, type IsmpRequest as aF, MAX_DECLARED_ENTRIES as aG, type OrderResponse as aH, type OrderStatusMetadata as aI, PERMIT2_SPONSORSHIP_BYTES as aJ, type PaymentInfo as aK, type PhantomBidDeclaration as aL, type PhantomBidPaymasterAndData as aM, type PhantomBidSponsorship as aN, type PostRequestStatus as aO, type RequestBody as aP, type RequestCommitment as aQ, RequestKind as aR, type RequestResponse as aS, RequestStatus as aT, type RequestStatusKey as aU, type RpcBidInfo as aV, type SelectOptions as aW, type SigningAccount as aX, type StateMachineId as aY, type StateMachineResponse as aZ, type StorageFacade as a_, type ConfiguredAssetSymbolInput as aa, type Deployment as ab, type DispatchGet as ac, type DispatchInfo as ad, type DispatchPost as ae, type Erc4626VaultConfigData as af, type ExecuteIntentOrderOptions as ag, type ExecutionResult as ah, type FillerConfig as ai, type GetRequestResponse as aj, type GetResponseByRequestIdResponse as ak, type GetResponseStorageValues as al, type HostParams as am, HyperClientStatus as an, type IBatchConsensusAndGetResponseMessage as ao, type IBatchConsensusAndPostRequestMessage as ap, type IConfig as aq, type IConsensusMessage as ar, type IGetRequestMessage as as, type IGetResponse as at, type IGetResponseMessage as au, type IHyperbridgeConfig as av, INCLUSION_TIMEOUT_MS as aw, type IPostResponse as ax, type IRequestMessage as ay, type ISubstrateConfig as az, type IMessage as b, type TimeoutStatusKey as b0, type TokenGatewayAssetTeleportedResponse as b1, type TokenPrice as b2, type TokenPricesResponse as b3, chainConfigs as b4, convertCodecToIGetRequest as b5, convertCodecToIProof as b6, convertIGetRequestToCodec as b7, convertIProofToCodec as b8, convertStateIdToStateMachineId as b9, type FetchLike as bA, type HexString as bB, _default as bC, fetchBidsForOrder as bD, setAggregationFetch as bE, convertStateMachineEnumToString as ba, convertStateMachineIdToEnum as bb, decodeAcceptedSourceChains as bc, decodeERC7821ExecuteBatch as bd, decodePhantomBidDeclaration as be, decodePhantomBidPaymasterAndData as bf, decodeUserOpScale as bg, deriveHttpUrl as bh, encodeAcceptedSourceChains as bi, encodeERC7821ExecuteBatch as bj, encodeISMPMessage as bk, encodePhantomBidDeclaration as bl, encodePhantomBidPaymasterAndData as bm, encodeUserOpScale as bn, getChainId as bo, getConfigByStateMachineId as bp, getViemChain as bq, hyperbridgeAddress as br, pharosAtlantic as bs, pharosMainnet as bt, polkadotAssetHubPaseo as bu, polkadotHubMainnet as bv, poolSlug as bw, sortPoolSymbols as bx, tronChainIds as by, tronNile as bz, type StateMachineHeight as c, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, Chains as s, type ConfiguredAssetSymbol as t, type IntentOrderStatusUpdate as u, type SelectBidResult as v, type ResumeIntentOrderOptions as w, type CancelOrderOptions as x, type CancelQuote as y, type SubmitBidOptions as z };
|
|
@@ -2937,6 +2937,11 @@ interface SubmitBidOptions {
|
|
|
2937
2937
|
*/
|
|
2938
2938
|
paymasterAndData?: HexString$1;
|
|
2939
2939
|
}
|
|
2940
|
+
/**
|
|
2941
|
+
* The fields of a bid UserOperation that decide its `preVerificationGas`: everything the
|
|
2942
|
+
* solver signs except the signature and the `preVerificationGas` itself.
|
|
2943
|
+
*/
|
|
2944
|
+
type BidPreVerificationGasParams = Pick<SubmitBidOptions, "solverAccount" | "nonce" | "entryPointAddress" | "callGasLimit" | "verificationGasLimit" | "maxFeePerGas" | "maxPriorityFeePerGas" | "callData" | "paymasterAndData">;
|
|
2940
2945
|
interface EstimateFillOrderParams {
|
|
2941
2946
|
order: Order;
|
|
2942
2947
|
/** Positional input takes. Required with custom outputs; otherwise estimates a full fill at the order's rate. */
|
|
@@ -6844,4 +6849,4 @@ declare const _default: {
|
|
|
6844
6849
|
}];
|
|
6845
6850
|
};
|
|
6846
6851
|
|
|
6847
|
-
export { type
|
|
6852
|
+
export { type DecodedPostRequestEvent as $, type AssetTeleported as A, type PackedUserOperation as B, ChainConfigService as C, type Bid as D, type EstimateGasCallData as E, type FillerBid as F, type GetRequestWithStatus as G, type HexString$1 as H, type IChain as I, type EstimateFillOrderParams as J, type FillOrderEstimate as K, type BidPreVerificationGasParams as L, type OrderFeesQuote as M, type ERC7821Call as N, type Order as O, type PostRequestWithStatus as P, type QueryBuyAndSellRatesParams as Q, type RetryConfig as R, type StateMachineIdParams as S, type Transaction as T, type TokenInfo as U, type OrderWithStatus as V, OrderStatus as W, type FillOptions as X, type TokenGatewayAssetTeleportedWithStatus as Y, TeleportStatus as Z, type DecodedOrderPlacedLog as _, type IEvmConfig as a, TimeoutStatus as a$, type DecodedPostResponseEvent as a0, type AllStatusKey as a1, type AssetTeleportedResponse as a2, type BidStorageEntry as a3, type BidSubmissionResult as a4, type BlockMetadata as a5, type BytesLikeHex as a6, type CancelOptions as a7, type ChainConfig as a8, type ChainConfigData as a9, type ITimeoutPostRequestMessage as aA, ABI as aB, type IntentGatewayParams as aC, IntentOrderStatus as aD, type IntentOrderStatusKey as aE, type IsmpRequest as aF, MAX_DECLARED_ENTRIES as aG, type OrderResponse as aH, type OrderStatusMetadata as aI, PERMIT2_SPONSORSHIP_BYTES as aJ, type PaymentInfo as aK, type PhantomBidDeclaration as aL, type PhantomBidPaymasterAndData as aM, type PhantomBidSponsorship as aN, type PostRequestStatus as aO, type RequestBody as aP, type RequestCommitment as aQ, RequestKind as aR, type RequestResponse as aS, RequestStatus as aT, type RequestStatusKey as aU, type RpcBidInfo as aV, type SelectOptions as aW, type SigningAccount as aX, type StateMachineId as aY, type StateMachineResponse as aZ, type StorageFacade as a_, type ConfiguredAssetSymbolInput as aa, type Deployment as ab, type DispatchGet as ac, type DispatchInfo as ad, type DispatchPost as ae, type Erc4626VaultConfigData as af, type ExecuteIntentOrderOptions as ag, type ExecutionResult as ah, type FillerConfig as ai, type GetRequestResponse as aj, type GetResponseByRequestIdResponse as ak, type GetResponseStorageValues as al, type HostParams as am, HyperClientStatus as an, type IBatchConsensusAndGetResponseMessage as ao, type IBatchConsensusAndPostRequestMessage as ap, type IConfig as aq, type IConsensusMessage as ar, type IGetRequestMessage as as, type IGetResponse as at, type IGetResponseMessage as au, type IHyperbridgeConfig as av, INCLUSION_TIMEOUT_MS as aw, type IPostResponse as ax, type IRequestMessage as ay, type ISubstrateConfig as az, type IMessage as b, type TimeoutStatusKey as b0, type TokenGatewayAssetTeleportedResponse as b1, type TokenPrice as b2, type TokenPricesResponse as b3, chainConfigs as b4, convertCodecToIGetRequest as b5, convertCodecToIProof as b6, convertIGetRequestToCodec as b7, convertIProofToCodec as b8, convertStateIdToStateMachineId as b9, type FetchLike as bA, type HexString as bB, _default as bC, fetchBidsForOrder as bD, setAggregationFetch as bE, convertStateMachineEnumToString as ba, convertStateMachineIdToEnum as bb, decodeAcceptedSourceChains as bc, decodeERC7821ExecuteBatch as bd, decodePhantomBidDeclaration as be, decodePhantomBidPaymasterAndData as bf, decodeUserOpScale as bg, deriveHttpUrl as bh, encodeAcceptedSourceChains as bi, encodeERC7821ExecuteBatch as bj, encodeISMPMessage as bk, encodePhantomBidDeclaration as bl, encodePhantomBidPaymasterAndData as bm, encodeUserOpScale as bn, getChainId as bo, getConfigByStateMachineId as bp, getViemChain as bq, hyperbridgeAddress as br, pharosAtlantic as bs, pharosMainnet as bt, polkadotAssetHubPaseo as bu, polkadotHubMainnet as bv, poolSlug as bw, sortPoolSymbols as bx, tronChainIds as by, tronNile as bz, type StateMachineHeight as c, type IIsmpMessage as d, type IPostRequest as e, type IGetRequest as f, type IPolkadotHubConfig as g, type IPharosConfig as h, type StateMachineUpdate as i, type ResponseCommitmentWithValues as j, type RequestStatusWithMetadata as k, type PostRequestTimeoutStatus as l, SubstrateChain as m, type ClientConfig as n, type IndexerQueryClient as o, type IProof as p, type IEvmChain as q, IntentsCoprocessor as r, Chains as s, type ConfiguredAssetSymbol as t, type IntentOrderStatusUpdate as u, type SelectBidResult as v, type ResumeIntentOrderOptions as w, type CancelOrderOptions as x, type CancelQuote as y, type SubmitBidOptions as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bA as FetchLike, bB as HexString, bC as IntentGatewayV2, aG as MAX_DECLARED_ENTRIES, aJ as PERMIT2_SPONSORSHIP_BYTES, aL as PhantomBidDeclaration, aM as PhantomBidPaymasterAndData, aN as PhantomBidSponsorship, aV as RpcBidInfo, bc as decodeAcceptedSourceChains, bd as decodeERC7821ExecuteBatch, be as decodePhantomBidDeclaration, bf as decodePhantomBidPaymasterAndData, bg as decodeUserOpScale, bi as encodeAcceptedSourceChains, bj as encodeERC7821ExecuteBatch, bl as encodePhantomBidDeclaration, bm as encodePhantomBidPaymasterAndData, bn as encodeUserOpScale, bD as fetchBidsForOrder, bw as poolSlug, bE as setAggregationFetch, bx as sortPoolSymbols } from './intents-helpers-D0JcQNDm.cjs';
|
|
2
2
|
import 'decimal.js';
|
|
3
3
|
import 'graphql-request';
|
|
4
4
|
import 'viem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bA as FetchLike, bB as HexString, bC as IntentGatewayV2, aG as MAX_DECLARED_ENTRIES, aJ as PERMIT2_SPONSORSHIP_BYTES, aL as PhantomBidDeclaration, aM as PhantomBidPaymasterAndData, aN as PhantomBidSponsorship, aV as RpcBidInfo, bc as decodeAcceptedSourceChains, bd as decodeERC7821ExecuteBatch, be as decodePhantomBidDeclaration, bf as decodePhantomBidPaymasterAndData, bg as decodeUserOpScale, bi as encodeAcceptedSourceChains, bj as encodeERC7821ExecuteBatch, bl as encodePhantomBidDeclaration, bm as encodePhantomBidPaymasterAndData, bn as encodeUserOpScale, bD as fetchBidsForOrder, bw as poolSlug, bE as setAggregationFetch, bx as sortPoolSymbols } from './intents-helpers-D0JcQNDm.js';
|
|
2
2
|
import 'decimal.js';
|
|
3
3
|
import 'graphql-request';
|
|
4
4
|
import 'viem';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperbridge/sdk",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.19",
|
|
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",
|