@imtbl/sdk 1.47.4-alpha → 1.47.4-alpha.2
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-CbBJsalL.js → blockchain_data-CgPm4WL5.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser.index.d.ts +6 -0
- package/dist/{checkout-B7xLDjmO.js → checkout-CjKpSjmR.js} +5 -8
- package/dist/checkout.d.ts +179 -104
- package/dist/checkout.js +5 -5
- package/dist/checkout_widgets.d.ts +1 -0
- package/dist/{config-BYNJw3md.js → config-BXtXHfQn.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-d4gxVDah.js → index-BV7-TPDO.js} +1 -1
- package/dist/{index-DYxygwhG.js → index-CKYKddDO.js} +1 -1
- package/dist/{index-DvP-uJex.js → index-CyjAw8zw.js} +1 -1
- package/dist/{index-CW8ylME5.js → index-DBPf0qx4.js} +7 -6
- package/dist/{index-C42TjV84.js → index-DSMUrJvb.js} +1 -1
- package/dist/{index-DL2_Qli2.js → index-W-3MOFL6.js} +3 -3
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +10 -12
- package/dist/index.d.ts +253 -151
- package/dist/index.js +14 -14
- package/dist/{minting_backend-uIbayhXa.js → minting_backend-BORU2Kp9.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-DG-99QpD.js → orderbook-E6MgHlqQ.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-BZiTNYmZ.js → passport-Q4ja38LX.js} +3 -3
- package/dist/passport.d.ts +179 -103
- package/dist/passport.js +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/{webhook-Dku53DbA.js → webhook-Dz9ivzHM.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-DoAGu-CP.js → x-iD3L5vwX.js} +3 -3
- package/dist/x.d.ts +189 -115
- package/dist/x.js +4 -4
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -216,7 +216,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
219
|
-
const SDK_VERSION$1 = '1.47.4-alpha';
|
|
219
|
+
const SDK_VERSION$1 = '1.47.4-alpha.2';
|
|
220
220
|
const getFrameParentDomain$1 = () => {
|
|
221
221
|
if (isNode$1()) {
|
|
222
222
|
return '';
|
|
@@ -14501,7 +14501,7 @@ class MultiRollupApiClients {
|
|
|
14501
14501
|
}
|
|
14502
14502
|
|
|
14503
14503
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14504
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha' };
|
|
14504
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha.2' };
|
|
14505
14505
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14506
14506
|
if (!basePath.trim()) {
|
|
14507
14507
|
throw Error('basePath can not be empty');
|
|
@@ -14573,7 +14573,7 @@ class APIError extends Error {
|
|
|
14573
14573
|
|
|
14574
14574
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14575
14575
|
const defaultHeaders$1 = {
|
|
14576
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.4-alpha',
|
|
14576
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.4-alpha.2',
|
|
14577
14577
|
};
|
|
14578
14578
|
/**
|
|
14579
14579
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -15047,7 +15047,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
15047
15047
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
15048
15048
|
class ApiConfiguration extends index$2.Configuration {
|
|
15049
15049
|
}
|
|
15050
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha' };
|
|
15050
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.4-alpha.2' };
|
|
15051
15051
|
/**
|
|
15052
15052
|
* @dev use createImmutableXConfiguration instead
|
|
15053
15053
|
*/
|
|
@@ -15088,7 +15088,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
15088
15088
|
coreContractAddress,
|
|
15089
15089
|
registrationContractAddress,
|
|
15090
15090
|
registrationV4ContractAddress,
|
|
15091
|
-
sdkVersion: 'ts-immutable-sdk-1.47.4-alpha',
|
|
15091
|
+
sdkVersion: 'ts-immutable-sdk-1.47.4-alpha.2',
|
|
15092
15092
|
baseConfig,
|
|
15093
15093
|
});
|
|
15094
15094
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -18238,7 +18238,7 @@ class IMXClient {
|
|
|
18238
18238
|
* @param collectionAddress - the Collection contract address
|
|
18239
18239
|
* @param name - the Metadata schema name
|
|
18240
18240
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
18241
|
-
* @returns a promise that resolves with the SuccessResponse
|
|
18241
|
+
* @returns a promise that resolves with the {@link SuccessResponse}
|
|
18242
18242
|
* @throws {@link IMXError}
|
|
18243
18243
|
*/
|
|
18244
18244
|
updateMetadataSchemaByName(ethSigner, collectionAddress, name, request) {
|
|
@@ -23776,7 +23776,8 @@ class UsersApi extends index$2.UsersApi {
|
|
|
23776
23776
|
}
|
|
23777
23777
|
class WithdrawalsApi extends index$2.WithdrawalsApi {
|
|
23778
23778
|
}
|
|
23779
|
-
|
|
23779
|
+
// eslint-disable-next-line prefer-destructuring
|
|
23780
|
+
const MetadataSchemaRequestTypeEnum = index$2.MetadataSchemaRequestTypeEnum;
|
|
23780
23781
|
|
|
23781
23782
|
// used to sign message with L1 keys. Used for registration
|
|
23782
23783
|
function serializeEthSignature(sig) {
|
|
@@ -52887,7 +52888,7 @@ const flattenProperties = (properties) => {
|
|
|
52887
52888
|
};
|
|
52888
52889
|
|
|
52889
52890
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
52890
|
-
const SDK_VERSION = '1.47.4-alpha';
|
|
52891
|
+
const SDK_VERSION = '1.47.4-alpha.2';
|
|
52891
52892
|
const getFrameParentDomain = () => {
|
|
52892
52893
|
if (isNode()) {
|
|
52893
52894
|
return '';
|
|
@@ -58251,7 +58252,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
58251
58252
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
58252
58253
|
};
|
|
58253
58254
|
|
|
58254
|
-
const SDK_VERSION_MARKER = '1.47.4-alpha';
|
|
58255
|
+
const SDK_VERSION_MARKER = '1.47.4-alpha.2';
|
|
58255
58256
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
58256
58257
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
58257
58258
|
|
|
@@ -62519,9 +62520,6 @@ class Checkout {
|
|
|
62519
62520
|
onInjectedProvidersChange(listener) {
|
|
62520
62521
|
return InjectedProvidersManager.getInstance().subscribe(listener);
|
|
62521
62522
|
}
|
|
62522
|
-
clearInjectedProviders() {
|
|
62523
|
-
return InjectedProvidersManager.getInstance().clear();
|
|
62524
|
-
}
|
|
62525
62523
|
/**
|
|
62526
62524
|
* Checks if a wallet is connected to the specified provider.
|
|
62527
62525
|
* @param {CheckConnectionParams} params - The parameters for checking the wallet connection.
|