@imtbl/sdk 0.41.1 → 0.42.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
@@ -15561,10 +15561,6 @@ type UserProfile = {
15561
15561
  nickname?: string;
15562
15562
  sub: string;
15563
15563
  };
15564
- declare enum Networks {
15565
- PRODUCTION = "mainnet",
15566
- SANDBOX = "sepolia"
15567
- }
15568
15564
  interface OidcConfiguration {
15569
15565
  clientId: string;
15570
15566
  logoutRedirectUri?: string;
@@ -15574,7 +15570,6 @@ interface OidcConfiguration {
15574
15570
  audience?: string;
15575
15571
  }
15576
15572
  interface PassportOverrides {
15577
- network: Networks;
15578
15573
  authenticationDomain: string;
15579
15574
  magicPublishableApiKey: string;
15580
15575
  magicProviderId: string;
@@ -15745,8 +15740,6 @@ declare const passport_d_JsonRpcError: typeof JsonRpcError;
15745
15740
  type passport_d_JsonRpcRequestCallback = JsonRpcRequestCallback;
15746
15741
  type passport_d_JsonRpcRequestPayload = JsonRpcRequestPayload;
15747
15742
  type passport_d_JsonRpcResponsePayload = JsonRpcResponsePayload;
15748
- type passport_d_Networks = Networks;
15749
- declare const passport_d_Networks: typeof Networks;
15750
15743
  type passport_d_Passport = Passport;
15751
15744
  declare const passport_d_Passport: typeof Passport;
15752
15745
  type passport_d_PassportError = PassportError;
@@ -15770,7 +15763,6 @@ declare namespace passport_d {
15770
15763
  passport_d_JsonRpcRequestCallback as JsonRpcRequestCallback,
15771
15764
  passport_d_JsonRpcRequestPayload as JsonRpcRequestPayload,
15772
15765
  passport_d_JsonRpcResponsePayload as JsonRpcResponsePayload,
15773
- passport_d_Networks as Networks,
15774
15766
  passport_d_Passport as Passport,
15775
15767
  passport_d_PassportError as PassportError,
15776
15768
  passport_d_PassportModuleConfiguration as PassportModuleConfiguration,
@@ -17768,6 +17760,16 @@ type ExchangeContracts = {
17768
17760
  swapRouter: string;
17769
17761
  immutableSwapProxy: string;
17770
17762
  };
17763
+ /**
17764
+ * Type representing the secondary fees for a swap
17765
+ * @property {string} recipient - The fee recipient address
17766
+ * @property {number} basisPoints - The fee percentage in basis points
17767
+ * @example 100 basis points = 1%
17768
+ */
17769
+ type SecondaryFee = {
17770
+ recipient: string;
17771
+ basisPoints: number;
17772
+ };
17771
17773
  /**
17772
17774
  * Type representing an ERC20 token
17773
17775
  * @property {string} type - The token type, used to discriminate between {@link ERC20} and {@link Native}
@@ -17927,6 +17929,8 @@ type DexConfig = {
17927
17929
  overrides?: ExchangeOverrides;
17928
17930
  /** An array of tokens compatible with the DEX. */
17929
17931
  tokens?: TokenInfo[];
17932
+ /** An array of secondary fees to be applied to swaps */
17933
+ secondaryFees?: SecondaryFee[];
17930
17934
  };
17931
17935
  /**
17932
17936
  * A type representing the configuration for the Bridge for all the supported chains.