@imtbl/sdk 1.51.6-alpha.3 → 1.51.7-alpha
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-Cj9feTC_.js → blockchain_data-NwV19jKe.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddFundsWidget-DuG1OWEM.js → AddFundsWidget-60fIp6Ey.js} +2 -2
- package/dist/browser/checkout/{BridgeWidget-2D-8F1Vq.js → BridgeWidget-BXflY6CD.js} +5 -5
- package/dist/browser/checkout/{CheckoutWidget-Bvnur5WZ.js → CheckoutWidget-DUcj5yhp.js} +47 -14
- package/dist/browser/checkout/{OnRampWidget-B4UV_TYW.js → OnRampWidget-bRIzh3SI.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-BQMUaWlZ.js → SaleWidget-BfRWYw-x.js} +9 -9
- package/dist/browser/checkout/{SpendingCapHero-BsQQYO_D.js → SpendingCapHero-D5J-PqGu.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-BK7sTJ6u.js → SwapWidget-CgtS6wF-.js} +6 -6
- package/dist/browser/checkout/{TextInputForm-Cy6sTMjr.js → TextInputForm-DFz4T9gr.js} +1 -1
- package/dist/browser/checkout/{TopUpView-Dw-JH0Q5.js → TopUpView-CR59P_9s.js} +1 -1
- package/dist/browser/checkout/{WalletWidget-t6i1V-G5.js → WalletWidget-B2e3P2b_.js} +3 -3
- package/dist/browser/checkout/{auto-track-CMv29U8a.js → auto-track-BlKHxjh9.js} +1 -1
- package/dist/browser/checkout/{balance-Dt4oB1G1.js → balance-DHb2qU4v.js} +2 -2
- package/dist/browser/checkout/{index-5qc7Vsg4.js → index-B-0jqzbr.js} +18 -18
- package/dist/browser/checkout/{index-D4zR0DRy.js → index-BIWbNf18.js} +1 -1
- package/dist/browser/checkout/{index-CMBbtkDe.js → index-D9ZXz8kq.js} +1 -1
- package/dist/browser/checkout/{index-BRzBLTux.js → index-DR6Ua43K.js} +1 -1
- package/dist/browser/checkout/{index-DmXFGYTM.js → index-DXpg_6O3.js} +1 -1
- package/dist/browser/checkout/{index-D2zks65E.js → index-DdnJcCwY.js} +2 -2
- package/dist/browser/checkout/{index-DwTyassh.js → index-rZMMkDHX.js} +1 -1
- package/dist/browser/checkout/{index-Zraoakam.js → index-xaWPeC16.js} +1 -1
- package/dist/browser/checkout/{index.umd-CCwq6cRd.js → index.umd-BrmJxnop.js} +1 -1
- package/dist/browser/checkout/{retry-C_l6vh-l.js → retry-CWri6uLY.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +46 -13
- package/dist/{checkout-Bbpnp9mt.js → checkout-DMpJvvQS.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-sXFF9m4x.js → config-D-clK73v.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-B98Oxezh.js → index-0cWI8Qhc.js} +4 -4
- package/dist/{index-DM2LjOba.js → index-BGjUCefm.js} +1 -1
- package/dist/{index-9FzewX5R.js → index-DI7M8rzP.js} +1 -1
- package/dist/{index-_orlyaK_.js → index-DTVYUEH8.js} +1 -1
- package/dist/{index-D0HfHdqJ.js → index-DWqDxFIR.js} +3 -3
- package/dist/{index-CyDcrC5z.js → index-Dxx5lLW1.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-AupEhVLb.js → minting_backend-DSLh143M.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-B3YaAPkk.js → orderbook-LNsrAqry.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-D23DKhtQ.js → passport-B-95l5BM.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-xdDiR57E.js → webhook-BHRQETWI.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-BIHwnhUS.js → x-wv2autMY.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.51.
|
|
219
|
+
const SDK_VERSION$1 = '1.51.7-alpha';
|
|
220
220
|
const getFrameParentDomain$1 = () => {
|
|
221
221
|
if (isNode$1()) {
|
|
222
222
|
return '';
|
|
@@ -14654,7 +14654,7 @@ class MultiRollupApiClients {
|
|
|
14654
14654
|
}
|
|
14655
14655
|
|
|
14656
14656
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14657
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.51.
|
|
14657
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.51.7-alpha' };
|
|
14658
14658
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14659
14659
|
if (!basePath.trim()) {
|
|
14660
14660
|
throw Error('basePath can not be empty');
|
|
@@ -14726,7 +14726,7 @@ class APIError extends Error {
|
|
|
14726
14726
|
|
|
14727
14727
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14728
14728
|
const defaultHeaders$1 = {
|
|
14729
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.51.
|
|
14729
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.51.7-alpha',
|
|
14730
14730
|
};
|
|
14731
14731
|
/**
|
|
14732
14732
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -15200,7 +15200,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
15200
15200
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
15201
15201
|
class ApiConfiguration extends index$2.Configuration {
|
|
15202
15202
|
}
|
|
15203
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.51.
|
|
15203
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.51.7-alpha' };
|
|
15204
15204
|
/**
|
|
15205
15205
|
* @dev use createImmutableXConfiguration instead
|
|
15206
15206
|
*/
|
|
@@ -15241,7 +15241,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
15241
15241
|
coreContractAddress,
|
|
15242
15242
|
registrationContractAddress,
|
|
15243
15243
|
registrationV4ContractAddress,
|
|
15244
|
-
sdkVersion: 'ts-immutable-sdk-1.51.
|
|
15244
|
+
sdkVersion: 'ts-immutable-sdk-1.51.7-alpha',
|
|
15245
15245
|
baseConfig,
|
|
15246
15246
|
});
|
|
15247
15247
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -53236,7 +53236,7 @@ const flattenProperties = (properties) => {
|
|
|
53236
53236
|
};
|
|
53237
53237
|
|
|
53238
53238
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
53239
|
-
const SDK_VERSION = '1.51.
|
|
53239
|
+
const SDK_VERSION = '1.51.7-alpha';
|
|
53240
53240
|
const getFrameParentDomain = () => {
|
|
53241
53241
|
if (isNode()) {
|
|
53242
53242
|
return '';
|
|
@@ -58630,7 +58630,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
58630
58630
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
58631
58631
|
};
|
|
58632
58632
|
|
|
58633
|
-
const SDK_VERSION_MARKER = '1.51.
|
|
58633
|
+
const SDK_VERSION_MARKER = '1.51.7-alpha';
|
|
58634
58634
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
58635
58635
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
58636
58636
|
|
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-D-clK73v.js';
|
|
2
|
+
export { b as blockchainData } from './blockchain_data-NwV19jKe.js';
|
|
3
|
+
export { p as passport } from './passport-B-95l5BM.js';
|
|
4
|
+
export { o as orderbook } from './orderbook-LNsrAqry.js';
|
|
5
|
+
export { c as checkout } from './checkout-DMpJvvQS.js';
|
|
6
|
+
export { x } from './x-wv2autMY.js';
|
|
7
|
+
export { w as webhook } from './webhook-BHRQETWI.js';
|
|
8
|
+
export { m as mintingBackend } from './minting_backend-DSLh143M.js';
|
|
9
|
+
import './index-DI7M8rzP.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-DWqDxFIR.js';
|
|
14
|
+
import './index-Dxx5lLW1.js';
|
|
15
|
+
import './index-0cWI8Qhc.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-DTVYUEH8.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-BGjUCefm.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-DWqDxFIR.js';
|
|
2
|
+
import { h as handle } from './index-BGjUCefm.js';
|
|
3
|
+
import { t as track, s as setEnvironment, b as setPublishableApiKey } from './index-DI7M8rzP.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-DSLh143M.js';
|
|
2
|
+
import './index-DWqDxFIR.js';
|
|
3
|
+
import './index-Dxx5lLW1.js';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-DI7M8rzP.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-BGjUCefm.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-DTVYUEH8.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-DTVYUEH8.js';
|
|
2
|
+
import './index-DI7M8rzP.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 { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-
|
|
3
|
-
import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-
|
|
4
|
-
import { c as setPassportClientId, t as track, d as trackFlow, e as trackError, u as utils$2, i as identify, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-
|
|
2
|
+
import { M as MultiRollupApiClients, c as createConfig, m as multiRollupConfig, I as ImxApiClients, d as imxApiConfig } from './index-Dxx5lLW1.js';
|
|
3
|
+
import { g as IMXClient, s as signRaw, c as convertToSignableToken, t as generateLegacyStarkPrivateKey, r as createStarkSigner } from './index-0cWI8Qhc.js';
|
|
4
|
+
import { c as setPassportClientId, t as track, d as trackFlow, e as trackError, u as utils$2, i as identify, g as getDetail, D as Detail, f as trackDuration, E as Environment } from './index-DI7M8rzP.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-B-95l5BM.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-Dxx5lLW1.js';
|
|
4
|
+
import './index-0cWI8Qhc.js';
|
|
5
|
+
import './index-DI7M8rzP.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
8
|
import '@ethersproject/keccak256';
|
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-0cWI8Qhc.js';
|
|
2
|
+
import { b as index$2 } from './index-Dxx5lLW1.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-DI7M8rzP.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-0cWI8Qhc.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-wv2autMY.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-DI7M8rzP.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-Dxx5lLW1.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED