@imtbl/sdk 0.27.6 → 0.27.7
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.js +2 -14
- package/dist/checkout_widgets.js +1 -1
- 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 +5 -17
- package/dist/index.js +5 -17
- package/dist/passport.js +2 -2
- package/package.json +1 -1
package/dist/checkout_sdk.js
CHANGED
|
@@ -15410,7 +15410,7 @@ const CONTRACTS_FOR_CHAIN_ID = {
|
|
|
15410
15410
|
multicall: '0xD17c98b38bA28c7eA1080317EB9AB2b9663BEd92',
|
|
15411
15411
|
coreFactory: '0x8AC26EfCbf5D700b37A27aA00E6934e6904e7B8e',
|
|
15412
15412
|
quoterV2: '0x0Afe6F5f4DC34461A801420634239FFaD50A2e44',
|
|
15413
|
-
peripheryRouter: '
|
|
15413
|
+
peripheryRouter: '0x57c73281f2697a632AEF1A48CD6ff600f49ee344',
|
|
15414
15414
|
secondaryFee: '0x5893A5c7bc615Dfd36D7383366d00FFFca5f7178',
|
|
15415
15415
|
},
|
|
15416
15416
|
};
|
|
@@ -20409,7 +20409,7 @@ class APIError extends Error {
|
|
|
20409
20409
|
|
|
20410
20410
|
/* eslint-disable implicit-arrow-linebreak */
|
|
20411
20411
|
const defaultHeaders = {
|
|
20412
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.
|
|
20412
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.7',
|
|
20413
20413
|
};
|
|
20414
20414
|
/**
|
|
20415
20415
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -24813,9 +24813,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
|
|
|
24813
24813
|
* Determines the requirements for performing a buy.
|
|
24814
24814
|
* @param {BuyParams} params - The parameters for the buy.
|
|
24815
24815
|
*/ async buy(params) {
|
|
24816
|
-
if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
|
|
24817
|
-
// eslint-disable-next-line no-console
|
|
24818
|
-
console.warn("This endpoint is currently under construction.");
|
|
24819
24816
|
if (params.orders.length > 1) // eslint-disable-next-line no-console
|
|
24820
24817
|
console.warn("This endpoint currently only processes the first order in the array.");
|
|
24821
24818
|
const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
|
|
@@ -24827,9 +24824,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
|
|
|
24827
24824
|
* Only currently actions the first order in the array until we support batch processing.
|
|
24828
24825
|
* Only currently actions the first fee in the fees array of each order until we support multiple fees.
|
|
24829
24826
|
*/ async sell(params) {
|
|
24830
|
-
if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
|
|
24831
|
-
// eslint-disable-next-line no-console
|
|
24832
|
-
console.warn("This endpoint is currently under construction.");
|
|
24833
24827
|
if (params.orders.length > 1) // eslint-disable-next-line no-console
|
|
24834
24828
|
console.warn("This endpoint currently only processes the first order in the array.");
|
|
24835
24829
|
const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
|
|
@@ -24839,9 +24833,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
|
|
|
24839
24833
|
* Cancels a sell.
|
|
24840
24834
|
* @param {CancelParams} params - The parameters for the cancel.
|
|
24841
24835
|
*/ async cancel(params) {
|
|
24842
|
-
if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
|
|
24843
|
-
// eslint-disable-next-line no-console
|
|
24844
|
-
console.warn("This endpoint is currently under construction.");
|
|
24845
24836
|
// eslint-disable-next-line no-console
|
|
24846
24837
|
console.warn("This endpoint currently only processes the first order in the array.");
|
|
24847
24838
|
const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
|
|
@@ -24851,9 +24842,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
|
|
|
24851
24842
|
* Determines the transaction requirements to complete a purchase.
|
|
24852
24843
|
* @params {SmartCheckoutParams} params - The parameters for smart checkout.
|
|
24853
24844
|
*/ async smartCheckout(params) {
|
|
24854
|
-
if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
|
|
24855
|
-
// eslint-disable-next-line no-console
|
|
24856
|
-
console.warn("This endpoint is currently under construction.");
|
|
24857
24845
|
const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
|
|
24858
24846
|
let itemRequirements = [];
|
|
24859
24847
|
try {
|
package/dist/checkout_widgets.js
CHANGED
|
@@ -25,7 +25,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
|
|
|
25
25
|
})($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.
|
|
28
|
+
const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.7";
|
|
29
29
|
const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
|
|
30
30
|
const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
|
|
31
31
|
|
|
@@ -16,7 +16,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
16
16
|
chainID,
|
|
17
17
|
coreContractAddress,
|
|
18
18
|
registrationContractAddress,
|
|
19
|
-
sdkVersion: 'ts-immutable-sdk-0.27.
|
|
19
|
+
sdkVersion: 'ts-immutable-sdk-0.27.7',
|
|
20
20
|
});
|
|
21
21
|
/**
|
|
22
22
|
* Sets `sdkVersion` at the time of build
|