@imtbl/sdk 0.45.2 → 0.45.3-alpha
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/blockchain_data.d.ts +2 -2
- package/dist/blockchain_data.js +239 -1
- package/dist/browser/checkout/sdk.js +6 -6
- package/dist/browser/checkout/widgets.js +61 -61
- package/dist/checkout.d.ts +5 -3
- package/dist/checkout.js +913 -19
- package/dist/config.d.ts +2 -2
- package/dist/config.js +265 -0
- package/dist/index.browser.js +12 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +920 -21
- package/dist/index.d.ts +5 -3
- package/dist/index.js +920 -21
- package/dist/orderbook.d.ts +2 -2
- package/dist/orderbook.js +238 -0
- package/dist/passport.d.ts +2 -2
- package/dist/passport.js +240 -2
- package/dist/x.d.ts +2 -2
- package/dist/x.js +240 -2
- package/package.json +1 -1
package/dist/checkout.d.ts
CHANGED
|
@@ -10117,9 +10117,9 @@ type ImmutableConfigurationWithRequireableFields<T> = ImmutableConfiguration & (
|
|
|
10117
10117
|
} ? Required<{
|
|
10118
10118
|
publishableKey: string;
|
|
10119
10119
|
}> : {});
|
|
10120
|
-
type ImmutableConfigurationWithOmitableFields<T> =
|
|
10120
|
+
type ImmutableConfigurationWithOmitableFields<T> = T extends {
|
|
10121
10121
|
apiKey: 'omit';
|
|
10122
|
-
} ? Omit<ImmutableConfigurationWithRequireableFields<T>, 'apiKey'> : ImmutableConfigurationWithRequireableFields<T
|
|
10122
|
+
} ? Omit<ImmutableConfigurationWithRequireableFields<T>, 'apiKey'> : ImmutableConfigurationWithRequireableFields<T>;
|
|
10123
10123
|
interface ModuleConfiguration<T> {
|
|
10124
10124
|
baseConfig: ImmutableConfigurationWithOmitableFields<T>;
|
|
10125
10125
|
overrides?: T;
|
|
@@ -22518,9 +22518,11 @@ type ChainTokensConfig = {
|
|
|
22518
22518
|
/**
|
|
22519
22519
|
* Interface representing the params of {@link Checkout.connect}.
|
|
22520
22520
|
* @property {Web3Provider} provider - The provider used to connect to the network.
|
|
22521
|
+
* @property {boolean | undefined} requestWalletPermissions - A boolean that will trigger a permission request for wallet connection.
|
|
22521
22522
|
*/
|
|
22522
22523
|
interface ConnectParams {
|
|
22523
22524
|
provider: Web3Provider;
|
|
22525
|
+
requestWalletPermissions?: boolean;
|
|
22524
22526
|
}
|
|
22525
22527
|
/**
|
|
22526
22528
|
* Interface representing the result of {@link Checkout.connect}.
|
|
@@ -22538,7 +22540,7 @@ interface CheckConnectionParams {
|
|
|
22538
22540
|
}
|
|
22539
22541
|
/**
|
|
22540
22542
|
* Interface representing the result of {@link Checkout.checkIsWalletConnected}.
|
|
22541
|
-
* @property {boolean} isConnected - A boolean indicating the connection status of
|
|
22543
|
+
* @property {boolean} isConnected - A boolean indicating the connection status of the Web3 provider.
|
|
22542
22544
|
* @property {string} walletAddress - The wallet address used to check the connection.
|
|
22543
22545
|
*/
|
|
22544
22546
|
interface CheckConnectionResult {
|