@imtbl/sdk 1.26.2-alpha.2 → 1.26.3
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 +58 -2
- package/dist/blockchain_data.js +158 -108
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/checkout.d.ts +30 -95
- package/dist/checkout.js +160 -110
- package/dist/config.js +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +195 -138
- package/dist/index.d.ts +88 -97
- package/dist/index.js +195 -138
- package/dist/orderbook.js +1 -1
- package/dist/passport.d.ts +30 -95
- package/dist/passport.js +45 -118
- package/dist/x.d.ts +30 -95
- package/dist/x.js +24 -24
- package/package.json +1 -1
package/dist/x.d.ts
CHANGED
|
@@ -4932,12 +4932,6 @@ interface GetPrimarySaleOKBody {
|
|
|
4932
4932
|
* @interface Project
|
|
4933
4933
|
*/
|
|
4934
4934
|
interface Project {
|
|
4935
|
-
/**
|
|
4936
|
-
* API key for the project. This is only for zkevm project. This API is not for increasing rate limit yet.
|
|
4937
|
-
* @type {string}
|
|
4938
|
-
* @memberof Project
|
|
4939
|
-
*/
|
|
4940
|
-
'api_key'?: string;
|
|
4941
4935
|
/**
|
|
4942
4936
|
* The project ChainType
|
|
4943
4937
|
* @type {string}
|
|
@@ -4945,73 +4939,13 @@ interface Project {
|
|
|
4945
4939
|
*/
|
|
4946
4940
|
'chain_type'?: string;
|
|
4947
4941
|
/**
|
|
4948
|
-
* The
|
|
4949
|
-
* @type {string}
|
|
4950
|
-
* @memberof Project
|
|
4951
|
-
*/
|
|
4952
|
-
'collection_limit_expires_at': string;
|
|
4953
|
-
/**
|
|
4954
|
-
* The total monthly collection limit
|
|
4955
|
-
* @type {number}
|
|
4956
|
-
* @memberof Project
|
|
4957
|
-
*/
|
|
4958
|
-
'collection_monthly_limit': number;
|
|
4959
|
-
/**
|
|
4960
|
-
* The number of collection remaining in the current period
|
|
4961
|
-
* @type {number}
|
|
4962
|
-
* @memberof Project
|
|
4963
|
-
*/
|
|
4964
|
-
'collection_remaining': number;
|
|
4965
|
-
/**
|
|
4966
|
-
* The company name
|
|
4967
|
-
* @type {string}
|
|
4968
|
-
* @memberof Project
|
|
4969
|
-
*/
|
|
4970
|
-
'company_name': string;
|
|
4971
|
-
/**
|
|
4972
|
-
* The project contact email (must be registered as a developer account with Immutable at https://hub.immutable.com)
|
|
4942
|
+
* The project group ID
|
|
4973
4943
|
* @type {string}
|
|
4974
4944
|
* @memberof Project
|
|
4975
4945
|
*/
|
|
4976
|
-
'
|
|
4977
|
-
/**
|
|
4978
|
-
* The environment ID
|
|
4979
|
-
* @type {string}
|
|
4980
|
-
* @memberof Project
|
|
4981
|
-
*/
|
|
4982
|
-
'environment_id'?: string;
|
|
4983
|
-
/**
|
|
4984
|
-
* The user environment name correlating to this project
|
|
4985
|
-
* @type {string}
|
|
4986
|
-
* @memberof Project
|
|
4987
|
-
*/
|
|
4988
|
-
'environment_name'?: string;
|
|
4989
|
-
/**
|
|
4990
|
-
* The project ID
|
|
4991
|
-
* @type {number}
|
|
4992
|
-
* @memberof Project
|
|
4993
|
-
*/
|
|
4994
|
-
'id': number;
|
|
4995
|
-
/**
|
|
4996
|
-
* The current period expiry date for mint operation limit
|
|
4997
|
-
* @type {string}
|
|
4998
|
-
* @memberof Project
|
|
4999
|
-
*/
|
|
5000
|
-
'mint_limit_expires_at': string;
|
|
5001
|
-
/**
|
|
5002
|
-
* The total monthly mint operation limit
|
|
5003
|
-
* @type {number}
|
|
5004
|
-
* @memberof Project
|
|
5005
|
-
*/
|
|
5006
|
-
'mint_monthly_limit': number;
|
|
5007
|
-
/**
|
|
5008
|
-
* The number of mint operation remaining in the current period
|
|
5009
|
-
* @type {number}
|
|
5010
|
-
* @memberof Project
|
|
5011
|
-
*/
|
|
5012
|
-
'mint_remaining': number;
|
|
4946
|
+
'id': string;
|
|
5013
4947
|
/**
|
|
5014
|
-
* The project name
|
|
4948
|
+
* The project group name
|
|
5015
4949
|
* @type {string}
|
|
5016
4950
|
* @memberof Project
|
|
5017
4951
|
*/
|
|
@@ -5022,24 +4956,6 @@ interface Project {
|
|
|
5022
4956
|
* @memberof Project
|
|
5023
4957
|
*/
|
|
5024
4958
|
'org_id'?: string;
|
|
5025
|
-
/**
|
|
5026
|
-
* Project group id
|
|
5027
|
-
* @type {string}
|
|
5028
|
-
* @memberof Project
|
|
5029
|
-
*/
|
|
5030
|
-
'project_group_id'?: string;
|
|
5031
|
-
/**
|
|
5032
|
-
* The public publishable_key for the project
|
|
5033
|
-
* @type {string}
|
|
5034
|
-
* @memberof Project
|
|
5035
|
-
*/
|
|
5036
|
-
'publishable_key'?: string;
|
|
5037
|
-
/**
|
|
5038
|
-
* The public publishable_key created time
|
|
5039
|
-
* @type {string}
|
|
5040
|
-
* @memberof Project
|
|
5041
|
-
*/
|
|
5042
|
-
'publishable_key_created_at'?: string;
|
|
5043
4959
|
}
|
|
5044
4960
|
|
|
5045
4961
|
/**
|
|
@@ -6462,7 +6378,7 @@ interface GetSignableWithdrawalResponseV2 {
|
|
|
6462
6378
|
*/
|
|
6463
6379
|
'asset_id': string;
|
|
6464
6380
|
/**
|
|
6465
|
-
*
|
|
6381
|
+
* Expiration timestamp for this withdrawal
|
|
6466
6382
|
* @type {number}
|
|
6467
6383
|
* @memberof GetSignableWithdrawalResponseV2
|
|
6468
6384
|
*/
|
|
@@ -6763,6 +6679,25 @@ interface ListDepositsResponse {
|
|
|
6763
6679
|
*/
|
|
6764
6680
|
type MintToken = Token;
|
|
6765
6681
|
|
|
6682
|
+
/**
|
|
6683
|
+
* Immutable X API
|
|
6684
|
+
* Immutable X API
|
|
6685
|
+
*
|
|
6686
|
+
* The version of the OpenAPI document: 3.0.0
|
|
6687
|
+
* Contact: support@immutable.com
|
|
6688
|
+
*
|
|
6689
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6690
|
+
* https://openapi-generator.tech
|
|
6691
|
+
* Do not edit the class manually.
|
|
6692
|
+
*/
|
|
6693
|
+
|
|
6694
|
+
/**
|
|
6695
|
+
* @type MintTokenOAIGen
|
|
6696
|
+
* Details of the asset which has been minted
|
|
6697
|
+
* @export
|
|
6698
|
+
*/
|
|
6699
|
+
type MintTokenOAIGen = MintToken;
|
|
6700
|
+
|
|
6766
6701
|
/**
|
|
6767
6702
|
* Immutable X API
|
|
6768
6703
|
* Immutable X API
|
|
@@ -6801,10 +6736,10 @@ interface Mint {
|
|
|
6801
6736
|
'timestamp': string;
|
|
6802
6737
|
/**
|
|
6803
6738
|
*
|
|
6804
|
-
* @type {
|
|
6739
|
+
* @type {MintTokenOAIGen}
|
|
6805
6740
|
* @memberof Mint
|
|
6806
6741
|
*/
|
|
6807
|
-
'token':
|
|
6742
|
+
'token': MintTokenOAIGen;
|
|
6808
6743
|
/**
|
|
6809
6744
|
* Sequential ID of transaction in Immutable X
|
|
6810
6745
|
* @type {number}
|
|
@@ -12456,8 +12391,8 @@ interface WithdrawalsApiListWithdrawalsRequest$1 {
|
|
|
12456
12391
|
*/
|
|
12457
12392
|
declare class WithdrawalsApi$1 extends BaseAPI {
|
|
12458
12393
|
/**
|
|
12459
|
-
* Creates a withdrawal. Use https://docs.x.immutable.com/reference
|
|
12460
|
-
* @summary Creates a withdrawal
|
|
12394
|
+
* Creates a withdrawal. Use https://docs.x.immutable.com/reference/#/operations/getSignableWithdrawal to get request body params. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/createWithdrawalV2.
|
|
12395
|
+
* @summary Creates a withdrawal
|
|
12461
12396
|
* @param {WithdrawalsApiCreateWithdrawalRequest} requestParameters Request parameters.
|
|
12462
12397
|
* @param {*} [options] Override http request option.
|
|
12463
12398
|
* @throws {RequiredError}
|
|
@@ -12465,8 +12400,8 @@ declare class WithdrawalsApi$1 extends BaseAPI {
|
|
|
12465
12400
|
*/
|
|
12466
12401
|
createWithdrawal(requestParameters: WithdrawalsApiCreateWithdrawalRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateWithdrawalResponse, any>>;
|
|
12467
12402
|
/**
|
|
12468
|
-
* Creates a withdrawal. Use https://docs.
|
|
12469
|
-
* @summary Creates a withdrawal of a token for
|
|
12403
|
+
* Creates a withdrawal. Use https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2 to get request body params.
|
|
12404
|
+
* @summary Creates a withdrawal of a token for when StarkEx contract that is higher than v3
|
|
12470
12405
|
* @param {WithdrawalsApiCreateWithdrawalV2Request} requestParameters Request parameters.
|
|
12471
12406
|
* @param {*} [options] Override http request option.
|
|
12472
12407
|
* @throws {RequiredError}
|
|
@@ -12474,7 +12409,7 @@ declare class WithdrawalsApi$1 extends BaseAPI {
|
|
|
12474
12409
|
*/
|
|
12475
12410
|
createWithdrawalV2(requestParameters: WithdrawalsApiCreateWithdrawalV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<CreateWithdrawalResponse, any>>;
|
|
12476
12411
|
/**
|
|
12477
|
-
* Gets details of a signable withdrawal
|
|
12412
|
+
* Gets details of a signable withdrawal. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2.
|
|
12478
12413
|
* @summary Gets details of a signable withdrawal
|
|
12479
12414
|
* @param {WithdrawalsApiGetSignableWithdrawalRequest} requestParameters Request parameters.
|
|
12480
12415
|
* @param {*} [options] Override http request option.
|
package/dist/x.js
CHANGED
|
@@ -31,7 +31,7 @@ import detectEthereumProvider from '@metamask/detect-provider';
|
|
|
31
31
|
*/
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
34
|
-
const BASE_PATH$1 = "https://api.
|
|
34
|
+
const BASE_PATH$1 = "https://api.immutable.com".replace(/\/+$/, "");
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @export
|
|
@@ -6334,8 +6334,8 @@ let UsersApi$1 = class UsersApi extends BaseAPI$1 {
|
|
|
6334
6334
|
const WithdrawalsApiAxiosParamCreator = function (configuration) {
|
|
6335
6335
|
return {
|
|
6336
6336
|
/**
|
|
6337
|
-
* Creates a withdrawal. Use https://docs.x.immutable.com/reference
|
|
6338
|
-
* @summary Creates a withdrawal
|
|
6337
|
+
* Creates a withdrawal. Use https://docs.x.immutable.com/reference/#/operations/getSignableWithdrawal to get request body params. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/createWithdrawalV2.
|
|
6338
|
+
* @summary Creates a withdrawal
|
|
6339
6339
|
* @param {string} xImxEthAddress eth address
|
|
6340
6340
|
* @param {string} xImxEthSignature eth signature
|
|
6341
6341
|
* @param {CreateWithdrawalRequest} createWithdrawalRequest create a withdrawal
|
|
@@ -6376,8 +6376,8 @@ const WithdrawalsApiAxiosParamCreator = function (configuration) {
|
|
|
6376
6376
|
};
|
|
6377
6377
|
},
|
|
6378
6378
|
/**
|
|
6379
|
-
* Creates a withdrawal. Use https://docs.
|
|
6380
|
-
* @summary Creates a withdrawal of a token for
|
|
6379
|
+
* Creates a withdrawal. Use https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2 to get request body params.
|
|
6380
|
+
* @summary Creates a withdrawal of a token for when StarkEx contract that is higher than v3
|
|
6381
6381
|
* @param {string} xImxEthAddress eth address
|
|
6382
6382
|
* @param {string} xImxEthSignature eth signature
|
|
6383
6383
|
* @param {CreateWithdrawalRequestV2} createWithdrawalRequestV2 create a withdrawal
|
|
@@ -6418,7 +6418,7 @@ const WithdrawalsApiAxiosParamCreator = function (configuration) {
|
|
|
6418
6418
|
};
|
|
6419
6419
|
},
|
|
6420
6420
|
/**
|
|
6421
|
-
* Gets details of a signable withdrawal
|
|
6421
|
+
* Gets details of a signable withdrawal. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2.
|
|
6422
6422
|
* @summary Gets details of a signable withdrawal
|
|
6423
6423
|
* @param {GetSignableWithdrawalRequest} getSignableWithdrawalRequest get details of signable withdrawal
|
|
6424
6424
|
* @param {*} [options] Override http request option.
|
|
@@ -6613,8 +6613,8 @@ const WithdrawalsApiFp = function (configuration) {
|
|
|
6613
6613
|
const localVarAxiosParamCreator = WithdrawalsApiAxiosParamCreator(configuration);
|
|
6614
6614
|
return {
|
|
6615
6615
|
/**
|
|
6616
|
-
* Creates a withdrawal. Use https://docs.x.immutable.com/reference
|
|
6617
|
-
* @summary Creates a withdrawal
|
|
6616
|
+
* Creates a withdrawal. Use https://docs.x.immutable.com/reference/#/operations/getSignableWithdrawal to get request body params. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/createWithdrawalV2.
|
|
6617
|
+
* @summary Creates a withdrawal
|
|
6618
6618
|
* @param {string} xImxEthAddress eth address
|
|
6619
6619
|
* @param {string} xImxEthSignature eth signature
|
|
6620
6620
|
* @param {CreateWithdrawalRequest} createWithdrawalRequest create a withdrawal
|
|
@@ -6626,8 +6626,8 @@ const WithdrawalsApiFp = function (configuration) {
|
|
|
6626
6626
|
return createRequestFunction$1(localVarAxiosArgs, globalAxios, BASE_PATH$1, configuration);
|
|
6627
6627
|
},
|
|
6628
6628
|
/**
|
|
6629
|
-
* Creates a withdrawal. Use https://docs.
|
|
6630
|
-
* @summary Creates a withdrawal of a token for
|
|
6629
|
+
* Creates a withdrawal. Use https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2 to get request body params.
|
|
6630
|
+
* @summary Creates a withdrawal of a token for when StarkEx contract that is higher than v3
|
|
6631
6631
|
* @param {string} xImxEthAddress eth address
|
|
6632
6632
|
* @param {string} xImxEthSignature eth signature
|
|
6633
6633
|
* @param {CreateWithdrawalRequestV2} createWithdrawalRequestV2 create a withdrawal
|
|
@@ -6639,7 +6639,7 @@ const WithdrawalsApiFp = function (configuration) {
|
|
|
6639
6639
|
return createRequestFunction$1(localVarAxiosArgs, globalAxios, BASE_PATH$1, configuration);
|
|
6640
6640
|
},
|
|
6641
6641
|
/**
|
|
6642
|
-
* Gets details of a signable withdrawal
|
|
6642
|
+
* Gets details of a signable withdrawal. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2.
|
|
6643
6643
|
* @summary Gets details of a signable withdrawal
|
|
6644
6644
|
* @param {GetSignableWithdrawalRequest} getSignableWithdrawalRequest get details of signable withdrawal
|
|
6645
6645
|
* @param {*} [options] Override http request option.
|
|
@@ -6709,8 +6709,8 @@ const WithdrawalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6709
6709
|
const localVarFp = WithdrawalsApiFp(configuration);
|
|
6710
6710
|
return {
|
|
6711
6711
|
/**
|
|
6712
|
-
* Creates a withdrawal. Use https://docs.x.immutable.com/reference
|
|
6713
|
-
* @summary Creates a withdrawal
|
|
6712
|
+
* Creates a withdrawal. Use https://docs.x.immutable.com/reference/#/operations/getSignableWithdrawal to get request body params. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/createWithdrawalV2.
|
|
6713
|
+
* @summary Creates a withdrawal
|
|
6714
6714
|
* @param {string} xImxEthAddress eth address
|
|
6715
6715
|
* @param {string} xImxEthSignature eth signature
|
|
6716
6716
|
* @param {CreateWithdrawalRequest} createWithdrawalRequest create a withdrawal
|
|
@@ -6721,8 +6721,8 @@ const WithdrawalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6721
6721
|
return localVarFp.createWithdrawal(xImxEthAddress, xImxEthSignature, createWithdrawalRequest, options).then((request) => request(axios, basePath));
|
|
6722
6722
|
},
|
|
6723
6723
|
/**
|
|
6724
|
-
* Creates a withdrawal. Use https://docs.
|
|
6725
|
-
* @summary Creates a withdrawal of a token for
|
|
6724
|
+
* Creates a withdrawal. Use https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2 to get request body params.
|
|
6725
|
+
* @summary Creates a withdrawal of a token for when StarkEx contract that is higher than v3
|
|
6726
6726
|
* @param {string} xImxEthAddress eth address
|
|
6727
6727
|
* @param {string} xImxEthSignature eth signature
|
|
6728
6728
|
* @param {CreateWithdrawalRequestV2} createWithdrawalRequestV2 create a withdrawal
|
|
@@ -6733,7 +6733,7 @@ const WithdrawalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6733
6733
|
return localVarFp.createWithdrawalV2(xImxEthAddress, xImxEthSignature, createWithdrawalRequestV2, options).then((request) => request(axios, basePath));
|
|
6734
6734
|
},
|
|
6735
6735
|
/**
|
|
6736
|
-
* Gets details of a signable withdrawal
|
|
6736
|
+
* Gets details of a signable withdrawal. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2.
|
|
6737
6737
|
* @summary Gets details of a signable withdrawal
|
|
6738
6738
|
* @param {GetSignableWithdrawalRequest} getSignableWithdrawalRequest get details of signable withdrawal
|
|
6739
6739
|
* @param {*} [options] Override http request option.
|
|
@@ -6799,8 +6799,8 @@ const WithdrawalsApiFactory = function (configuration, basePath, axios) {
|
|
|
6799
6799
|
*/
|
|
6800
6800
|
let WithdrawalsApi$1 = class WithdrawalsApi extends BaseAPI$1 {
|
|
6801
6801
|
/**
|
|
6802
|
-
* Creates a withdrawal. Use https://docs.x.immutable.com/reference
|
|
6803
|
-
* @summary Creates a withdrawal
|
|
6802
|
+
* Creates a withdrawal. Use https://docs.x.immutable.com/reference/#/operations/getSignableWithdrawal to get request body params. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/createWithdrawalV2.
|
|
6803
|
+
* @summary Creates a withdrawal
|
|
6804
6804
|
* @param {WithdrawalsApiCreateWithdrawalRequest} requestParameters Request parameters.
|
|
6805
6805
|
* @param {*} [options] Override http request option.
|
|
6806
6806
|
* @throws {RequiredError}
|
|
@@ -6810,8 +6810,8 @@ let WithdrawalsApi$1 = class WithdrawalsApi extends BaseAPI$1 {
|
|
|
6810
6810
|
return WithdrawalsApiFp(this.configuration).createWithdrawal(requestParameters.xImxEthAddress, requestParameters.xImxEthSignature, requestParameters.createWithdrawalRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6811
6811
|
}
|
|
6812
6812
|
/**
|
|
6813
|
-
* Creates a withdrawal. Use https://docs.
|
|
6814
|
-
* @summary Creates a withdrawal of a token for
|
|
6813
|
+
* Creates a withdrawal. Use https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2 to get request body params.
|
|
6814
|
+
* @summary Creates a withdrawal of a token for when StarkEx contract that is higher than v3
|
|
6815
6815
|
* @param {WithdrawalsApiCreateWithdrawalV2Request} requestParameters Request parameters.
|
|
6816
6816
|
* @param {*} [options] Override http request option.
|
|
6817
6817
|
* @throws {RequiredError}
|
|
@@ -6821,7 +6821,7 @@ let WithdrawalsApi$1 = class WithdrawalsApi extends BaseAPI$1 {
|
|
|
6821
6821
|
return WithdrawalsApiFp(this.configuration).createWithdrawalV2(requestParameters.xImxEthAddress, requestParameters.xImxEthSignature, requestParameters.createWithdrawalRequestV2, options).then((request) => request(this.axios, this.basePath));
|
|
6822
6822
|
}
|
|
6823
6823
|
/**
|
|
6824
|
-
* Gets details of a signable withdrawal
|
|
6824
|
+
* Gets details of a signable withdrawal. This endpoint will be deprecated once StarkEx contract gets upgraded to v4, check https://docs.immutable.com/x/reference/#/operations/getSignableWithdrawalV2.
|
|
6825
6825
|
* @summary Gets details of a signable withdrawal
|
|
6826
6826
|
* @param {WithdrawalsApiGetSignableWithdrawalRequest} requestParameters Request parameters.
|
|
6827
6827
|
* @param {*} [options] Override http request option.
|
|
@@ -8954,7 +8954,7 @@ const flattenProperties = (properties) => {
|
|
|
8954
8954
|
};
|
|
8955
8955
|
|
|
8956
8956
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
8957
|
-
const SDK_VERSION = '1.26.
|
|
8957
|
+
const SDK_VERSION = '1.26.3';
|
|
8958
8958
|
const getReferrer = () => {
|
|
8959
8959
|
if (isNode()) {
|
|
8960
8960
|
return '';
|
|
@@ -9197,7 +9197,7 @@ const addKeysToHeadersOverride = (baseConfig, overrides) => {
|
|
|
9197
9197
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9198
9198
|
class ApiConfiguration extends index$2.Configuration {
|
|
9199
9199
|
}
|
|
9200
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.26.
|
|
9200
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.26.3' };
|
|
9201
9201
|
/**
|
|
9202
9202
|
* @dev use createImmutableXConfiguration instead
|
|
9203
9203
|
*/
|
|
@@ -9236,7 +9236,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
9236
9236
|
chainID,
|
|
9237
9237
|
coreContractAddress,
|
|
9238
9238
|
registrationContractAddress,
|
|
9239
|
-
sdkVersion: 'ts-immutable-sdk-1.26.
|
|
9239
|
+
sdkVersion: 'ts-immutable-sdk-1.26.3',
|
|
9240
9240
|
baseConfig,
|
|
9241
9241
|
});
|
|
9242
9242
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
package/package.json
CHANGED