@imtbl/sdk 1.19.0 → 1.19.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.d.ts +0 -3
- package/dist/blockchain_data.js +26 -29
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.js +28 -31
- package/dist/config.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +31 -34
- package/dist/index.d.ts +0 -3
- package/dist/index.js +31 -34
- package/dist/orderbook.js +1 -1
- package/dist/passport.js +22 -22
- package/dist/x.js +3 -3
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
139
139
|
};
|
|
140
140
|
|
|
141
141
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
142
|
-
const SDK_VERSION$1 = '1.19.
|
|
142
|
+
const SDK_VERSION$1 = '1.19.1';
|
|
143
143
|
const getReferrer$1 = () => {
|
|
144
144
|
if (isNode$1()) {
|
|
145
145
|
return '';
|
|
@@ -17550,7 +17550,7 @@ const flattenProperties = (properties) => {
|
|
|
17550
17550
|
};
|
|
17551
17551
|
|
|
17552
17552
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
17553
|
-
const SDK_VERSION = '1.19.
|
|
17553
|
+
const SDK_VERSION = '1.19.1';
|
|
17554
17554
|
const getReferrer = () => {
|
|
17555
17555
|
if (isNode()) {
|
|
17556
17556
|
return '';
|
|
@@ -25030,8 +25030,8 @@ class NftOwnersApi extends BaseAPI {
|
|
|
25030
25030
|
const NftsApiAxiosParamCreator = function (configuration) {
|
|
25031
25031
|
return {
|
|
25032
25032
|
/**
|
|
25033
|
-
*
|
|
25034
|
-
* @summary
|
|
25033
|
+
* Create a mint request to mint a set of NFTs for a given collection
|
|
25034
|
+
* @summary Mint NFTs
|
|
25035
25035
|
* @param {string} contractAddress The address of contract
|
|
25036
25036
|
* @param {string} chainName The name of chain
|
|
25037
25037
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -25070,8 +25070,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
25070
25070
|
};
|
|
25071
25071
|
},
|
|
25072
25072
|
/**
|
|
25073
|
-
*
|
|
25074
|
-
* @summary
|
|
25073
|
+
* Retrieve the status of a mint request identified by its reference_id
|
|
25074
|
+
* @summary Get mint request by reference ID
|
|
25075
25075
|
* @param {string} contractAddress The address of contract
|
|
25076
25076
|
* @param {string} chainName The name of chain
|
|
25077
25077
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -25189,8 +25189,8 @@ const NftsApiAxiosParamCreator = function (configuration) {
|
|
|
25189
25189
|
};
|
|
25190
25190
|
},
|
|
25191
25191
|
/**
|
|
25192
|
-
*
|
|
25193
|
-
* @summary
|
|
25192
|
+
* Retrieve the status of all mints for a given contract address
|
|
25193
|
+
* @summary List mint requests
|
|
25194
25194
|
* @param {string} contractAddress The address of contract
|
|
25195
25195
|
* @param {string} chainName The name of chain
|
|
25196
25196
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -25341,8 +25341,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25341
25341
|
const localVarAxiosParamCreator = NftsApiAxiosParamCreator(configuration);
|
|
25342
25342
|
return {
|
|
25343
25343
|
/**
|
|
25344
|
-
*
|
|
25345
|
-
* @summary
|
|
25344
|
+
* Create a mint request to mint a set of NFTs for a given collection
|
|
25345
|
+
* @summary Mint NFTs
|
|
25346
25346
|
* @param {string} contractAddress The address of contract
|
|
25347
25347
|
* @param {string} chainName The name of chain
|
|
25348
25348
|
* @param {CreateMintRequestRequest} createMintRequestRequest the request body
|
|
@@ -25354,8 +25354,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25354
25354
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25355
25355
|
},
|
|
25356
25356
|
/**
|
|
25357
|
-
*
|
|
25358
|
-
* @summary
|
|
25357
|
+
* Retrieve the status of a mint request identified by its reference_id
|
|
25358
|
+
* @summary Get mint request by reference ID
|
|
25359
25359
|
* @param {string} contractAddress The address of contract
|
|
25360
25360
|
* @param {string} chainName The name of chain
|
|
25361
25361
|
* @param {string} referenceId The ID of the mint request
|
|
@@ -25394,8 +25394,8 @@ const NftsApiFp = function (configuration) {
|
|
|
25394
25394
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25395
25395
|
},
|
|
25396
25396
|
/**
|
|
25397
|
-
*
|
|
25398
|
-
* @summary
|
|
25397
|
+
* Retrieve the status of all mints for a given contract address
|
|
25398
|
+
* @summary List mint requests
|
|
25399
25399
|
* @param {string} contractAddress The address of contract
|
|
25400
25400
|
* @param {string} chainName The name of chain
|
|
25401
25401
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
@@ -25449,8 +25449,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25449
25449
|
const localVarFp = NftsApiFp(configuration);
|
|
25450
25450
|
return {
|
|
25451
25451
|
/**
|
|
25452
|
-
*
|
|
25453
|
-
* @summary
|
|
25452
|
+
* Create a mint request to mint a set of NFTs for a given collection
|
|
25453
|
+
* @summary Mint NFTs
|
|
25454
25454
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
25455
25455
|
* @param {*} [options] Override http request option.
|
|
25456
25456
|
* @throws {RequiredError}
|
|
@@ -25459,8 +25459,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25459
25459
|
return localVarFp.createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(axios, basePath));
|
|
25460
25460
|
},
|
|
25461
25461
|
/**
|
|
25462
|
-
*
|
|
25463
|
-
* @summary
|
|
25462
|
+
* Retrieve the status of a mint request identified by its reference_id
|
|
25463
|
+
* @summary Get mint request by reference ID
|
|
25464
25464
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
25465
25465
|
* @param {*} [options] Override http request option.
|
|
25466
25466
|
* @throws {RequiredError}
|
|
@@ -25489,8 +25489,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25489
25489
|
return localVarFp.listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
25490
25490
|
},
|
|
25491
25491
|
/**
|
|
25492
|
-
*
|
|
25493
|
-
* @summary
|
|
25492
|
+
* Retrieve the status of all mints for a given contract address
|
|
25493
|
+
* @summary List mint requests
|
|
25494
25494
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
25495
25495
|
* @param {*} [options] Override http request option.
|
|
25496
25496
|
* @throws {RequiredError}
|
|
@@ -25528,8 +25528,8 @@ const NftsApiFactory = function (configuration, basePath, axios) {
|
|
|
25528
25528
|
*/
|
|
25529
25529
|
class NftsApi extends BaseAPI {
|
|
25530
25530
|
/**
|
|
25531
|
-
*
|
|
25532
|
-
* @summary
|
|
25531
|
+
* Create a mint request to mint a set of NFTs for a given collection
|
|
25532
|
+
* @summary Mint NFTs
|
|
25533
25533
|
* @param {NftsApiCreateMintRequestRequest} requestParameters Request parameters.
|
|
25534
25534
|
* @param {*} [options] Override http request option.
|
|
25535
25535
|
* @throws {RequiredError}
|
|
@@ -25539,8 +25539,8 @@ class NftsApi extends BaseAPI {
|
|
|
25539
25539
|
return NftsApiFp(this.configuration).createMintRequest(requestParameters.contractAddress, requestParameters.chainName, requestParameters.createMintRequestRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25540
25540
|
}
|
|
25541
25541
|
/**
|
|
25542
|
-
*
|
|
25543
|
-
* @summary
|
|
25542
|
+
* Retrieve the status of a mint request identified by its reference_id
|
|
25543
|
+
* @summary Get mint request by reference ID
|
|
25544
25544
|
* @param {NftsApiGetMintRequestRequest} requestParameters Request parameters.
|
|
25545
25545
|
* @param {*} [options] Override http request option.
|
|
25546
25546
|
* @throws {RequiredError}
|
|
@@ -25572,8 +25572,8 @@ class NftsApi extends BaseAPI {
|
|
|
25572
25572
|
return NftsApiFp(this.configuration).listAllNFTs(requestParameters.chainName, requestParameters.fromUpdatedAt, requestParameters.pageCursor, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
25573
25573
|
}
|
|
25574
25574
|
/**
|
|
25575
|
-
*
|
|
25576
|
-
* @summary
|
|
25575
|
+
* Retrieve the status of all mints for a given contract address
|
|
25576
|
+
* @summary List mint requests
|
|
25577
25577
|
* @param {NftsApiListMintRequestsRequest} requestParameters Request parameters.
|
|
25578
25578
|
* @param {*} [options] Override http request option.
|
|
25579
25579
|
* @throws {RequiredError}
|
|
@@ -28036,7 +28036,7 @@ class APIError extends Error {
|
|
|
28036
28036
|
|
|
28037
28037
|
/* eslint-disable implicit-arrow-linebreak */
|
|
28038
28038
|
const defaultHeaders = {
|
|
28039
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.
|
|
28039
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.19.1',
|
|
28040
28040
|
};
|
|
28041
28041
|
/**
|
|
28042
28042
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -28304,7 +28304,6 @@ class BlockchainData {
|
|
|
28304
28304
|
}
|
|
28305
28305
|
/**
|
|
28306
28306
|
* Create a mint request to mint a set of NFTs for a given collection
|
|
28307
|
-
* @experimental
|
|
28308
28307
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28309
28308
|
* @returns a promise that resolves with the remaining rate limits
|
|
28310
28309
|
* @throws {@link index.APIError}
|
|
@@ -28319,7 +28318,6 @@ class BlockchainData {
|
|
|
28319
28318
|
}
|
|
28320
28319
|
/**
|
|
28321
28320
|
* List all mint requests for a given contract address
|
|
28322
|
-
* @experimental
|
|
28323
28321
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28324
28322
|
* @returns a promise that resolves with a list of mint requests
|
|
28325
28323
|
* @throws {@link index.APIError}
|
|
@@ -28334,7 +28332,6 @@ class BlockchainData {
|
|
|
28334
28332
|
}
|
|
28335
28333
|
/**
|
|
28336
28334
|
* Retrieve the status of a single mint request identified by its reference ID
|
|
28337
|
-
* @experimental
|
|
28338
28335
|
* @param request - the request object containing the parameters to be provided in the API request
|
|
28339
28336
|
* @returns a promise that resolves with a single mint request
|
|
28340
28337
|
* @throws {@link index.APIError}
|
|
@@ -29470,7 +29467,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
29470
29467
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
29471
29468
|
};
|
|
29472
29469
|
|
|
29473
|
-
const SDK_VERSION_MARKER = '1.19.
|
|
29470
|
+
const SDK_VERSION_MARKER = '1.19.1';
|
|
29474
29471
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
29475
29472
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
29476
29473
|
|
package/dist/config.js
CHANGED
|
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
131
|
-
const SDK_VERSION = '1.19.
|
|
131
|
+
const SDK_VERSION = '1.19.1';
|
|
132
132
|
const getReferrer = () => {
|
|
133
133
|
if (isNode()) {
|
|
134
134
|
return '';
|