@imtbl/sdk 1.7.3 → 1.8.1
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.js +2 -2
- package/dist/browser/checkout/BridgeWidget-85db50d2.js +1 -0
- package/dist/browser/checkout/OnRampWidget-58400404.js +1 -0
- package/dist/browser/checkout/SaleWidget-549f0f75.js +2 -0
- package/dist/browser/checkout/SpendingCapHero-24fed6d2.js +1 -0
- package/dist/browser/checkout/SwapWidget-9eecba27.js +1 -0
- package/dist/browser/checkout/TopUpView-26964a9e.js +1 -0
- package/dist/browser/checkout/WalletWidget-7e6fed9c.js +1 -0
- package/dist/browser/checkout/auto-track-da38e5a8.js +1 -0
- package/dist/browser/checkout/balance-310539bb.js +1 -0
- package/dist/browser/checkout/index-392bc434.js +1 -0
- package/dist/browser/checkout/index-3d847e0c.js +1 -0
- package/dist/browser/checkout/index-4e77760b.js +773 -0
- package/dist/browser/checkout/index-8184ffea.js +1 -0
- package/dist/browser/checkout/index-919a5df1.js +1 -0
- package/dist/browser/checkout/index-e6159023.js +1 -0
- package/dist/browser/checkout/index-eb42cd09.js +106 -0
- package/dist/browser/checkout/index.umd-c2e32802.js +1 -0
- package/dist/browser/checkout/is-plan-event-enabled-80f76ce6.js +1 -0
- package/dist/browser/checkout/retry-355e44f2.js +1 -0
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/useTransakEvents-c6a83ea5.js +2 -0
- package/dist/browser/checkout/widgets-esm.js +1 -0
- package/dist/browser/checkout/widgets.js +50 -51
- package/dist/checkout.d.ts +8 -2
- package/dist/checkout.js +65 -32
- package/dist/config.js +1 -1
- package/dist/index.browser.js +7 -7
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +228 -164
- package/dist/index.d.ts +8 -2
- package/dist/index.js +228 -164
- package/dist/orderbook.js +1 -1
- package/dist/passport.d.ts +5 -1
- package/dist/passport.js +164 -133
- package/dist/x.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28629,13 +28629,17 @@ declare class Passport {
|
|
|
28629
28629
|
*
|
|
28630
28630
|
* @param options.useCachedSession = false - If true, and no active session exists, then the user will not be
|
|
28631
28631
|
* prompted to log in and the Promise will resolve with a null value.
|
|
28632
|
+
* @param options.anonymousId - If provided, Passport internal metrics will be enriched with this value.
|
|
28632
28633
|
* @returns {Promise<UserProfile | null>} the user profile if the user is logged in, otherwise null
|
|
28633
28634
|
*/
|
|
28634
28635
|
login(options?: {
|
|
28635
28636
|
useCachedSession: boolean;
|
|
28637
|
+
anonymousId?: string;
|
|
28636
28638
|
}): Promise<UserProfile | null>;
|
|
28637
28639
|
loginCallback(): Promise<void>;
|
|
28638
|
-
loginWithDeviceFlow(
|
|
28640
|
+
loginWithDeviceFlow(options?: {
|
|
28641
|
+
anonymousId?: string;
|
|
28642
|
+
}): Promise<DeviceConnectResponse>;
|
|
28639
28643
|
loginWithDeviceFlowCallback(deviceCode: string, interval: number, timeoutMs?: number): Promise<UserProfile>;
|
|
28640
28644
|
loginWithPKCEFlow(): string;
|
|
28641
28645
|
loginWithPKCEFlowCallback(authorizationCode: string, state: string): Promise<UserProfile>;
|
|
@@ -32218,7 +32222,7 @@ type CheckoutWidgetsConfig = {
|
|
|
32218
32222
|
/**
|
|
32219
32223
|
* Represents the configuration options for instantiating the Checkout Widgets factory.
|
|
32220
32224
|
* @property {WidgetConfiguration} config - global configuration options for the widgets.
|
|
32221
|
-
* @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle
|
|
32225
|
+
* @property {SemanticVersion | undefined} version - version of the Checkout widgets bundle(default latest version will be used).
|
|
32222
32226
|
*/
|
|
32223
32227
|
type WidgetsInit = {
|
|
32224
32228
|
config: WidgetConfiguration;
|
|
@@ -32242,6 +32246,8 @@ declare class Checkout {
|
|
|
32242
32246
|
* @param {WidgetsInit} init - The initialisation parameters for loading the widgets bundle and applying configuration
|
|
32243
32247
|
*/
|
|
32244
32248
|
widgets(init: WidgetsInit): Promise<ImmutableCheckoutWidgets.WidgetsFactory>;
|
|
32249
|
+
private loadUmdBundle;
|
|
32250
|
+
private loadEsModules;
|
|
32245
32251
|
/**
|
|
32246
32252
|
* Creates a provider using the given parameters.
|
|
32247
32253
|
* @param {CreateProviderParams} params - The parameters for creating the provider.
|