@imtbl/sdk 0.26.0 → 0.27.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/blockchain_data.js +1 -1
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +12 -32
- package/dist/checkout_sdk.js +20 -36
- package/dist/checkout_widgets.d.ts +14 -14
- package/dist/checkout_widgets.js +13 -13
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +35 -51
- package/dist/index.d.ts +69 -55
- package/dist/index.js +35 -51
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3555,7 +3555,7 @@ class MultiRollupApiClients {
|
|
|
3555
3555
|
}
|
|
3556
3556
|
|
|
3557
3557
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
3558
|
-
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
3558
|
+
const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.0' };
|
|
3559
3559
|
const createConfig = ({ basePath, headers, }) => {
|
|
3560
3560
|
if (!basePath.trim()) {
|
|
3561
3561
|
throw Error('basePath can not be empty');
|
|
@@ -3615,7 +3615,7 @@ class APIError extends Error {
|
|
|
3615
3615
|
|
|
3616
3616
|
/* eslint-disable implicit-arrow-linebreak */
|
|
3617
3617
|
const defaultHeaders = {
|
|
3618
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.
|
|
3618
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.0',
|
|
3619
3619
|
};
|
|
3620
3620
|
/**
|
|
3621
3621
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -4019,7 +4019,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4019
4019
|
chainID,
|
|
4020
4020
|
coreContractAddress,
|
|
4021
4021
|
registrationContractAddress,
|
|
4022
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
4022
|
+
sdkVersion: 'ts-immutable-sdk-0.27.0',
|
|
4023
4023
|
});
|
|
4024
4024
|
/**
|
|
4025
4025
|
* Sets `sdkVersion` at the time of build
|
|
@@ -32040,15 +32040,6 @@ const $c16168a9c28ae4fd$export$92606e71d0a264ff = async (config, ownerAddress, b
|
|
|
32040
32040
|
fundingRoutes: []
|
|
32041
32041
|
};
|
|
32042
32042
|
let priority = 0;
|
|
32043
|
-
if (bridgeFundingStep) {
|
|
32044
|
-
priority++;
|
|
32045
|
-
response.fundingRoutes.push({
|
|
32046
|
-
priority: priority,
|
|
32047
|
-
steps: [
|
|
32048
|
-
bridgeFundingStep
|
|
32049
|
-
]
|
|
32050
|
-
});
|
|
32051
|
-
}
|
|
32052
32043
|
if (swapFundingSteps.length > 0) {
|
|
32053
32044
|
priority++;
|
|
32054
32045
|
swapFundingSteps.forEach((swapFundingStep)=>{
|
|
@@ -32060,6 +32051,15 @@ const $c16168a9c28ae4fd$export$92606e71d0a264ff = async (config, ownerAddress, b
|
|
|
32060
32051
|
});
|
|
32061
32052
|
});
|
|
32062
32053
|
}
|
|
32054
|
+
if (bridgeFundingStep) {
|
|
32055
|
+
priority++;
|
|
32056
|
+
response.fundingRoutes.push({
|
|
32057
|
+
priority: priority,
|
|
32058
|
+
steps: [
|
|
32059
|
+
bridgeFundingStep
|
|
32060
|
+
]
|
|
32061
|
+
});
|
|
32062
|
+
}
|
|
32063
32063
|
if (onRampFundingStep) {
|
|
32064
32064
|
priority++;
|
|
32065
32065
|
response.fundingRoutes.push({
|
|
@@ -32107,12 +32107,10 @@ const $0e7419077c373b24$export$9e073f9ada8c81e6 = async (config, provider, itemR
|
|
|
32107
32107
|
};
|
|
32108
32108
|
const availableRoutingOptions = await ($7f2e17f026d4fc8d$export$86d9f998ddda013e)(config, provider);
|
|
32109
32109
|
const routingOutcome = await ($c16168a9c28ae4fd$export$92606e71d0a264ff)(config, ownerAddress, balanceCheckResult, availableRoutingOptions);
|
|
32110
|
-
const isPassport = provider.provider?.isPassport || false;
|
|
32111
32110
|
return {
|
|
32112
32111
|
sufficient: sufficient,
|
|
32113
32112
|
transactionRequirements: transactionRequirements,
|
|
32114
32113
|
router: {
|
|
32115
|
-
isPassport: isPassport,
|
|
32116
32114
|
availableRoutingOptions: availableRoutingOptions,
|
|
32117
32115
|
routingOutcome: routingOutcome
|
|
32118
32116
|
}
|
|
@@ -32326,7 +32324,7 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
|
|
|
32326
32324
|
let order;
|
|
32327
32325
|
let spenderAddress = "";
|
|
32328
32326
|
const gasLimit = (constants).estimatedFulfillmentGasGwei;
|
|
32329
|
-
if (orders.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orders were
|
|
32327
|
+
if (orders.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orders were provided to the orders array. Please provide at least one order.", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).FULFILL_ORDER_LISTING_ERROR);
|
|
32330
32328
|
const { id: id, takerFees: takerFees } = orders[0];
|
|
32331
32329
|
try {
|
|
32332
32330
|
orderbook = await $67fc622a2b913d5f$export$c60ce6c6a92bc2ff(config);
|
|
@@ -32402,9 +32400,7 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
|
|
|
32402
32400
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).FAILED,
|
|
32403
32401
|
transactionHash: approvalResult.transactionHash,
|
|
32404
32402
|
reason: approvalResult.reason,
|
|
32405
|
-
smartCheckoutResult:
|
|
32406
|
-
smartCheckoutResult
|
|
32407
|
-
]
|
|
32403
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32408
32404
|
};
|
|
32409
32405
|
try {
|
|
32410
32406
|
if (unsignedFulfillmentTransactions.length === 0) unsignedFulfillmentTransactions = await (0, $a7367d01c6e76b1c$export$396bd6ce7d3ab533)(orderActions);
|
|
@@ -32418,22 +32414,16 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
|
|
|
32418
32414
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).FAILED,
|
|
32419
32415
|
transactionHash: fulfillmentResult.transactionHash,
|
|
32420
32416
|
reason: fulfillmentResult.reason,
|
|
32421
|
-
smartCheckoutResult:
|
|
32422
|
-
smartCheckoutResult
|
|
32423
|
-
]
|
|
32417
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32424
32418
|
};
|
|
32425
32419
|
return {
|
|
32426
32420
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).SUCCESS,
|
|
32427
|
-
smartCheckoutResult:
|
|
32428
|
-
smartCheckoutResult
|
|
32429
|
-
]
|
|
32421
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32430
32422
|
};
|
|
32431
32423
|
}
|
|
32432
32424
|
return {
|
|
32433
32425
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).INSUFFICIENT_FUNDS,
|
|
32434
|
-
smartCheckoutResult:
|
|
32435
|
-
smartCheckoutResult
|
|
32436
|
-
]
|
|
32426
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32437
32427
|
};
|
|
32438
32428
|
};
|
|
32439
32429
|
|
|
@@ -32447,7 +32437,7 @@ const $64863c39386de592$export$7f8e2b98eca5a7f0 = async (config, provider, order
|
|
|
32447
32437
|
|
|
32448
32438
|
const $9c3db1bb9c8b69d3$export$70b61ad426ddbe54 = async (config, provider, orderIds)=>{
|
|
32449
32439
|
let unsignedCancelOrderTransaction;
|
|
32450
|
-
if (orderIds.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orderIds were
|
|
32440
|
+
if (orderIds.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orderIds were provided to the orderIds array. Please provide at least one orderId.", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).CANCEL_ORDER_LISTING_ERROR);
|
|
32451
32441
|
// Update this when bulk cancel is supported
|
|
32452
32442
|
const orderId = orderIds[0];
|
|
32453
32443
|
try {
|
|
@@ -32508,7 +32498,7 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
|
|
|
32508
32498
|
let orderbook;
|
|
32509
32499
|
let listing;
|
|
32510
32500
|
let spenderAddress = "";
|
|
32511
|
-
if (orders.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orders were
|
|
32501
|
+
if (orders.length === 0) throw new ($a8bc256d81a5e2c1$export$b722478a3cbfa3bc)("No orders were provided to the orders array. Please provide at least one order.", ($a8bc256d81a5e2c1$export$e3dc0620abde7f5a).PREPARE_ORDER_LISTING_ERROR);
|
|
32512
32502
|
const { buyToken: buyToken, sellToken: sellToken, makerFees: makerFees } = orders[0];
|
|
32513
32503
|
let decimals = 18;
|
|
32514
32504
|
if (buyToken.type === ($4b58188d47aafe8d$export$1fc8f52ad1810e52).ERC20) {
|
|
@@ -32555,9 +32545,7 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
|
|
|
32555
32545
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).FAILED,
|
|
32556
32546
|
transactionHash: approvalResult.transactionHash,
|
|
32557
32547
|
reason: approvalResult.reason,
|
|
32558
|
-
smartCheckoutResult:
|
|
32559
|
-
smartCheckoutResult
|
|
32560
|
-
]
|
|
32548
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32561
32549
|
};
|
|
32562
32550
|
const unsignedMessage = ($a7367d01c6e76b1c$export$d62081fac18000c2)(listing.orderHash, listing.orderComponents, listing.actions);
|
|
32563
32551
|
if (!unsignedMessage) // For sell it is expected the orderbook will always return an unsigned message
|
|
@@ -32594,16 +32582,12 @@ const $9085b221b72ac69e$export$e761f9e0703de895 = async (config, provider, order
|
|
|
32594
32582
|
orderIds: [
|
|
32595
32583
|
orderId
|
|
32596
32584
|
],
|
|
32597
|
-
smartCheckoutResult:
|
|
32598
|
-
smartCheckoutResult
|
|
32599
|
-
]
|
|
32585
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32600
32586
|
};
|
|
32601
32587
|
}
|
|
32602
32588
|
return {
|
|
32603
32589
|
status: ($4b58188d47aafe8d$export$de7bcda3c490bf18).INSUFFICIENT_FUNDS,
|
|
32604
|
-
smartCheckoutResult:
|
|
32605
|
-
smartCheckoutResult
|
|
32606
|
-
]
|
|
32590
|
+
smartCheckoutResult: smartCheckoutResult
|
|
32607
32591
|
};
|
|
32608
32592
|
};
|
|
32609
32593
|
|
|
@@ -32960,7 +32944,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
|
|
|
32960
32944
|
})($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
|
|
32961
32945
|
|
|
32962
32946
|
|
|
32963
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.
|
|
32947
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.0";
|
|
32964
32948
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
32965
32949
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
32966
32950
|
|
|
@@ -33094,7 +33078,7 @@ var $207ed853f11d19d5$export$5a0ace85cae72d45;
|
|
|
33094
33078
|
IMTBLWidgetEvents["IMTBL_SWAP_WIDGET_EVENT"] = "imtbl-swap-widget";
|
|
33095
33079
|
IMTBLWidgetEvents["IMTBL_BRIDGE_WIDGET_EVENT"] = "imtbl-bridge-widget";
|
|
33096
33080
|
IMTBLWidgetEvents["IMTBL_ONRAMP_WIDGET_EVENT"] = "imtbl-onramp-widget";
|
|
33097
|
-
IMTBLWidgetEvents["IMTBL_PRIMARY_REVENUE_WIDGET_EVENT"] = "imtbl-
|
|
33081
|
+
IMTBLWidgetEvents["IMTBL_PRIMARY_REVENUE_WIDGET_EVENT"] = "imtbl-sale-widget";
|
|
33098
33082
|
})($207ed853f11d19d5$export$5a0ace85cae72d45 || ($207ed853f11d19d5$export$5a0ace85cae72d45 = {}));
|
|
33099
33083
|
|
|
33100
33084
|
|
|
@@ -33134,18 +33118,18 @@ $parcel$export($53d219e7f6bf0cd6$exports, "SwapEventType", () => $53d219e7f6bf0c
|
|
|
33134
33118
|
})($53d219e7f6bf0cd6$export$140a49745ab55563 || ($53d219e7f6bf0cd6$export$140a49745ab55563 = {}));
|
|
33135
33119
|
|
|
33136
33120
|
|
|
33137
|
-
var $
|
|
33121
|
+
var $9b3189b6b155842e$exports = {};
|
|
33138
33122
|
|
|
33139
|
-
$parcel$export($
|
|
33123
|
+
$parcel$export($9b3189b6b155842e$exports, "SaleEventType", () => $9b3189b6b155842e$export$881881ffb3bd733e);
|
|
33140
33124
|
/**
|
|
33141
|
-
* Enum representing possible
|
|
33142
|
-
*/ var $
|
|
33143
|
-
(function(
|
|
33144
|
-
|
|
33145
|
-
|
|
33146
|
-
|
|
33147
|
-
|
|
33148
|
-
})($
|
|
33125
|
+
* Enum representing possible Sale Widget event types.
|
|
33126
|
+
*/ var $9b3189b6b155842e$export$881881ffb3bd733e;
|
|
33127
|
+
(function(SaleEventType) {
|
|
33128
|
+
SaleEventType["CLOSE_WIDGET"] = "close-widget";
|
|
33129
|
+
SaleEventType["SUCCESS"] = "success";
|
|
33130
|
+
SaleEventType["FAILURE"] = "failure";
|
|
33131
|
+
SaleEventType["REJECTED"] = "rejected";
|
|
33132
|
+
})($9b3189b6b155842e$export$881881ffb3bd733e || ($9b3189b6b155842e$export$881881ffb3bd733e = {}));
|
|
33149
33133
|
|
|
33150
33134
|
|
|
33151
33135
|
var $15cc9e120aa6f3bf$exports = {};
|
|
@@ -33393,7 +33377,7 @@ var checkout_widgets = /*#__PURE__*/Object.freeze({
|
|
|
33393
33377
|
get OnRampEventType () { return $d882ddc5600b1284$export$66ec39c0924078d8; },
|
|
33394
33378
|
OnRampReact: $f94f63f2c041a04c$export$9e363c61ea99bbb4,
|
|
33395
33379
|
get OrchestrationEventType () { return $ad06b030b1a3ba34$export$b80d2daf830437b9; },
|
|
33396
|
-
get
|
|
33380
|
+
get SaleEventType () { return $9b3189b6b155842e$export$881881ffb3bd733e; },
|
|
33397
33381
|
get SwapEventType () { return $53d219e7f6bf0cd6$export$140a49745ab55563; },
|
|
33398
33382
|
SwapReact: $a4fbb8e3a6aeff58$export$971e031379577f4,
|
|
33399
33383
|
UpdateConfig: $430e3eda76fa4d5f$export$bf1548ba7e61c17f,
|
package/dist/index.d.ts
CHANGED
|
@@ -15282,11 +15282,11 @@ type BuyResult = BuyResultSuccess | BuyResultFailed | BuyResultInsufficientFunds
|
|
|
15282
15282
|
/**
|
|
15283
15283
|
* Represents the result of {@link Checkout.buy}
|
|
15284
15284
|
* @property {CheckoutStatus.SUCCESS} status - The status to indicate success
|
|
15285
|
-
* @property {SmartCheckoutSufficient
|
|
15285
|
+
* @property {SmartCheckoutSufficient} smartCheckoutResult - The sufficient result of smart checkout
|
|
15286
15286
|
*/
|
|
15287
15287
|
type BuyResultSuccess = {
|
|
15288
15288
|
status: CheckoutStatus.SUCCESS;
|
|
15289
|
-
smartCheckoutResult: SmartCheckoutSufficient
|
|
15289
|
+
smartCheckoutResult: SmartCheckoutSufficient;
|
|
15290
15290
|
};
|
|
15291
15291
|
/**
|
|
15292
15292
|
* Represents the result of {@link Checkout.buy}
|
|
@@ -15299,49 +15299,49 @@ type BuyResultFailed = {
|
|
|
15299
15299
|
status: CheckoutStatus.FAILED;
|
|
15300
15300
|
transactionHash: string;
|
|
15301
15301
|
reason: string;
|
|
15302
|
-
smartCheckoutResult: SmartCheckoutSufficient
|
|
15302
|
+
smartCheckoutResult: SmartCheckoutSufficient;
|
|
15303
15303
|
};
|
|
15304
15304
|
/**
|
|
15305
15305
|
* Represents the result of {@link Checkout.buy}
|
|
15306
15306
|
* @property {CheckoutStatus.INSUFFICIENT_FUNDS} status - The status to indicate insufficient funds
|
|
15307
|
-
* @property {SmartCheckoutInsufficient
|
|
15307
|
+
* @property {SmartCheckoutInsufficient} smartCheckoutResult - The insufficient result of smart checkout
|
|
15308
15308
|
*/
|
|
15309
15309
|
type BuyResultInsufficientFunds = {
|
|
15310
15310
|
status: CheckoutStatus.INSUFFICIENT_FUNDS;
|
|
15311
|
-
smartCheckoutResult: SmartCheckoutInsufficient
|
|
15311
|
+
smartCheckoutResult: SmartCheckoutInsufficient;
|
|
15312
15312
|
};
|
|
15313
15313
|
type SellResult = SellResultSuccess | SellResultFailed | SellResultInsufficientFunds;
|
|
15314
15314
|
/**
|
|
15315
15315
|
* Represents the result of {@link Checkout.sell}
|
|
15316
15316
|
* @property {CheckoutStatus.SUCCESS} status - The status to indicate success
|
|
15317
|
-
* @property {SmartCheckoutSufficient
|
|
15317
|
+
* @property {SmartCheckoutSufficient} smartCheckoutResult - The sufficient result of smart checkout
|
|
15318
15318
|
*/
|
|
15319
15319
|
type SellResultSuccess = {
|
|
15320
15320
|
status: CheckoutStatus.SUCCESS;
|
|
15321
15321
|
orderIds: string[];
|
|
15322
|
-
smartCheckoutResult: SmartCheckoutSufficient
|
|
15322
|
+
smartCheckoutResult: SmartCheckoutSufficient;
|
|
15323
15323
|
};
|
|
15324
15324
|
/**
|
|
15325
15325
|
* Represents the result of {@link Checkout.sell}
|
|
15326
15326
|
* @property {CheckoutStatus.FAILED} status - The status to indicate failure
|
|
15327
15327
|
* @property {string} transactionHash - The transaction hash of the failed transaction
|
|
15328
15328
|
* @property {string} reason - The reason for the failure
|
|
15329
|
-
* @property {SmartCheckoutSufficient
|
|
15329
|
+
* @property {SmartCheckoutSufficient} smartCheckoutResult - The sufficient result of smart checkout
|
|
15330
15330
|
*/
|
|
15331
15331
|
type SellResultFailed = {
|
|
15332
15332
|
status: CheckoutStatus.FAILED;
|
|
15333
15333
|
transactionHash: string;
|
|
15334
15334
|
reason: string;
|
|
15335
|
-
smartCheckoutResult: SmartCheckoutSufficient
|
|
15335
|
+
smartCheckoutResult: SmartCheckoutSufficient;
|
|
15336
15336
|
};
|
|
15337
15337
|
/**
|
|
15338
15338
|
* Represents the result of {@link Checkout.sell}
|
|
15339
15339
|
* @property {CheckoutStatus.INSUFFICIENT_FUNDS} status - The status to indicate insufficient funds
|
|
15340
|
-
* @property {SmartCheckoutInsufficient
|
|
15340
|
+
* @property {SmartCheckoutInsufficient} smartCheckoutResult - The insufficient result of smart checkout
|
|
15341
15341
|
*/
|
|
15342
15342
|
type SellResultInsufficientFunds = {
|
|
15343
15343
|
status: CheckoutStatus.INSUFFICIENT_FUNDS;
|
|
15344
|
-
smartCheckoutResult: SmartCheckoutInsufficient
|
|
15344
|
+
smartCheckoutResult: SmartCheckoutInsufficient;
|
|
15345
15345
|
};
|
|
15346
15346
|
type CancelResult = CancelResultSuccess | CancelResultFailed;
|
|
15347
15347
|
/**
|
|
@@ -15576,13 +15576,11 @@ type SmartCheckoutInsufficient = {
|
|
|
15576
15576
|
};
|
|
15577
15577
|
/**
|
|
15578
15578
|
* Represents the routing outcome for a transaction.
|
|
15579
|
-
* @property {boolean} isPassport - Indicates if the provider used was a passport provider.
|
|
15580
15579
|
* @property {AvailableRoutingOptions} availableRoutingOptions - The routing options available to the user
|
|
15581
15580
|
* @property {RoutingOutcome} routingOutcome - The routing outcome for the transaction which
|
|
15582
15581
|
* includes the funding routes if routes were found
|
|
15583
15582
|
*/
|
|
15584
15583
|
type SmartCheckoutRouter = {
|
|
15585
|
-
isPassport: boolean;
|
|
15586
15584
|
availableRoutingOptions: AvailableRoutingOptions;
|
|
15587
15585
|
routingOutcome: RoutingOutcome;
|
|
15588
15586
|
};
|
|
@@ -15811,24 +15809,6 @@ type AvailableRoutingOptions = {
|
|
|
15811
15809
|
swap?: boolean;
|
|
15812
15810
|
bridge?: boolean;
|
|
15813
15811
|
};
|
|
15814
|
-
type FundingRouteFeeEstimate = SwapRouteFeeEstimate | BridgeRouteFeeEstimate;
|
|
15815
|
-
type SwapRouteFeeEstimate = {
|
|
15816
|
-
type: FundingStepType.SWAP;
|
|
15817
|
-
estimatedAmount: BigNumber;
|
|
15818
|
-
token: TokenInfo;
|
|
15819
|
-
};
|
|
15820
|
-
type BridgeRouteFeeEstimate = {
|
|
15821
|
-
type: FundingStepType.BRIDGE;
|
|
15822
|
-
gasFee: {
|
|
15823
|
-
estimatedAmount: BigNumber;
|
|
15824
|
-
token?: TokenInfo;
|
|
15825
|
-
};
|
|
15826
|
-
bridgeFee: {
|
|
15827
|
-
estimatedAmount: BigNumber;
|
|
15828
|
-
token?: TokenInfo;
|
|
15829
|
-
};
|
|
15830
|
-
totalFees: BigNumber;
|
|
15831
|
-
};
|
|
15832
15812
|
/**
|
|
15833
15813
|
* Interface representing the parameters for {@link Checkout.buy}
|
|
15834
15814
|
* @property {Web3Provider} provider - The provider to use for the buy.
|
|
@@ -16523,13 +16503,19 @@ declare class Checkout {
|
|
|
16523
16503
|
type checkout_sdk_d_AllowedNetworkConfig = AllowedNetworkConfig;
|
|
16524
16504
|
type checkout_sdk_d_AvailableRoutingOptions = AvailableRoutingOptions;
|
|
16525
16505
|
type checkout_sdk_d_BalanceDelta = BalanceDelta;
|
|
16506
|
+
type checkout_sdk_d_BridgeFundingStep = BridgeFundingStep;
|
|
16526
16507
|
type checkout_sdk_d_BuyOrder = BuyOrder;
|
|
16527
16508
|
type checkout_sdk_d_BuyParams = BuyParams;
|
|
16528
16509
|
type checkout_sdk_d_BuyResult = BuyResult;
|
|
16510
|
+
type checkout_sdk_d_BuyResultFailed = BuyResultFailed;
|
|
16511
|
+
type checkout_sdk_d_BuyResultInsufficientFunds = BuyResultInsufficientFunds;
|
|
16512
|
+
type checkout_sdk_d_BuyResultSuccess = BuyResultSuccess;
|
|
16529
16513
|
type checkout_sdk_d_BuyToken = BuyToken;
|
|
16530
16514
|
declare const checkout_sdk_d_CHECKOUT_API_BASE_URL: typeof CHECKOUT_API_BASE_URL;
|
|
16531
16515
|
type checkout_sdk_d_CancelParams = CancelParams;
|
|
16532
16516
|
type checkout_sdk_d_CancelResult = CancelResult;
|
|
16517
|
+
type checkout_sdk_d_CancelResultFailed = CancelResultFailed;
|
|
16518
|
+
type checkout_sdk_d_CancelResultSuccess = CancelResultSuccess;
|
|
16533
16519
|
type checkout_sdk_d_ChainId = ChainId;
|
|
16534
16520
|
declare const checkout_sdk_d_ChainId: typeof ChainId;
|
|
16535
16521
|
type checkout_sdk_d_ChainName = ChainName;
|
|
@@ -16547,6 +16533,7 @@ type checkout_sdk_d_ConnectParams = ConnectParams;
|
|
|
16547
16533
|
type checkout_sdk_d_ConnectResult = ConnectResult;
|
|
16548
16534
|
type checkout_sdk_d_DexConfig = DexConfig;
|
|
16549
16535
|
type checkout_sdk_d_ERC20ItemRequirement = ERC20ItemRequirement;
|
|
16536
|
+
type checkout_sdk_d_ERC721Balance = ERC721Balance;
|
|
16550
16537
|
type checkout_sdk_d_ERC721ItemRequirement = ERC721ItemRequirement;
|
|
16551
16538
|
type checkout_sdk_d_ErrorType = ErrorType;
|
|
16552
16539
|
type checkout_sdk_d_ExchangeType = ExchangeType;
|
|
@@ -16557,7 +16544,6 @@ type checkout_sdk_d_FiatRampParams = FiatRampParams;
|
|
|
16557
16544
|
type checkout_sdk_d_FulfillmentTransaction = FulfillmentTransaction;
|
|
16558
16545
|
type checkout_sdk_d_FundingItem = FundingItem;
|
|
16559
16546
|
type checkout_sdk_d_FundingRoute = FundingRoute;
|
|
16560
|
-
type checkout_sdk_d_FundingRouteFeeEstimate = FundingRouteFeeEstimate;
|
|
16561
16547
|
type checkout_sdk_d_FundingStep = FundingStep;
|
|
16562
16548
|
type checkout_sdk_d_FundingStepType = FundingStepType;
|
|
16563
16549
|
declare const checkout_sdk_d_FundingStepType: typeof FundingStepType;
|
|
@@ -16590,22 +16576,33 @@ type checkout_sdk_d_NetworkFilter = NetworkFilter;
|
|
|
16590
16576
|
type checkout_sdk_d_NetworkFilterTypes = NetworkFilterTypes;
|
|
16591
16577
|
declare const checkout_sdk_d_NetworkFilterTypes: typeof NetworkFilterTypes;
|
|
16592
16578
|
type checkout_sdk_d_NetworkInfo = NetworkInfo;
|
|
16579
|
+
type checkout_sdk_d_NoRouteOptions = NoRouteOptions;
|
|
16580
|
+
type checkout_sdk_d_NoRoutesFound = NoRoutesFound;
|
|
16581
|
+
type checkout_sdk_d_OnRampFundingStep = OnRampFundingStep;
|
|
16593
16582
|
type checkout_sdk_d_OrderFee = OrderFee;
|
|
16594
16583
|
type checkout_sdk_d_RemoteConfiguration = RemoteConfiguration;
|
|
16584
|
+
type checkout_sdk_d_RoutesFound = RoutesFound;
|
|
16595
16585
|
type checkout_sdk_d_RoutingOutcome = RoutingOutcome;
|
|
16596
16586
|
type checkout_sdk_d_RoutingOutcomeType = RoutingOutcomeType;
|
|
16597
16587
|
declare const checkout_sdk_d_RoutingOutcomeType: typeof RoutingOutcomeType;
|
|
16598
16588
|
type checkout_sdk_d_SellOrder = SellOrder;
|
|
16599
16589
|
type checkout_sdk_d_SellParams = SellParams;
|
|
16600
16590
|
type checkout_sdk_d_SellResult = SellResult;
|
|
16591
|
+
type checkout_sdk_d_SellResultFailed = SellResultFailed;
|
|
16592
|
+
type checkout_sdk_d_SellResultInsufficientFunds = SellResultInsufficientFunds;
|
|
16593
|
+
type checkout_sdk_d_SellResultSuccess = SellResultSuccess;
|
|
16601
16594
|
type checkout_sdk_d_SellToken = SellToken;
|
|
16602
16595
|
type checkout_sdk_d_SendTransactionParams = SendTransactionParams;
|
|
16603
16596
|
type checkout_sdk_d_SendTransactionResult = SendTransactionResult;
|
|
16597
|
+
type checkout_sdk_d_SmartCheckoutInsufficient = SmartCheckoutInsufficient;
|
|
16604
16598
|
type checkout_sdk_d_SmartCheckoutParams = SmartCheckoutParams;
|
|
16605
16599
|
type checkout_sdk_d_SmartCheckoutResult = SmartCheckoutResult;
|
|
16606
16600
|
type checkout_sdk_d_SmartCheckoutRouter = SmartCheckoutRouter;
|
|
16601
|
+
type checkout_sdk_d_SmartCheckoutSufficient = SmartCheckoutSufficient;
|
|
16602
|
+
type checkout_sdk_d_SwapFundingStep = SwapFundingStep;
|
|
16607
16603
|
type checkout_sdk_d_SwitchNetworkParams = SwitchNetworkParams;
|
|
16608
16604
|
type checkout_sdk_d_SwitchNetworkResult = SwitchNetworkResult;
|
|
16605
|
+
type checkout_sdk_d_TokenBalance = TokenBalance;
|
|
16609
16606
|
type checkout_sdk_d_TokenFilter = TokenFilter;
|
|
16610
16607
|
type checkout_sdk_d_TokenFilterTypes = TokenFilterTypes;
|
|
16611
16608
|
declare const checkout_sdk_d_TokenFilterTypes: typeof TokenFilterTypes;
|
|
@@ -16624,13 +16621,19 @@ declare namespace checkout_sdk_d {
|
|
|
16624
16621
|
checkout_sdk_d_AllowedNetworkConfig as AllowedNetworkConfig,
|
|
16625
16622
|
checkout_sdk_d_AvailableRoutingOptions as AvailableRoutingOptions,
|
|
16626
16623
|
checkout_sdk_d_BalanceDelta as BalanceDelta,
|
|
16624
|
+
checkout_sdk_d_BridgeFundingStep as BridgeFundingStep,
|
|
16627
16625
|
checkout_sdk_d_BuyOrder as BuyOrder,
|
|
16628
16626
|
checkout_sdk_d_BuyParams as BuyParams,
|
|
16629
16627
|
checkout_sdk_d_BuyResult as BuyResult,
|
|
16628
|
+
checkout_sdk_d_BuyResultFailed as BuyResultFailed,
|
|
16629
|
+
checkout_sdk_d_BuyResultInsufficientFunds as BuyResultInsufficientFunds,
|
|
16630
|
+
checkout_sdk_d_BuyResultSuccess as BuyResultSuccess,
|
|
16630
16631
|
checkout_sdk_d_BuyToken as BuyToken,
|
|
16631
16632
|
checkout_sdk_d_CHECKOUT_API_BASE_URL as CHECKOUT_API_BASE_URL,
|
|
16632
16633
|
checkout_sdk_d_CancelParams as CancelParams,
|
|
16633
16634
|
checkout_sdk_d_CancelResult as CancelResult,
|
|
16635
|
+
checkout_sdk_d_CancelResultFailed as CancelResultFailed,
|
|
16636
|
+
checkout_sdk_d_CancelResultSuccess as CancelResultSuccess,
|
|
16634
16637
|
checkout_sdk_d_ChainId as ChainId,
|
|
16635
16638
|
checkout_sdk_d_ChainName as ChainName,
|
|
16636
16639
|
checkout_sdk_d_CheckConnectionParams as CheckConnectionParams,
|
|
@@ -16643,6 +16646,7 @@ declare namespace checkout_sdk_d {
|
|
|
16643
16646
|
checkout_sdk_d_ConnectResult as ConnectResult,
|
|
16644
16647
|
checkout_sdk_d_DexConfig as DexConfig,
|
|
16645
16648
|
checkout_sdk_d_ERC20ItemRequirement as ERC20ItemRequirement,
|
|
16649
|
+
checkout_sdk_d_ERC721Balance as ERC721Balance,
|
|
16646
16650
|
checkout_sdk_d_ERC721ItemRequirement as ERC721ItemRequirement,
|
|
16647
16651
|
checkout_sdk_d_ErrorType as ErrorType,
|
|
16648
16652
|
checkout_sdk_d_ExchangeType as ExchangeType,
|
|
@@ -16652,7 +16656,6 @@ declare namespace checkout_sdk_d {
|
|
|
16652
16656
|
checkout_sdk_d_FulfillmentTransaction as FulfillmentTransaction,
|
|
16653
16657
|
checkout_sdk_d_FundingItem as FundingItem,
|
|
16654
16658
|
checkout_sdk_d_FundingRoute as FundingRoute,
|
|
16655
|
-
checkout_sdk_d_FundingRouteFeeEstimate as FundingRouteFeeEstimate,
|
|
16656
16659
|
checkout_sdk_d_FundingStep as FundingStep,
|
|
16657
16660
|
checkout_sdk_d_FundingStepType as FundingStepType,
|
|
16658
16661
|
checkout_sdk_d_GasAmount as GasAmount,
|
|
@@ -16680,21 +16683,32 @@ declare namespace checkout_sdk_d {
|
|
|
16680
16683
|
checkout_sdk_d_NetworkFilter as NetworkFilter,
|
|
16681
16684
|
checkout_sdk_d_NetworkFilterTypes as NetworkFilterTypes,
|
|
16682
16685
|
checkout_sdk_d_NetworkInfo as NetworkInfo,
|
|
16686
|
+
checkout_sdk_d_NoRouteOptions as NoRouteOptions,
|
|
16687
|
+
checkout_sdk_d_NoRoutesFound as NoRoutesFound,
|
|
16688
|
+
checkout_sdk_d_OnRampFundingStep as OnRampFundingStep,
|
|
16683
16689
|
checkout_sdk_d_OrderFee as OrderFee,
|
|
16684
16690
|
checkout_sdk_d_RemoteConfiguration as RemoteConfiguration,
|
|
16691
|
+
checkout_sdk_d_RoutesFound as RoutesFound,
|
|
16685
16692
|
checkout_sdk_d_RoutingOutcome as RoutingOutcome,
|
|
16686
16693
|
checkout_sdk_d_RoutingOutcomeType as RoutingOutcomeType,
|
|
16687
16694
|
checkout_sdk_d_SellOrder as SellOrder,
|
|
16688
16695
|
checkout_sdk_d_SellParams as SellParams,
|
|
16689
16696
|
checkout_sdk_d_SellResult as SellResult,
|
|
16697
|
+
checkout_sdk_d_SellResultFailed as SellResultFailed,
|
|
16698
|
+
checkout_sdk_d_SellResultInsufficientFunds as SellResultInsufficientFunds,
|
|
16699
|
+
checkout_sdk_d_SellResultSuccess as SellResultSuccess,
|
|
16690
16700
|
checkout_sdk_d_SellToken as SellToken,
|
|
16691
16701
|
checkout_sdk_d_SendTransactionParams as SendTransactionParams,
|
|
16692
16702
|
checkout_sdk_d_SendTransactionResult as SendTransactionResult,
|
|
16703
|
+
checkout_sdk_d_SmartCheckoutInsufficient as SmartCheckoutInsufficient,
|
|
16693
16704
|
checkout_sdk_d_SmartCheckoutParams as SmartCheckoutParams,
|
|
16694
16705
|
checkout_sdk_d_SmartCheckoutResult as SmartCheckoutResult,
|
|
16695
16706
|
checkout_sdk_d_SmartCheckoutRouter as SmartCheckoutRouter,
|
|
16707
|
+
checkout_sdk_d_SmartCheckoutSufficient as SmartCheckoutSufficient,
|
|
16708
|
+
checkout_sdk_d_SwapFundingStep as SwapFundingStep,
|
|
16696
16709
|
checkout_sdk_d_SwitchNetworkParams as SwitchNetworkParams,
|
|
16697
16710
|
checkout_sdk_d_SwitchNetworkResult as SwitchNetworkResult,
|
|
16711
|
+
checkout_sdk_d_TokenBalance as TokenBalance,
|
|
16698
16712
|
checkout_sdk_d_TokenFilter as TokenFilter,
|
|
16699
16713
|
checkout_sdk_d_TokenFilterTypes as TokenFilterTypes,
|
|
16700
16714
|
checkout_sdk_d_TokenInfo as TokenInfo,
|
|
@@ -31384,27 +31398,27 @@ type WalletNetworkSwitchEvent = {
|
|
|
31384
31398
|
*/
|
|
31385
31399
|
type WalletDisconnectWalletEvent = {};
|
|
31386
31400
|
/**
|
|
31387
|
-
* Enum representing possible
|
|
31401
|
+
* Enum representing possible Sale Widget event types.
|
|
31388
31402
|
*/
|
|
31389
|
-
declare enum
|
|
31403
|
+
declare enum SaleEventType {
|
|
31390
31404
|
CLOSE_WIDGET = "close-widget",
|
|
31391
31405
|
SUCCESS = "success",
|
|
31392
31406
|
FAILURE = "failure",
|
|
31393
31407
|
REJECTED = "rejected"
|
|
31394
31408
|
}
|
|
31395
31409
|
/**
|
|
31396
|
-
* Represents a successful
|
|
31410
|
+
* Represents a successful Sale transaction.
|
|
31397
31411
|
* @property {string} transactionHash - The hash of the successful transaction.
|
|
31398
31412
|
*/
|
|
31399
|
-
type
|
|
31413
|
+
type SaleSuccess = {
|
|
31400
31414
|
[key: string]: string;
|
|
31401
31415
|
};
|
|
31402
31416
|
/**
|
|
31403
|
-
* Type representing a
|
|
31417
|
+
* Type representing a Sale Widget with type FAILURE.
|
|
31404
31418
|
* @property {string} reason - The reason why the swap failed.
|
|
31405
31419
|
* @property {number} timestamp - The timestamp of the failed swap.
|
|
31406
31420
|
*/
|
|
31407
|
-
type
|
|
31421
|
+
type SaleFailed = {
|
|
31408
31422
|
reason: string;
|
|
31409
31423
|
timestamp: number;
|
|
31410
31424
|
};
|
|
@@ -31417,16 +31431,16 @@ declare enum IMTBLWidgetEvents {
|
|
|
31417
31431
|
IMTBL_SWAP_WIDGET_EVENT = "imtbl-swap-widget",
|
|
31418
31432
|
IMTBL_BRIDGE_WIDGET_EVENT = "imtbl-bridge-widget",
|
|
31419
31433
|
IMTBL_ONRAMP_WIDGET_EVENT = "imtbl-onramp-widget",
|
|
31420
|
-
IMTBL_PRIMARY_REVENUE_WIDGET_EVENT = "imtbl-
|
|
31434
|
+
IMTBL_PRIMARY_REVENUE_WIDGET_EVENT = "imtbl-sale-widget"
|
|
31421
31435
|
}
|
|
31422
31436
|
/**
|
|
31423
31437
|
* Represents an event emitted by a widget.
|
|
31424
31438
|
* @template T - The type of data associated with the event.
|
|
31425
|
-
* @property {OrchestrationEventType | ConnectEventType | WalletEventType | SwapEventType | BridgeEventType | OnRampEventType |
|
|
31439
|
+
* @property {OrchestrationEventType | ConnectEventType | WalletEventType | SwapEventType | BridgeEventType | OnRampEventType | SaleEventType} type - The type of the event.
|
|
31426
31440
|
* @property {T} data - The data associated with the event.
|
|
31427
31441
|
*/
|
|
31428
31442
|
type WidgetEvent<T> = {
|
|
31429
|
-
type: OrchestrationEventType | ConnectEventType | WalletEventType | SwapEventType | BridgeEventType | OnRampEventType |
|
|
31443
|
+
type: OrchestrationEventType | ConnectEventType | WalletEventType | SwapEventType | BridgeEventType | OnRampEventType | SaleEventType;
|
|
31430
31444
|
data: T;
|
|
31431
31445
|
};
|
|
31432
31446
|
/**
|
|
@@ -31455,7 +31469,7 @@ declare global {
|
|
|
31455
31469
|
'imtbl-swap': ImtblSwapProps;
|
|
31456
31470
|
'imtbl-bridge': ImtblBridgeProps;
|
|
31457
31471
|
'imtbl-onramp': ImtblOnRampProps;
|
|
31458
|
-
'imtbl-
|
|
31472
|
+
'imtbl-sale': ImtblSaleProps;
|
|
31459
31473
|
}
|
|
31460
31474
|
}
|
|
31461
31475
|
interface ImmutableWebComponent {
|
|
@@ -31537,9 +31551,9 @@ interface ImtblOnRampProps extends React.DetailedHTMLProps<React.HTMLAttributes<
|
|
|
31537
31551
|
contractAddress?: string;
|
|
31538
31552
|
}
|
|
31539
31553
|
/**
|
|
31540
|
-
* Interface for the properties of the
|
|
31554
|
+
* Interface for the properties of the Sale web component.
|
|
31541
31555
|
* Extends the React.DetailedHTMLProps interface to inherit HTML attributes for an HTMLElement.
|
|
31542
|
-
* @interface
|
|
31556
|
+
* @interface ImtblSaleProps
|
|
31543
31557
|
* @extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>
|
|
31544
31558
|
* @property {string | undefined} widgetConfig - Optional string representing the widget configuration.
|
|
31545
31559
|
* @property {string | undefined} amount - The amount to be paid.
|
|
@@ -31548,7 +31562,7 @@ interface ImtblOnRampProps extends React.DetailedHTMLProps<React.HTMLAttributes<
|
|
|
31548
31562
|
* @property {string | undefined} env - The environment to use: SANDBOX, DEV, PRODUCTION, ...
|
|
31549
31563
|
* @property {string | undefined} environmentId - The environment id from Immutable Hub.
|
|
31550
31564
|
*/
|
|
31551
|
-
interface
|
|
31565
|
+
interface ImtblSaleProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
31552
31566
|
widgetConfig?: string;
|
|
31553
31567
|
amount: string;
|
|
31554
31568
|
products: string;
|
|
@@ -31677,7 +31691,7 @@ declare const checkout_widgets_d_IMTBLWidgetEvents: typeof IMTBLWidgetEvents;
|
|
|
31677
31691
|
type checkout_widgets_d_ImtblBridgeProps = ImtblBridgeProps;
|
|
31678
31692
|
type checkout_widgets_d_ImtblConnectProps = ImtblConnectProps;
|
|
31679
31693
|
type checkout_widgets_d_ImtblOnRampProps = ImtblOnRampProps;
|
|
31680
|
-
type
|
|
31694
|
+
type checkout_widgets_d_ImtblSaleProps = ImtblSaleProps;
|
|
31681
31695
|
type checkout_widgets_d_ImtblSwapProps = ImtblSwapProps;
|
|
31682
31696
|
type checkout_widgets_d_ImtblWalletProps = ImtblWalletProps;
|
|
31683
31697
|
type checkout_widgets_d_OnRampEventType = OnRampEventType;
|
|
@@ -31688,15 +31702,15 @@ type checkout_widgets_d_OnRampReactProps = OnRampReactProps;
|
|
|
31688
31702
|
type checkout_widgets_d_OnRampSuccess = OnRampSuccess;
|
|
31689
31703
|
type checkout_widgets_d_OrchestrationEventType = OrchestrationEventType;
|
|
31690
31704
|
declare const checkout_widgets_d_OrchestrationEventType: typeof OrchestrationEventType;
|
|
31691
|
-
type checkout_widgets_d_PrimaryRevenueEventType = PrimaryRevenueEventType;
|
|
31692
|
-
declare const checkout_widgets_d_PrimaryRevenueEventType: typeof PrimaryRevenueEventType;
|
|
31693
|
-
type checkout_widgets_d_PrimaryRevenueFailed = PrimaryRevenueFailed;
|
|
31694
|
-
type checkout_widgets_d_PrimaryRevenueSuccess = PrimaryRevenueSuccess;
|
|
31695
31705
|
type checkout_widgets_d_RequestBridgeEvent = RequestBridgeEvent;
|
|
31696
31706
|
type checkout_widgets_d_RequestConnectEvent = RequestConnectEvent;
|
|
31697
31707
|
type checkout_widgets_d_RequestOnrampEvent = RequestOnrampEvent;
|
|
31698
31708
|
type checkout_widgets_d_RequestSwapEvent = RequestSwapEvent;
|
|
31699
31709
|
type checkout_widgets_d_RequestWalletEvent = RequestWalletEvent;
|
|
31710
|
+
type checkout_widgets_d_SaleEventType = SaleEventType;
|
|
31711
|
+
declare const checkout_widgets_d_SaleEventType: typeof SaleEventType;
|
|
31712
|
+
type checkout_widgets_d_SaleFailed = SaleFailed;
|
|
31713
|
+
type checkout_widgets_d_SaleSuccess = SaleSuccess;
|
|
31700
31714
|
type checkout_widgets_d_SemanticVersion = SemanticVersion;
|
|
31701
31715
|
type checkout_widgets_d_SwapEventType = SwapEventType;
|
|
31702
31716
|
declare const checkout_widgets_d_SwapEventType: typeof SwapEventType;
|
|
@@ -31734,7 +31748,7 @@ declare namespace checkout_widgets_d {
|
|
|
31734
31748
|
checkout_widgets_d_ImtblBridgeProps as ImtblBridgeProps,
|
|
31735
31749
|
checkout_widgets_d_ImtblConnectProps as ImtblConnectProps,
|
|
31736
31750
|
checkout_widgets_d_ImtblOnRampProps as ImtblOnRampProps,
|
|
31737
|
-
|
|
31751
|
+
checkout_widgets_d_ImtblSaleProps as ImtblSaleProps,
|
|
31738
31752
|
checkout_widgets_d_ImtblSwapProps as ImtblSwapProps,
|
|
31739
31753
|
checkout_widgets_d_ImtblWalletProps as ImtblWalletProps,
|
|
31740
31754
|
checkout_widgets_d_OnRampEventType as OnRampEventType,
|
|
@@ -31743,14 +31757,14 @@ declare namespace checkout_widgets_d {
|
|
|
31743
31757
|
checkout_widgets_d_OnRampReactProps as OnRampReactProps,
|
|
31744
31758
|
checkout_widgets_d_OnRampSuccess as OnRampSuccess,
|
|
31745
31759
|
checkout_widgets_d_OrchestrationEventType as OrchestrationEventType,
|
|
31746
|
-
checkout_widgets_d_PrimaryRevenueEventType as PrimaryRevenueEventType,
|
|
31747
|
-
checkout_widgets_d_PrimaryRevenueFailed as PrimaryRevenueFailed,
|
|
31748
|
-
checkout_widgets_d_PrimaryRevenueSuccess as PrimaryRevenueSuccess,
|
|
31749
31760
|
checkout_widgets_d_RequestBridgeEvent as RequestBridgeEvent,
|
|
31750
31761
|
checkout_widgets_d_RequestConnectEvent as RequestConnectEvent,
|
|
31751
31762
|
checkout_widgets_d_RequestOnrampEvent as RequestOnrampEvent,
|
|
31752
31763
|
checkout_widgets_d_RequestSwapEvent as RequestSwapEvent,
|
|
31753
31764
|
checkout_widgets_d_RequestWalletEvent as RequestWalletEvent,
|
|
31765
|
+
checkout_widgets_d_SaleEventType as SaleEventType,
|
|
31766
|
+
checkout_widgets_d_SaleFailed as SaleFailed,
|
|
31767
|
+
checkout_widgets_d_SaleSuccess as SaleSuccess,
|
|
31754
31768
|
checkout_widgets_d_SemanticVersion as SemanticVersion,
|
|
31755
31769
|
checkout_widgets_d_SwapEventType as SwapEventType,
|
|
31756
31770
|
checkout_widgets_d_SwapFailed as SwapFailed,
|