@imtbl/sdk 1.47.7-alpha.5 → 1.47.8
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-CVqk5A2D.js → blockchain_data-BTAks6BS.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/{checkout-vEQqXQI6.js → checkout-Dn49HaEV.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-DkF9E_vF.js → config-azQU9cBq.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-DHDCmhDi.js → index-3lKvfWaJ.js} +3 -3
- package/dist/{index-ByEVAn6i.js → index-B0kWPLhJ.js} +1 -1
- package/dist/{index-BTenCpCm.js → index-CHNnDvbz.js} +1 -1
- package/dist/{index-BNHlRZX5.js → index-DX9vts9x.js} +1 -1
- package/dist/{index-BgTo2V35.js → index-Z-NrI2N8.js} +4 -4
- package/dist/{index-rZuo7uhw.js → index-_Pvpvqhh.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-Ciw-AZ2M.js → minting_backend-CXRlGDtf.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-CiWEFBTS.js → orderbook-DfEXH2s6.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-CDaFcCVr.js → passport-Ci0MXTy6.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-BtWCj0NG.js → webhook-CUavilrf.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-C-tJeINq.js → x-LGWZYDJp.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
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.
|
|
219
|
+
const SDK_VERSION$1 = '1.47.8';
|
|
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.
|
|
14504
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.8' };
|
|
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.
|
|
14576
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.8',
|
|
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.
|
|
15050
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.8' };
|
|
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.
|
|
15091
|
+
sdkVersion: 'ts-immutable-sdk-1.47.8',
|
|
15092
15092
|
baseConfig,
|
|
15093
15093
|
});
|
|
15094
15094
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -52962,7 +52962,7 @@ const flattenProperties = (properties) => {
|
|
|
52962
52962
|
};
|
|
52963
52963
|
|
|
52964
52964
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
52965
|
-
const SDK_VERSION = '1.47.
|
|
52965
|
+
const SDK_VERSION = '1.47.8';
|
|
52966
52966
|
const getFrameParentDomain = () => {
|
|
52967
52967
|
if (isNode()) {
|
|
52968
52968
|
return '';
|
|
@@ -58326,7 +58326,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
58326
58326
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
58327
58327
|
};
|
|
58328
58328
|
|
|
58329
|
-
const SDK_VERSION_MARKER = '1.47.
|
|
58329
|
+
const SDK_VERSION_MARKER = '1.47.8';
|
|
58330
58330
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
58331
58331
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
58332
58332
|
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { c as config } from './config-
|
|
2
|
-
export { b as blockchainData } from './blockchain_data-
|
|
3
|
-
export { p as passport } from './passport-
|
|
4
|
-
export { o as orderbook } from './orderbook-
|
|
5
|
-
export { c as checkout } from './checkout-
|
|
6
|
-
export { x } from './x-
|
|
7
|
-
export { w as webhook } from './webhook-
|
|
8
|
-
export { m as mintingBackend } from './minting_backend-
|
|
9
|
-
import './index-
|
|
1
|
+
export { c as config } from './config-azQU9cBq.js';
|
|
2
|
+
export { b as blockchainData } from './blockchain_data-BTAks6BS.js';
|
|
3
|
+
export { p as passport } from './passport-Ci0MXTy6.js';
|
|
4
|
+
export { o as orderbook } from './orderbook-DfEXH2s6.js';
|
|
5
|
+
export { c as checkout } from './checkout-Dn49HaEV.js';
|
|
6
|
+
export { x } from './x-LGWZYDJp.js';
|
|
7
|
+
export { w as webhook } from './webhook-CUavilrf.js';
|
|
8
|
+
export { m as mintingBackend } from './minting_backend-CXRlGDtf.js';
|
|
9
|
+
import './index-DX9vts9x.js';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import 'lru-memorise';
|
|
12
12
|
import 'global-const';
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import './index-
|
|
13
|
+
import './index-3lKvfWaJ.js';
|
|
14
|
+
import './index-B0kWPLhJ.js';
|
|
15
|
+
import './index-Z-NrI2N8.js';
|
|
16
16
|
import '@ethersproject/keccak256';
|
|
17
17
|
import '@ethersproject/strings';
|
|
18
18
|
import 'bn.js';
|
|
@@ -35,7 +35,7 @@ import 'events';
|
|
|
35
35
|
import '@0xsequence/abi';
|
|
36
36
|
import '@0xsequence/core';
|
|
37
37
|
import 'uuid';
|
|
38
|
-
import './index-
|
|
38
|
+
import './index-CHNnDvbz.js';
|
|
39
39
|
import 'form-data';
|
|
40
40
|
import 'ethers-v6';
|
|
41
41
|
import 'merkletreejs';
|
|
@@ -47,5 +47,5 @@ import '@ethersproject/solidity';
|
|
|
47
47
|
import '@uniswap/router-sdk';
|
|
48
48
|
import '@ethersproject/units';
|
|
49
49
|
import '@ethersproject/bignumber';
|
|
50
|
-
import './index-
|
|
50
|
+
import './index-_Pvpvqhh.js';
|
|
51
51
|
import 'sns-validator';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as BlockchainData } from './index-
|
|
2
|
-
import { h as handle } from './index-
|
|
3
|
-
import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-
|
|
1
|
+
import { B as BlockchainData } from './index-3lKvfWaJ.js';
|
|
2
|
+
import { h as handle } from './index-_Pvpvqhh.js';
|
|
3
|
+
import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-DX9vts9x.js';
|
|
4
4
|
|
|
5
5
|
const moduleName = 'minting_backend_sdk';
|
|
6
6
|
const trackInitializePersistencePG = () => {
|
package/dist/minting_backend.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-
|
|
2
|
-
import './index-
|
|
3
|
-
import './index-
|
|
1
|
+
export { M as MintingBackendModule, a as mintingPersistencePg, b as mintingPersistencePrismaSqlite, p as processMint, r as recordMint, s as submitMintingRequests } from './minting_backend-CXRlGDtf.js';
|
|
2
|
+
import './index-3lKvfWaJ.js';
|
|
3
|
+
import './index-B0kWPLhJ.js';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-DX9vts9x.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-_Pvpvqhh.js';
|
|
9
9
|
import 'sns-validator';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-
|
|
1
|
+
import { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-CHNnDvbz.js';
|
|
2
2
|
|
|
3
3
|
var orderbook = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
package/dist/orderbook.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-
|
|
2
|
-
import './index-
|
|
1
|
+
export { A as ActionType, F as FeeType, O as OrderStatusName, a as Orderbook, S as SignablePurpose, T as TransactionPurpose, c as constants } from './index-CHNnDvbz.js';
|
|
2
|
+
import './index-DX9vts9x.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import globalAxios, { isAxiosError as isAxiosError$1 } from 'axios';
|
|
2
|
-
import { c as setPassportClientId, t as track, i as identify, d as trackError, u as utils$2, e as trackFlow, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-
|
|
3
|
-
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-
|
|
4
|
-
import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-
|
|
2
|
+
import { c as setPassportClientId, t as track, i as identify, d as trackError, u as utils$2, e as trackFlow, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-DX9vts9x.js';
|
|
3
|
+
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-B0kWPLhJ.js';
|
|
4
|
+
import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-Z-NrI2N8.js';
|
|
5
5
|
import { UserManager, User, ErrorTimeout, ErrorResponse, InMemoryWebStorage, WebStorageStateStore } from 'oidc-client-ts';
|
|
6
6
|
import * as crypto from 'crypto';
|
|
7
7
|
import jwt_decode from 'jwt-decode';
|
package/dist/passport.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-
|
|
1
|
+
export { J as JsonRpcError, P as Passport, a as PassportError, b as ProviderErrorCode, c as ProviderEvent, R as RpcErrorCode } from './passport-Ci0MXTy6.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-DX9vts9x.js';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
6
|
+
import './index-B0kWPLhJ.js';
|
|
7
|
+
import './index-Z-NrI2N8.js';
|
|
8
8
|
import '@ethersproject/keccak256';
|
|
9
9
|
import '@ethersproject/strings';
|
|
10
10
|
import 'bn.js';
|
package/dist/webhook.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-
|
|
2
|
-
import { b as index$2 } from './index-
|
|
1
|
+
import { I as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, a as signMessage, E as EncodingApi, M as MintsApi, b as signRegisterEthAddress, A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, w as production, x as sandbox, y as serializePackedSignature, z as starkEcOrder } from './index-Z-NrI2N8.js';
|
|
2
|
+
import { b as index$2 } from './index-B0kWPLhJ.js';
|
|
3
3
|
import { isAxiosError } from 'axios';
|
|
4
4
|
import * as encUtils from 'enc-utils';
|
|
5
5
|
import { parseUnits } from '@ethersproject/units';
|
|
6
6
|
import { BigNumber } from '@ethersproject/bignumber';
|
|
7
7
|
import { ethers } from 'ethers';
|
|
8
8
|
import detectEthereumProvider from '@metamask/detect-provider';
|
|
9
|
-
import { E as Environment, I as ImmutableConfiguration } from './index-
|
|
9
|
+
import { E as Environment, I as ImmutableConfiguration } from './index-DX9vts9x.js';
|
|
10
10
|
import { Signer } from '@ethersproject/abstract-signer';
|
|
11
11
|
|
|
12
12
|
function isChainValid(chainID, config) {
|
package/dist/x.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-
|
|
2
|
-
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-
|
|
3
|
-
export { E as Environment, I as ImmutableConfiguration } from './index-
|
|
1
|
+
export { A as ApiConfiguration, d as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, f as ExchangesApi, g as IMXClient, h as IMXError, i as ImmutableX, I as ImxConfiguration, j as MetadataApi, k as MetadataRefreshesApi, l as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as PrimarySalesApi, m as ProjectsApi, T as TokensApi, n as TradesApi, o as TransfersApi, U as UsersApi, W as WithdrawalsApi, p as createConfig, q as createImmutableXConfiguration, r as createStarkSigner, t as generateLegacyStarkPrivateKey, u as generateStarkPrivateKey, v as imxClientConfig, r as imxClientCreateStarkSigner, t as imxClientGenerateLegacyStarkPrivateKey, w as production, x as sandbox, y as serializePackedSignature, b as signRegisterEthAddress, z as starkEcOrder } from './index-Z-NrI2N8.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-LGWZYDJp.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-DX9vts9x.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-B0kWPLhJ.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED