@imtbl/sdk 0.30.5 → 0.31.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
@@ -15905,7 +15905,7 @@ declare namespace provider_d {
15905
15905
  */
15906
15906
  declare enum ChainId {
15907
15907
  IMTBL_ZKEVM_MAINNET = 13371,
15908
- IMTBL_ZKEVM_TESTNET = 13472,
15908
+ IMTBL_ZKEVM_TESTNET = 13473,
15909
15909
  IMTBL_ZKEVM_DEVNET = 13433,
15910
15910
  ETHEREUM = 1,
15911
15911
  SEPOLIA = 11155111
@@ -16732,17 +16732,38 @@ type ExchangeOverrides = {
16732
16732
 
16733
16733
  interface CheckoutOverrides {
16734
16734
  }
16735
+ interface CheckoutFeatureConfiguration {
16736
+ enable: boolean;
16737
+ }
16738
+ /**
16739
+ * A type representing the on-ramp configurations for the checkout SDK.
16740
+ * @property {boolean} enable - To enable on-ramp feature in Checkout sdk.
16741
+ */
16742
+ interface CheckoutOnRampConfiguration extends CheckoutFeatureConfiguration {
16743
+ }
16744
+ /**
16745
+ * A type representing the swap configurations for the checkout SDK.
16746
+ * @property {boolean} enable - To enable swap feature in Checkout sdk.
16747
+ */
16748
+ interface CheckoutSwapConfiguration extends CheckoutFeatureConfiguration {
16749
+ }
16750
+ /**
16751
+ * A type representing the bridge configurations for the checkout SDK.
16752
+ * @property {boolean} enable - To enable bridge feature in Checkout sdk.
16753
+ */
16754
+ interface CheckoutBridgeConfiguration extends CheckoutFeatureConfiguration {
16755
+ }
16735
16756
  /**
16736
16757
  * A type representing checkout SDK configurations.
16737
- * @property {boolean} isOnRampEnabled - To enable on-ramp feature in Checkout sdk.
16738
- * @property {boolean} isSwapEnabled - To enable swap feature in Checkout sdk.
16739
- * @property {boolean} isBridgeEnabled - To enable bridge feature in Checkout sdk.
16740
- * @property {Passport} passport - To enable passport wallet with Checkout sdk.
16758
+ * @property {CheckoutOnRampConfiguration} onRamp - To configure the on-ramp feature.
16759
+ * @property {CheckoutSwapConfiguration} swap - To configure the swap feature.
16760
+ * @property {CheckoutBridgeConfiguration} bridge - To configure the bridge feature.
16761
+ * @property {Passport} passport - To enable passport wallet integration.
16741
16762
  */
16742
16763
  interface CheckoutModuleConfiguration extends ModuleConfiguration<CheckoutOverrides> {
16743
- isOnRampEnabled?: boolean;
16744
- isSwapEnabled?: boolean;
16745
- isBridgeEnabled?: boolean;
16764
+ onRamp?: CheckoutOnRampConfiguration;
16765
+ swap?: CheckoutSwapConfiguration;
16766
+ bridge?: CheckoutBridgeConfiguration;
16746
16767
  passport?: Passport;
16747
16768
  }
16748
16769
  /**
@@ -18243,13 +18264,16 @@ type checkout_sdk_d_CheckConnectionParams = CheckConnectionParams;
18243
18264
  type checkout_sdk_d_CheckConnectionResult = CheckConnectionResult;
18244
18265
  type checkout_sdk_d_Checkout = Checkout;
18245
18266
  declare const checkout_sdk_d_Checkout: typeof Checkout;
18267
+ type checkout_sdk_d_CheckoutBridgeConfiguration = CheckoutBridgeConfiguration;
18246
18268
  type checkout_sdk_d_CheckoutConfiguration = CheckoutConfiguration;
18247
18269
  declare const checkout_sdk_d_CheckoutConfiguration: typeof CheckoutConfiguration;
18248
18270
  type checkout_sdk_d_CheckoutErrorType = CheckoutErrorType;
18249
18271
  declare const checkout_sdk_d_CheckoutErrorType: typeof CheckoutErrorType;
18250
18272
  type checkout_sdk_d_CheckoutModuleConfiguration = CheckoutModuleConfiguration;
18273
+ type checkout_sdk_d_CheckoutOnRampConfiguration = CheckoutOnRampConfiguration;
18251
18274
  type checkout_sdk_d_CheckoutStatus = CheckoutStatus;
18252
18275
  declare const checkout_sdk_d_CheckoutStatus: typeof CheckoutStatus;
18276
+ type checkout_sdk_d_CheckoutSwapConfiguration = CheckoutSwapConfiguration;
18253
18277
  type checkout_sdk_d_CheckoutWidgetsConfig = CheckoutWidgetsConfig;
18254
18278
  type checkout_sdk_d_ConnectEventType = ConnectEventType;
18255
18279
  declare const checkout_sdk_d_ConnectEventType: typeof ConnectEventType;
@@ -18433,10 +18457,13 @@ declare namespace checkout_sdk_d {
18433
18457
  checkout_sdk_d_CheckConnectionParams as CheckConnectionParams,
18434
18458
  checkout_sdk_d_CheckConnectionResult as CheckConnectionResult,
18435
18459
  checkout_sdk_d_Checkout as Checkout,
18460
+ checkout_sdk_d_CheckoutBridgeConfiguration as CheckoutBridgeConfiguration,
18436
18461
  checkout_sdk_d_CheckoutConfiguration as CheckoutConfiguration,
18437
18462
  checkout_sdk_d_CheckoutErrorType as CheckoutErrorType,
18438
18463
  checkout_sdk_d_CheckoutModuleConfiguration as CheckoutModuleConfiguration,
18464
+ checkout_sdk_d_CheckoutOnRampConfiguration as CheckoutOnRampConfiguration,
18439
18465
  checkout_sdk_d_CheckoutStatus as CheckoutStatus,
18466
+ checkout_sdk_d_CheckoutSwapConfiguration as CheckoutSwapConfiguration,
18440
18467
  checkout_sdk_d_CheckoutWidgetsConfig as CheckoutWidgetsConfig,
18441
18468
  checkout_sdk_d_ConnectEventType as ConnectEventType,
18442
18469
  checkout_sdk_d_ConnectParams as ConnectParams,