@imtbl/sdk 0.17.5 → 0.18.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/dist/index.d.ts CHANGED
@@ -13138,6 +13138,27 @@ declare class JsonRpcError extends Error {
13138
13138
  constructor(code: ProviderErrorCode | RpcErrorCode, message: string);
13139
13139
  }
13140
13140
 
13141
+ interface TypedDataPayload {
13142
+ types: {
13143
+ EIP712Domain: Array<{
13144
+ name: string;
13145
+ type: string;
13146
+ }>;
13147
+ [key: string]: Array<{
13148
+ name: string;
13149
+ type: string;
13150
+ }>;
13151
+ };
13152
+ domain: {
13153
+ name?: string;
13154
+ version?: string;
13155
+ chainId?: number;
13156
+ verifyingContract?: string;
13157
+ salt?: string;
13158
+ };
13159
+ primaryType: string;
13160
+ message: Record<string, any>;
13161
+ }
13141
13162
  interface RequestArguments {
13142
13163
  method: string;
13143
13164
  params?: Array<any>;
@@ -13229,6 +13250,7 @@ declare const passport_d_ProviderEvent: typeof ProviderEvent;
13229
13250
  type passport_d_RequestArguments = RequestArguments;
13230
13251
  type passport_d_RpcErrorCode = RpcErrorCode;
13231
13252
  declare const passport_d_RpcErrorCode: typeof RpcErrorCode;
13253
+ type passport_d_TypedDataPayload = TypedDataPayload;
13232
13254
  type passport_d_UserProfile = UserProfile;
13233
13255
  declare namespace passport_d {
13234
13256
  export {
@@ -13249,6 +13271,7 @@ declare namespace passport_d {
13249
13271
  passport_d_ProviderEvent as ProviderEvent,
13250
13272
  passport_d_RequestArguments as RequestArguments,
13251
13273
  passport_d_RpcErrorCode as RpcErrorCode,
13274
+ passport_d_TypedDataPayload as TypedDataPayload,
13252
13275
  passport_d_UserProfile as UserProfile,
13253
13276
  };
13254
13277
  }
@@ -14520,6 +14543,7 @@ interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverri
14520
14543
  type RemoteConfiguration = {
14521
14544
  dex: DexConfig;
14522
14545
  onramp: OnRampConfig;
14546
+ bridge: BridgeConfig;
14523
14547
  allowedNetworks: AllowedNetworkConfig[];
14524
14548
  gasEstimateTokens?: GasEstimateTokenConfig;
14525
14549
  };
@@ -14561,6 +14585,13 @@ type DexConfig = {
14561
14585
  overrides?: ExchangeOverrides;
14562
14586
  tokens?: TokenInfo[];
14563
14587
  };
14588
+ /**
14589
+ * A type representing the configuration for the Bridge.
14590
+ * @property {TokenInfo[] | undefined} tokens - An array of tokens compatible with the Bridge.
14591
+ */
14592
+ type BridgeConfig = {
14593
+ tokens?: TokenInfo[];
14594
+ };
14564
14595
  /**
14565
14596
  * A type representing an allowed network.
14566
14597
  * @property {number} chainId - The network chain id.
@@ -29813,9 +29844,9 @@ declare enum CheckoutWidgetTagNames {
29813
29844
  */
29814
29845
  type SemanticVersion = {
29815
29846
  major: number;
29816
- minor: number;
29817
- patch: number;
29818
- prerelease: 'alpha';
29847
+ minor?: number;
29848
+ patch?: number;
29849
+ prerelease?: 'alpha';
29819
29850
  build?: number;
29820
29851
  };
29821
29852
  /**