@imtbl/sdk 1.78.3 → 1.78.4
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-DZwc2fu2.js → blockchain_data-PTGoxxUk.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-hN4Oz8Ns.js → AddTokensWidget-B9bjgGFL.js} +3 -3
- package/dist/browser/checkout/{BridgeWidget-A_pLUANI.js → BridgeWidget-1JpgUJ9B.js} +6 -6
- package/dist/browser/checkout/{CommerceWidget-BoKaAY5y.js → CommerceWidget-DGTwB2pR.js} +13 -13
- package/dist/browser/checkout/{FeesBreakdown-Cnmi6JuS.js → FeesBreakdown-CSf772jM.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-CYqTRHSC.js → OnRampWidget-DD2u_4kS.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-DIW0k6AY.js → SaleWidget-BKXRdb-F.js} +10 -10
- package/dist/browser/checkout/{SpendingCapHero-Dp3KVsiY.js → SpendingCapHero-Dfpj4gVQ.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CO4Ks4Im.js → SwapWidget-CapNhDxH.js} +68 -11
- package/dist/browser/checkout/{TokenImage-BNq0SnBY.js → TokenImage-cuy99Q3z.js} +1 -1
- package/dist/browser/checkout/{TopUpView-CHsQmxQQ.js → TopUpView-DSHHu1bC.js} +1 -1
- package/dist/browser/checkout/{WalletApproveHero-Bj4aKxP9.js → WalletApproveHero-DNP71VT8.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-BsKIkdBf.js → WalletWidget-D5CQtFOw.js} +3 -3
- package/dist/browser/checkout/{auto-track-BM5HqFI3.js → auto-track-ZSD3meU5.js} +1 -1
- package/dist/browser/checkout/{index-D9AyMqDS.js → index-B3PdDan9.js} +1 -1
- package/dist/browser/checkout/{index-D-MV_CPF.js → index-BUjxwhbn.js} +1 -1
- package/dist/browser/checkout/{index-Cp7l-bwg.js → index-DwoF2xE9.js} +1 -1
- package/dist/browser/checkout/{index-DubSxoZp.js → index-UWwEBJUL.js} +1 -1
- package/dist/browser/checkout/{index-DatkoxOH.js → index-a9WCTqrO.js} +1 -1
- package/dist/browser/checkout/{index-D0Nv1xcY.js → index-gx60kT98.js} +1 -1
- package/dist/browser/checkout/{index-CNJ98XFR.js → index-riGT8jUx.js} +2 -2
- package/dist/browser/checkout/{index-BDZfw_Cp.js → index-zhSt3pns.js} +35 -27
- package/dist/browser/checkout/{index.umd-Dyg-Hme-.js → index.umd-CR1xvgEn.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-WSD1wTJp.js → useInterval-0yXsNl1l.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +78 -13
- package/dist/{checkout-D85H2UOr.js → checkout-oPpuXY4L.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-DRAyKVu-.js → config-BWfb83cE.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CCDv6Cyl.js → index-Bl7On7mL.js} +1 -1
- package/dist/{index-0O2fcy0v.js → index-Bw8fn1Wa.js} +1 -1
- package/dist/{index-BNliR-wj.js → index-CSoPbsbu.js} +3 -3
- package/dist/{index-CylHn7jn.js → index-DicbPhj8.js} +4 -4
- package/dist/{index-CyF8Dbrm.js → index-PHKSQRIK.js} +1 -1
- package/dist/{index-DcwsoYMg.js → index-Q-ssUIWm.js} +97 -16
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +103 -22
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -14
- package/dist/{minting_backend-DeDeOgv8.js → minting_backend--5_apAXv.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-DeNPn-Ds.js → orderbook-BgsCWy3W.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-KAsDtSFi.js → passport-0-rakGej.js} +3 -3
- package/dist/passport.d.ts +1 -1
- package/dist/passport.js +4 -4
- package/dist/version.json +1 -1
- package/dist/{webhook-BMfjDENm.js → webhook-8wr5kAkj.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-DYmEE5xd.js → x-BzOMkL8a.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -7424,6 +7424,9 @@ const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
|
7424
7424
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
7425
7425
|
const localVarHeaderParameter = {};
|
|
7426
7426
|
const localVarQueryParameter = {};
|
|
7427
|
+
// authentication BearerAuthWithClient required
|
|
7428
|
+
// http bearer authentication required
|
|
7429
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
7427
7430
|
// authentication ImmutableApiKey required
|
|
7428
7431
|
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
7429
7432
|
// authentication BearerAuth required
|
|
@@ -9004,13 +9007,14 @@ const MetadataSearchApiAxiosParamCreator = function (configuration) {
|
|
|
9004
9007
|
* @param {boolean} [onlyIfHasActiveListings] Filters results to include only stacks that have a current active listing. False and \'null\' return all unfiltered stacks.
|
|
9005
9008
|
* @param {string} [traits] JSON encoded traits to filter by. e.g. encodeURIComponent(JSON.stringify({\"rarity\": {\"values\": [\"common\", \"rare\"], \"condition\": \"eq\"}}))
|
|
9006
9009
|
* @param {string} [keyword] Keyword to search NFT name and description. Alphanumeric characters only.
|
|
9010
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'
|
|
9007
9011
|
* @param {SearchStacksSortByEnum} [sortBy] Sort results in a specific order
|
|
9008
9012
|
* @param {number} [pageSize] Number of results to return per page
|
|
9009
9013
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
9010
9014
|
* @param {*} [options] Override http request option.
|
|
9011
9015
|
* @throws {RequiredError}
|
|
9012
9016
|
*/
|
|
9013
|
-
searchStacks: async (chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options = {}) => {
|
|
9017
|
+
searchStacks: async (chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options = {}) => {
|
|
9014
9018
|
// verify required parameter 'chainName' is not null or undefined
|
|
9015
9019
|
assertParamExists('searchStacks', 'chainName', chainName);
|
|
9016
9020
|
// verify required parameter 'contractAddress' is not null or undefined
|
|
@@ -9044,6 +9048,9 @@ const MetadataSearchApiAxiosParamCreator = function (configuration) {
|
|
|
9044
9048
|
if (keyword !== undefined) {
|
|
9045
9049
|
localVarQueryParameter['keyword'] = keyword;
|
|
9046
9050
|
}
|
|
9051
|
+
if (paymentToken !== undefined) {
|
|
9052
|
+
localVarQueryParameter['payment_token'] = paymentToken;
|
|
9053
|
+
}
|
|
9047
9054
|
if (sortBy !== undefined) {
|
|
9048
9055
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
9049
9056
|
}
|
|
@@ -9109,14 +9116,15 @@ const MetadataSearchApiFp = function (configuration) {
|
|
|
9109
9116
|
* @param {boolean} [onlyIfHasActiveListings] Filters results to include only stacks that have a current active listing. False and \'null\' return all unfiltered stacks.
|
|
9110
9117
|
* @param {string} [traits] JSON encoded traits to filter by. e.g. encodeURIComponent(JSON.stringify({\"rarity\": {\"values\": [\"common\", \"rare\"], \"condition\": \"eq\"}}))
|
|
9111
9118
|
* @param {string} [keyword] Keyword to search NFT name and description. Alphanumeric characters only.
|
|
9119
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'
|
|
9112
9120
|
* @param {SearchStacksSortByEnum} [sortBy] Sort results in a specific order
|
|
9113
9121
|
* @param {number} [pageSize] Number of results to return per page
|
|
9114
9122
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
9115
9123
|
* @param {*} [options] Override http request option.
|
|
9116
9124
|
* @throws {RequiredError}
|
|
9117
9125
|
*/
|
|
9118
|
-
async searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options) {
|
|
9119
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, sortBy, pageSize, pageCursor, options);
|
|
9126
|
+
async searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options) {
|
|
9127
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchStacks(chainName, contractAddress, accountAddress, onlyIncludeOwnerListings, onlyIfHasActiveListings, traits, keyword, paymentToken, sortBy, pageSize, pageCursor, options);
|
|
9120
9128
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9121
9129
|
},
|
|
9122
9130
|
};
|
|
@@ -9156,7 +9164,7 @@ const MetadataSearchApiFactory = function (configuration, basePath, axios) {
|
|
|
9156
9164
|
* @throws {RequiredError}
|
|
9157
9165
|
*/
|
|
9158
9166
|
searchStacks(requestParameters, options) {
|
|
9159
|
-
return localVarFp.searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
9167
|
+
return localVarFp.searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.paymentToken, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
9160
9168
|
},
|
|
9161
9169
|
};
|
|
9162
9170
|
};
|
|
@@ -9198,7 +9206,7 @@ class MetadataSearchApi extends BaseAPI {
|
|
|
9198
9206
|
* @memberof MetadataSearchApi
|
|
9199
9207
|
*/
|
|
9200
9208
|
searchStacks(requestParameters, options) {
|
|
9201
|
-
return MetadataSearchApiFp(this.configuration).searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
9209
|
+
return MetadataSearchApiFp(this.configuration).searchStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.accountAddress, requestParameters.onlyIncludeOwnerListings, requestParameters.onlyIfHasActiveListings, requestParameters.traits, requestParameters.keyword, requestParameters.paymentToken, requestParameters.sortBy, requestParameters.pageSize, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
9202
9210
|
}
|
|
9203
9211
|
}
|
|
9204
9212
|
/**
|
|
@@ -11470,6 +11478,37 @@ const PassportApiAxiosParamCreator = function (configuration) {
|
|
|
11470
11478
|
options: localVarRequestOptions,
|
|
11471
11479
|
};
|
|
11472
11480
|
},
|
|
11481
|
+
/**
|
|
11482
|
+
* Get passport metadata related to a user
|
|
11483
|
+
* @summary Get passport metadata related to a user
|
|
11484
|
+
* @param {string} userId The user\'s userId
|
|
11485
|
+
* @param {*} [options] Override http request option.
|
|
11486
|
+
* @throws {RequiredError}
|
|
11487
|
+
*/
|
|
11488
|
+
getUserMetadata: async (userId, options = {}) => {
|
|
11489
|
+
// verify required parameter 'userId' is not null or undefined
|
|
11490
|
+
assertParamExists('getUserMetadata', 'userId', userId);
|
|
11491
|
+
const localVarPath = `/passport-mr/v1/users/{user_id}/metadata`
|
|
11492
|
+
.replace(`{${"user_id"}}`, encodeURIComponent(String(userId)));
|
|
11493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11495
|
+
let baseOptions;
|
|
11496
|
+
if (configuration) {
|
|
11497
|
+
baseOptions = configuration.baseOptions;
|
|
11498
|
+
}
|
|
11499
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11500
|
+
const localVarHeaderParameter = {};
|
|
11501
|
+
const localVarQueryParameter = {};
|
|
11502
|
+
// authentication ImmutableApiKey required
|
|
11503
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-immutable-api-key", configuration);
|
|
11504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11505
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11506
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11507
|
+
return {
|
|
11508
|
+
url: toPathString(localVarUrlObj),
|
|
11509
|
+
options: localVarRequestOptions,
|
|
11510
|
+
};
|
|
11511
|
+
},
|
|
11473
11512
|
};
|
|
11474
11513
|
};
|
|
11475
11514
|
/**
|
|
@@ -11540,6 +11579,17 @@ const PassportApiFp = function (configuration) {
|
|
|
11540
11579
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getTypedDataMetadata(chainName, getTypedDataMetadataRequest, options);
|
|
11541
11580
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11542
11581
|
},
|
|
11582
|
+
/**
|
|
11583
|
+
* Get passport metadata related to a user
|
|
11584
|
+
* @summary Get passport metadata related to a user
|
|
11585
|
+
* @param {string} userId The user\'s userId
|
|
11586
|
+
* @param {*} [options] Override http request option.
|
|
11587
|
+
* @throws {RequiredError}
|
|
11588
|
+
*/
|
|
11589
|
+
async getUserMetadata(userId, options) {
|
|
11590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getUserMetadata(userId, options);
|
|
11591
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11592
|
+
},
|
|
11543
11593
|
};
|
|
11544
11594
|
};
|
|
11545
11595
|
/**
|
|
@@ -11601,6 +11651,16 @@ const PassportApiFactory = function (configuration, basePath, axios) {
|
|
|
11601
11651
|
getTypedDataMetadata(requestParameters, options) {
|
|
11602
11652
|
return localVarFp.getTypedDataMetadata(requestParameters.chainName, requestParameters.getTypedDataMetadataRequest, options).then((request) => request(axios, basePath));
|
|
11603
11653
|
},
|
|
11654
|
+
/**
|
|
11655
|
+
* Get passport metadata related to a user
|
|
11656
|
+
* @summary Get passport metadata related to a user
|
|
11657
|
+
* @param {PassportApiGetUserMetadataRequest} requestParameters Request parameters.
|
|
11658
|
+
* @param {*} [options] Override http request option.
|
|
11659
|
+
* @throws {RequiredError}
|
|
11660
|
+
*/
|
|
11661
|
+
getUserMetadata(requestParameters, options) {
|
|
11662
|
+
return localVarFp.getUserMetadata(requestParameters.userId, options).then((request) => request(axios, basePath));
|
|
11663
|
+
},
|
|
11604
11664
|
};
|
|
11605
11665
|
};
|
|
11606
11666
|
/**
|
|
@@ -11667,6 +11727,17 @@ class PassportApi extends BaseAPI {
|
|
|
11667
11727
|
getTypedDataMetadata(requestParameters, options) {
|
|
11668
11728
|
return PassportApiFp(this.configuration).getTypedDataMetadata(requestParameters.chainName, requestParameters.getTypedDataMetadataRequest, options).then((request) => request(this.axios, this.basePath));
|
|
11669
11729
|
}
|
|
11730
|
+
/**
|
|
11731
|
+
* Get passport metadata related to a user
|
|
11732
|
+
* @summary Get passport metadata related to a user
|
|
11733
|
+
* @param {PassportApiGetUserMetadataRequest} requestParameters Request parameters.
|
|
11734
|
+
* @param {*} [options] Override http request option.
|
|
11735
|
+
* @throws {RequiredError}
|
|
11736
|
+
* @memberof PassportApi
|
|
11737
|
+
*/
|
|
11738
|
+
getUserMetadata(requestParameters, options) {
|
|
11739
|
+
return PassportApiFp(this.configuration).getUserMetadata(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
|
|
11740
|
+
}
|
|
11670
11741
|
}
|
|
11671
11742
|
|
|
11672
11743
|
/* tslint:disable */
|
|
@@ -11862,11 +11933,12 @@ const PricingApiAxiosParamCreator = function (configuration) {
|
|
|
11862
11933
|
* @param {string} chainName The name of chain
|
|
11863
11934
|
* @param {string} contractAddress Contract address for collection that these token ids are on
|
|
11864
11935
|
* @param {Array<string>} tokenId List of token ids to get pricing data for
|
|
11936
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'.
|
|
11865
11937
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
11866
11938
|
* @param {*} [options] Override http request option.
|
|
11867
11939
|
* @throws {RequiredError}
|
|
11868
11940
|
*/
|
|
11869
|
-
quotesForNFTs: async (chainName, contractAddress, tokenId, pageCursor, options = {}) => {
|
|
11941
|
+
quotesForNFTs: async (chainName, contractAddress, tokenId, paymentToken, pageCursor, options = {}) => {
|
|
11870
11942
|
// verify required parameter 'chainName' is not null or undefined
|
|
11871
11943
|
assertParamExists('quotesForNFTs', 'chainName', chainName);
|
|
11872
11944
|
// verify required parameter 'contractAddress' is not null or undefined
|
|
@@ -11888,6 +11960,9 @@ const PricingApiAxiosParamCreator = function (configuration) {
|
|
|
11888
11960
|
if (tokenId) {
|
|
11889
11961
|
localVarQueryParameter['token_id'] = tokenId;
|
|
11890
11962
|
}
|
|
11963
|
+
if (paymentToken !== undefined) {
|
|
11964
|
+
localVarQueryParameter['payment_token'] = paymentToken;
|
|
11965
|
+
}
|
|
11891
11966
|
if (pageCursor !== undefined) {
|
|
11892
11967
|
localVarQueryParameter['page_cursor'] = pageCursor;
|
|
11893
11968
|
}
|
|
@@ -11905,11 +11980,12 @@ const PricingApiAxiosParamCreator = function (configuration) {
|
|
|
11905
11980
|
* @param {string} chainName The name of chain
|
|
11906
11981
|
* @param {string} contractAddress Contract address for collection that these stacks are on
|
|
11907
11982
|
* @param {Array<string>} stackId List of stack ids to get pricing data for
|
|
11983
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'.
|
|
11908
11984
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
11909
11985
|
* @param {*} [options] Override http request option.
|
|
11910
11986
|
* @throws {RequiredError}
|
|
11911
11987
|
*/
|
|
11912
|
-
quotesForStacks: async (chainName, contractAddress, stackId, pageCursor, options = {}) => {
|
|
11988
|
+
quotesForStacks: async (chainName, contractAddress, stackId, paymentToken, pageCursor, options = {}) => {
|
|
11913
11989
|
// verify required parameter 'chainName' is not null or undefined
|
|
11914
11990
|
assertParamExists('quotesForStacks', 'chainName', chainName);
|
|
11915
11991
|
// verify required parameter 'contractAddress' is not null or undefined
|
|
@@ -11931,6 +12007,9 @@ const PricingApiAxiosParamCreator = function (configuration) {
|
|
|
11931
12007
|
if (stackId) {
|
|
11932
12008
|
localVarQueryParameter['stack_id'] = stackId;
|
|
11933
12009
|
}
|
|
12010
|
+
if (paymentToken !== undefined) {
|
|
12011
|
+
localVarQueryParameter['payment_token'] = paymentToken;
|
|
12012
|
+
}
|
|
11934
12013
|
if (pageCursor !== undefined) {
|
|
11935
12014
|
localVarQueryParameter['page_cursor'] = pageCursor;
|
|
11936
12015
|
}
|
|
@@ -11957,12 +12036,13 @@ const PricingApiFp = function (configuration) {
|
|
|
11957
12036
|
* @param {string} chainName The name of chain
|
|
11958
12037
|
* @param {string} contractAddress Contract address for collection that these token ids are on
|
|
11959
12038
|
* @param {Array<string>} tokenId List of token ids to get pricing data for
|
|
12039
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'.
|
|
11960
12040
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
11961
12041
|
* @param {*} [options] Override http request option.
|
|
11962
12042
|
* @throws {RequiredError}
|
|
11963
12043
|
*/
|
|
11964
|
-
async quotesForNFTs(chainName, contractAddress, tokenId, pageCursor, options) {
|
|
11965
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForNFTs(chainName, contractAddress, tokenId, pageCursor, options);
|
|
12044
|
+
async quotesForNFTs(chainName, contractAddress, tokenId, paymentToken, pageCursor, options) {
|
|
12045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForNFTs(chainName, contractAddress, tokenId, paymentToken, pageCursor, options);
|
|
11966
12046
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11967
12047
|
},
|
|
11968
12048
|
/**
|
|
@@ -11971,12 +12051,13 @@ const PricingApiFp = function (configuration) {
|
|
|
11971
12051
|
* @param {string} chainName The name of chain
|
|
11972
12052
|
* @param {string} contractAddress Contract address for collection that these stacks are on
|
|
11973
12053
|
* @param {Array<string>} stackId List of stack ids to get pricing data for
|
|
12054
|
+
* @param {string} [paymentToken] Filters the active listings, bids, floor listing and top bid by the specified payment token, either the address of the payment token contract or \'NATIVE\'.
|
|
11974
12055
|
* @param {string} [pageCursor] Encoded page cursor to retrieve previous or next page. Use the value returned in the response.
|
|
11975
12056
|
* @param {*} [options] Override http request option.
|
|
11976
12057
|
* @throws {RequiredError}
|
|
11977
12058
|
*/
|
|
11978
|
-
async quotesForStacks(chainName, contractAddress, stackId, pageCursor, options) {
|
|
11979
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForStacks(chainName, contractAddress, stackId, pageCursor, options);
|
|
12059
|
+
async quotesForStacks(chainName, contractAddress, stackId, paymentToken, pageCursor, options) {
|
|
12060
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.quotesForStacks(chainName, contractAddress, stackId, paymentToken, pageCursor, options);
|
|
11980
12061
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
11981
12062
|
},
|
|
11982
12063
|
};
|
|
@@ -11996,7 +12077,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
|
|
|
11996
12077
|
* @throws {RequiredError}
|
|
11997
12078
|
*/
|
|
11998
12079
|
quotesForNFTs(requestParameters, options) {
|
|
11999
|
-
return localVarFp.quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
12080
|
+
return localVarFp.quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
12000
12081
|
},
|
|
12001
12082
|
/**
|
|
12002
12083
|
* Get pricing data for a list of stack ids
|
|
@@ -12006,7 +12087,7 @@ const PricingApiFactory = function (configuration, basePath, axios) {
|
|
|
12006
12087
|
* @throws {RequiredError}
|
|
12007
12088
|
*/
|
|
12008
12089
|
quotesForStacks(requestParameters, options) {
|
|
12009
|
-
return localVarFp.quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
12090
|
+
return localVarFp.quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(axios, basePath));
|
|
12010
12091
|
},
|
|
12011
12092
|
};
|
|
12012
12093
|
};
|
|
@@ -12026,7 +12107,7 @@ class PricingApi extends BaseAPI {
|
|
|
12026
12107
|
* @memberof PricingApi
|
|
12027
12108
|
*/
|
|
12028
12109
|
quotesForNFTs(requestParameters, options) {
|
|
12029
|
-
return PricingApiFp(this.configuration).quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
12110
|
+
return PricingApiFp(this.configuration).quotesForNFTs(requestParameters.chainName, requestParameters.contractAddress, requestParameters.tokenId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
12030
12111
|
}
|
|
12031
12112
|
/**
|
|
12032
12113
|
* Get pricing data for a list of stack ids
|
|
@@ -12037,7 +12118,7 @@ class PricingApi extends BaseAPI {
|
|
|
12037
12118
|
* @memberof PricingApi
|
|
12038
12119
|
*/
|
|
12039
12120
|
quotesForStacks(requestParameters, options) {
|
|
12040
|
-
return PricingApiFp(this.configuration).quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
12121
|
+
return PricingApiFp(this.configuration).quotesForStacks(requestParameters.chainName, requestParameters.contractAddress, requestParameters.stackId, requestParameters.paymentToken, requestParameters.pageCursor, options).then((request) => request(this.axios, this.basePath));
|
|
12041
12122
|
}
|
|
12042
12123
|
}
|
|
12043
12124
|
|
|
@@ -14336,7 +14417,7 @@ class MultiRollupApiClients {
|
|
|
14336
14417
|
}
|
|
14337
14418
|
|
|
14338
14419
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14339
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.
|
|
14420
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.4' };
|
|
14340
14421
|
const createConfig = ({ basePath, headers, }) => {
|
|
14341
14422
|
if (!basePath.trim()) {
|
|
14342
14423
|
throw Error('basePath can not be empty');
|