@imtbl/sdk 1.78.7 → 1.78.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-sXQbT6jH.js → blockchain_data-CsLpeqvw.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/{checkout-B7M8Q9aa.js → checkout-BmpGPExf.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-CH7fuSYs.js → config-leE1MI6E.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CdgCpNaP.js → index-B5ca3aJ3.js} +1 -1
- package/dist/{index-CKF473gO.js → index-BegGNv2Z.js} +1 -1
- package/dist/{index-CMARMQ0F.js → index-Bkw9iJih.js} +1 -1
- package/dist/{index-CImulsxL.js → index-DB-9TRxa.js} +1 -1
- package/dist/{index-DbjbVl9l.js → index-DdK98GSW.js} +3 -3
- package/dist/{index-D7b6_lRC.js → index-zsGKer8x.js} +4 -4
- package/dist/index.browser.js +4 -4
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-CAMR1tpr.js → minting_backend-Dt-6lnnr.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-COPcmC73.js → orderbook-Cwx_ucvR.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-VqVMxqhA.js → passport-yAvfGkGp.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/version.json +1 -1
- package/dist/{webhook-D8xVe60-.js → webhook-BaamMKVc.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-ad129O5I.js → x-DQikUJW0.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -217,7 +217,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
217
217
|
};
|
|
218
218
|
|
|
219
219
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
220
|
-
const SDK_VERSION$1 = '1.78.
|
|
220
|
+
const SDK_VERSION$1 = '1.78.8';
|
|
221
221
|
const getFrameParentDomain$1 = () => {
|
|
222
222
|
if (isNode$1()) {
|
|
223
223
|
return '';
|
|
@@ -15084,7 +15084,7 @@ class MultiRollupApiClients {
|
|
|
15084
15084
|
}
|
|
15085
15085
|
|
|
15086
15086
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
15087
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.78.
|
|
15087
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.78.8' };
|
|
15088
15088
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
15089
15089
|
if (!basePath.trim()) {
|
|
15090
15090
|
throw Error('basePath can not be empty');
|
|
@@ -15156,7 +15156,7 @@ class APIError extends Error {
|
|
|
15156
15156
|
|
|
15157
15157
|
/* eslint-disable implicit-arrow-linebreak */
|
|
15158
15158
|
const defaultHeaders$1 = {
|
|
15159
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.78.
|
|
15159
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.78.8',
|
|
15160
15160
|
};
|
|
15161
15161
|
/**
|
|
15162
15162
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -15746,7 +15746,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
15746
15746
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
15747
15747
|
class ApiConfiguration extends index$2.Configuration {
|
|
15748
15748
|
}
|
|
15749
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.
|
|
15749
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.78.8' };
|
|
15750
15750
|
/**
|
|
15751
15751
|
* @dev use createImmutableXConfiguration instead
|
|
15752
15752
|
*/
|
|
@@ -15787,7 +15787,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
15787
15787
|
coreContractAddress,
|
|
15788
15788
|
registrationContractAddress,
|
|
15789
15789
|
registrationV4ContractAddress,
|
|
15790
|
-
sdkVersion: 'ts-immutable-sdk-1.78.
|
|
15790
|
+
sdkVersion: 'ts-immutable-sdk-1.78.8',
|
|
15791
15791
|
baseConfig,
|
|
15792
15792
|
});
|
|
15793
15793
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -50685,7 +50685,7 @@ const flattenProperties = (properties) => {
|
|
|
50685
50685
|
};
|
|
50686
50686
|
|
|
50687
50687
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
50688
|
-
const SDK_VERSION = '1.78.
|
|
50688
|
+
const SDK_VERSION = '1.78.8';
|
|
50689
50689
|
const getFrameParentDomain = () => {
|
|
50690
50690
|
if (isNode()) {
|
|
50691
50691
|
return '';
|
|
@@ -55824,7 +55824,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
55824
55824
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
55825
55825
|
};
|
|
55826
55826
|
|
|
55827
|
-
const SDK_VERSION_MARKER = '1.78.
|
|
55827
|
+
const SDK_VERSION_MARKER = '1.78.8';
|
|
55828
55828
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
55829
55829
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
55830
55830
|
|
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-leE1MI6E.js';
|
|
2
|
+
export { b as blockchainData } from './blockchain_data-CsLpeqvw.js';
|
|
3
|
+
export { p as passport } from './passport-yAvfGkGp.js';
|
|
4
|
+
export { o as orderbook } from './orderbook-Cwx_ucvR.js';
|
|
5
|
+
export { c as checkout } from './checkout-BmpGPExf.js';
|
|
6
|
+
export { x } from './x-DQikUJW0.js';
|
|
7
|
+
export { w as webhook } from './webhook-BaamMKVc.js';
|
|
8
|
+
export { m as mintingBackend } from './minting_backend-Dt-6lnnr.js';
|
|
9
|
+
import './index-Bkw9iJih.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-DdK98GSW.js';
|
|
14
|
+
import './index-BegGNv2Z.js';
|
|
15
|
+
import './index-zsGKer8x.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-B5ca3aJ3.js';
|
|
39
39
|
import 'form-data';
|
|
40
40
|
import 'ethers-v6';
|
|
41
41
|
import 'merkletreejs';
|
|
@@ -48,5 +48,5 @@ import '@metamask/detect-provider';
|
|
|
48
48
|
import 'semver';
|
|
49
49
|
import '@ethersproject/units';
|
|
50
50
|
import '@ethersproject/bignumber';
|
|
51
|
-
import './index-
|
|
51
|
+
import './index-DB-9TRxa.js';
|
|
52
52
|
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, e as setEnvironment, f as setPublishableApiKey } from './index-
|
|
1
|
+
import { B as BlockchainData } from './index-DdK98GSW.js';
|
|
2
|
+
import { h as handle } from './index-DB-9TRxa.js';
|
|
3
|
+
import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-Bkw9iJih.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-Dt-6lnnr.js';
|
|
2
|
+
import './index-DdK98GSW.js';
|
|
3
|
+
import './index-BegGNv2Z.js';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-Bkw9iJih.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-DB-9TRxa.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-B5ca3aJ3.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-B5ca3aJ3.js';
|
|
2
|
+
import './index-Bkw9iJih.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import globalAxios, { isAxiosError } from 'axios';
|
|
2
|
-
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-
|
|
3
|
-
import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-
|
|
4
|
-
import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-
|
|
2
|
+
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, a as index$1, I as ImxApiClients, b as imxApiConfig } from './index-BegGNv2Z.js';
|
|
3
|
+
import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-zsGKer8x.js';
|
|
4
|
+
import { s as setPassportClientId, t as track, b as trackFlow, c as trackError, u as utils, i as identify, g as getDetail, D as Detail, d as trackDuration, E as Environment } from './index-Bkw9iJih.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,8 +1,8 @@
|
|
|
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-yAvfGkGp.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-BegGNv2Z.js';
|
|
4
|
+
import './index-zsGKer8x.js';
|
|
5
|
+
import './index-Bkw9iJih.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
8
|
import '@ethersproject/keccak256';
|
package/dist/version.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "1.78.
|
|
1
|
+
{ "version": "1.78.8" }
|
package/dist/webhook.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, v as production, w as sandbox, x as serializePackedSignature, y as starkEcOrder } from './index-
|
|
2
|
-
import { d as index$2 } from './index-
|
|
1
|
+
import { b as ImxConfiguration, c as convertToSignableToken, s as signRaw, e as exportContracts, d as signMessage, E as EncodingApi, M as MintsApi, f as signRegisterEthAddress, A as ApiConfiguration, h as AssetsApi, B as BalancesApi, C as CollectionsApi, D as DepositsApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, v as production, w as sandbox, x as serializePackedSignature, y as starkEcOrder } from './index-zsGKer8x.js';
|
|
2
|
+
import { d as index$2 } from './index-BegGNv2Z.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-Bkw9iJih.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, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, v as production, w as sandbox, x as serializePackedSignature, f as signRegisterEthAddress, y 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, h as AssetsApi, B as BalancesApi, C as CollectionsApi, e as Contracts, D as DepositsApi, E as EncodingApi, i as ExchangesApi, I as IMXClient, j as IMXError, k as ImmutableX, b as ImxConfiguration, l as MetadataApi, m as MetadataRefreshesApi, n as MetadataSchemaRequestTypeEnum, M as MintsApi, N as NftCheckoutPrimaryApi, O as OrdersApi, P as ProjectsApi, T as TokensApi, o as TradesApi, p as TransfersApi, U as UsersApi, W as WithdrawalsApi, q as createConfig, r as createImmutableXConfiguration, a as createStarkSigner, g as generateLegacyStarkPrivateKey, t as generateStarkPrivateKey, u as imxClientConfig, a as imxClientCreateStarkSigner, g as imxClientGenerateLegacyStarkPrivateKey, v as production, w as sandbox, x as serializePackedSignature, f as signRegisterEthAddress, y as starkEcOrder } from './index-zsGKer8x.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-DQikUJW0.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-Bkw9iJih.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-BegGNv2Z.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED