@imtbl/sdk 1.47.4-alpha.2 → 1.47.6-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-CgPm4WL5.js → blockchain_data-CIbTj623.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/{checkout-CjKpSjmR.js → checkout-DRNXeBN5.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-BXtXHfQn.js → config-ol1rKlbi.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-DBPf0qx4.js → index-BqgieIq-.js} +4 -4
- package/dist/{index-CyjAw8zw.js → index-DF7YsGbm.js} +1 -1
- package/dist/{index-W-3MOFL6.js → index-Di8Jwz1C.js} +3 -3
- package/dist/{index-CKYKddDO.js → index-GhpBQCKK.js} +1 -1
- package/dist/{index-BV7-TPDO.js → index-TGxKmpgZ.js} +1 -1
- package/dist/{index-DSMUrJvb.js → index-vuzSOtcM.js} +1 -1
- package/dist/index.browser.js +6 -6
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-BORU2Kp9.js → minting_backend-BilUzkzJ.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-E6MgHlqQ.js → orderbook-BAyHBYL3.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-Q4ja38LX.js → passport-DNoqCdda.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-Dz9ivzHM.js → webhook-fSjLzp2e.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-iD3L5vwX.js → x-CXkPA7ie.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.6-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.
|
|
14504
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.47.6-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.
|
|
14576
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.47.6-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.
|
|
15050
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.47.6-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.
|
|
15091
|
+
sdkVersion: 'ts-immutable-sdk-1.47.6-alpha.2',
|
|
15092
15092
|
baseConfig,
|
|
15093
15093
|
});
|
|
15094
15094
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -52888,7 +52888,7 @@ const flattenProperties = (properties) => {
|
|
|
52888
52888
|
};
|
|
52889
52889
|
|
|
52890
52890
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
52891
|
-
const SDK_VERSION = '1.47.
|
|
52891
|
+
const SDK_VERSION = '1.47.6-alpha.2';
|
|
52892
52892
|
const getFrameParentDomain = () => {
|
|
52893
52893
|
if (isNode()) {
|
|
52894
52894
|
return '';
|
|
@@ -58252,7 +58252,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
58252
58252
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
58253
58253
|
};
|
|
58254
58254
|
|
|
58255
|
-
const SDK_VERSION_MARKER = '1.47.
|
|
58255
|
+
const SDK_VERSION_MARKER = '1.47.6-alpha.2';
|
|
58256
58256
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
58257
58257
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
58258
58258
|
|
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-ol1rKlbi.js';
|
|
2
|
+
export { b as blockchainData } from './blockchain_data-CIbTj623.js';
|
|
3
|
+
export { p as passport } from './passport-DNoqCdda.js';
|
|
4
|
+
export { o as orderbook } from './orderbook-BAyHBYL3.js';
|
|
5
|
+
export { c as checkout } from './checkout-DRNXeBN5.js';
|
|
6
|
+
export { x } from './x-CXkPA7ie.js';
|
|
7
|
+
export { w as webhook } from './webhook-fSjLzp2e.js';
|
|
8
|
+
export { m as mintingBackend } from './minting_backend-BilUzkzJ.js';
|
|
9
|
+
import './index-GhpBQCKK.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-Di8Jwz1C.js';
|
|
14
|
+
import './index-vuzSOtcM.js';
|
|
15
|
+
import './index-BqgieIq-.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-DF7YsGbm.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-TGxKmpgZ.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-Di8Jwz1C.js';
|
|
2
|
+
import { h as handle } from './index-TGxKmpgZ.js';
|
|
3
|
+
import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-GhpBQCKK.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-BilUzkzJ.js';
|
|
2
|
+
import './index-Di8Jwz1C.js';
|
|
3
|
+
import './index-vuzSOtcM.js';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-GhpBQCKK.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-TGxKmpgZ.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-DF7YsGbm.js';
|
|
2
2
|
|
|
3
3
|
var orderbook = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
package/dist/orderbook.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
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-DF7YsGbm.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'form-data';
|
|
4
4
|
import 'ethers';
|
|
5
5
|
import 'ethers-v6';
|
|
6
6
|
import 'merkletreejs';
|
|
7
|
-
import './index-
|
|
7
|
+
import './index-GhpBQCKK.js';
|
|
8
8
|
import 'lru-memorise';
|
|
9
9
|
import 'global-const';
|
|
10
10
|
import '@opensea/seaport-js';
|
|
@@ -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-GhpBQCKK.js';
|
|
3
|
+
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-vuzSOtcM.js';
|
|
4
|
+
import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-BqgieIq-.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-DNoqCdda.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-GhpBQCKK.js';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
6
|
-
import './index-
|
|
7
|
-
import './index-
|
|
6
|
+
import './index-vuzSOtcM.js';
|
|
7
|
+
import './index-BqgieIq-.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-BqgieIq-.js';
|
|
2
|
+
import { b as index$2 } from './index-vuzSOtcM.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-GhpBQCKK.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-BqgieIq-.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-CXkPA7ie.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-GhpBQCKK.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-vuzSOtcM.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED