@imtbl/sdk 1.64.0 → 1.65.0-alpha.1
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-BJFFyOsZ.js → blockchain_data-DfCzmYtJ.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-_RYa4euh.js → AddTokensWidget-B4Ir7dvN.js} +71 -16
- package/dist/browser/checkout/{BridgeWidget-BCC7YXWj.js → BridgeWidget-H083MzVz.js} +9 -9
- package/dist/browser/checkout/{CommerceWidget-B4QxFLZq.js → CommerceWidget--lkMi5aZ.js} +119 -75
- package/dist/browser/checkout/{CryptoFiatProvider-b0KhVg3Y.js → CryptoFiatProvider-CiE5eWiz.js} +1 -1
- package/dist/browser/checkout/{EllipsizedText-CF9lzi6c.js → EllipsizedText-BYNkXO37.js} +1 -1
- package/dist/browser/checkout/{FeesBreakdown-BGnZxcX5.js → FeesBreakdown-Bh4uazkv.js} +1 -1
- package/dist/browser/checkout/{HandoverContent-CESizLWk.js → HandoverContent-D1zo76oD.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-BrGpM6Vn.js → OnRampWidget-NHF5WhcL.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-iuigaIZp.js → SaleWidget-ByoqYtgj.js} +14 -14
- package/dist/browser/checkout/{SpendingCapHero-B3sb2Wt1.js → SpendingCapHero-D4WKiLRo.js} +1 -1
- package/dist/browser/checkout/{SwapWidget-CdXf4YYP.js → SwapWidget-KGdvQrAY.js} +9 -9
- package/dist/browser/checkout/{TopUpView-Bg-huhcb.js → TopUpView-DzmCXwDT.js} +3 -3
- package/dist/browser/checkout/{WalletApproveHero-DW6Uw6rT.js → WalletApproveHero-DCUEVcQH.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-ChYjXfAy.js → WalletWidget-BUz0zP4W.js} +4 -4
- package/dist/browser/checkout/{auto-track-CgS-wbin.js → auto-track-BTcqufEu.js} +1 -1
- package/dist/browser/checkout/{index-qYOj-RwR.js → index-B9xhbnXe.js} +1 -1
- package/dist/browser/checkout/{index-BjLYItcm.js → index-Be6kRjpo.js} +27 -26
- package/dist/browser/checkout/{index-DoYS_inI.js → index-BoADKkwG.js} +1 -1
- package/dist/browser/checkout/{index-CshBDuS0.js → index-CSsSQRP5.js} +1 -1
- package/dist/browser/checkout/{index-C4anNRY5.js → index-CY3lxpA0.js} +2 -2
- package/dist/browser/checkout/{index-bNCjF_qE.js → index-Du1pp5VY.js} +1 -1
- package/dist/browser/checkout/{index-BqJ9Usxu.js → index-Z-kqScRf.js} +1 -1
- package/dist/browser/checkout/{index-LCMExv1j.js → index-cQyEo58T.js} +1 -1
- package/dist/browser/checkout/{index-D6TVOnc2.js → index-eMbWP9ME.js} +1 -1
- package/dist/browser/checkout/{index.umd-CL6Tp5Ej.js → index.umd-BNmwg7T-.js} +1 -1
- package/dist/browser/checkout/{retry-GJcGp5Sw.js → retry-B3R-pN6g.js} +1 -1
- package/dist/browser/checkout/sdk.js +5 -5
- package/dist/browser/checkout/{useInterval-BfG2xnz-.js → useInterval-BHSScII2.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +175 -75
- package/dist/{checkout-Cs8dXzsO.js → checkout-CByLVa3T.js} +6 -5
- package/dist/checkout.d.ts +7 -4
- package/dist/checkout.js +5 -5
- package/dist/{config-COmcON31.js → config-D6m3gLa7.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-BDcnlE-I.js → index-CP5Jo8hc.js} +1 -1
- package/dist/{index-B1oIamSp.js → index-Cs29UnCY.js} +4 -4
- package/dist/{index-8JzLLOmv.js → index-CubSKjsq.js} +1 -1
- package/dist/{index-CinJtsQi.js → index-DoAt7WaE.js} +3 -3
- package/dist/{index-CPZC_4-h.js → index-Dxusousf.js} +1 -1
- package/dist/{index-27OfHl8u.js → index-H8jBbWYD.js} +1 -1
- package/dist/index.browser.js +4 -4
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +8 -7
- package/dist/index.d.ts +7 -4
- package/dist/index.js +14 -14
- package/dist/{minting_backend-CkmXVZ0p.js → minting_backend-B-sjNjb4.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-Bi2t8guV.js → orderbook-CZwKEtIk.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-B9TINukj.js → passport-B_Of8icJ.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-D45ZPknC.js → webhook-BXlhJowI.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-C1LIWzQf.js → x-erMKrY3l.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -218,7 +218,7 @@ const flattenProperties$1 = (properties) => {
|
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
221
|
-
const SDK_VERSION$1 = '1.
|
|
221
|
+
const SDK_VERSION$1 = '1.65.0-alpha.1';
|
|
222
222
|
const getFrameParentDomain$1 = () => {
|
|
223
223
|
if (isNode$1()) {
|
|
224
224
|
return '';
|
|
@@ -14192,7 +14192,7 @@ class MultiRollupApiClients {
|
|
|
14192
14192
|
}
|
|
14193
14193
|
|
|
14194
14194
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
14195
|
-
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
14195
|
+
const defaultHeaders$2 = { 'x-sdk-version': 'ts-immutable-sdk-1.65.0-alpha.1' };
|
|
14196
14196
|
const createConfig$1 = ({ basePath, headers, }) => {
|
|
14197
14197
|
if (!basePath.trim()) {
|
|
14198
14198
|
throw Error('basePath can not be empty');
|
|
@@ -14264,7 +14264,7 @@ class APIError extends Error {
|
|
|
14264
14264
|
|
|
14265
14265
|
/* eslint-disable implicit-arrow-linebreak */
|
|
14266
14266
|
const defaultHeaders$1 = {
|
|
14267
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.
|
|
14267
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.65.0-alpha.1',
|
|
14268
14268
|
};
|
|
14269
14269
|
/**
|
|
14270
14270
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -14754,7 +14754,7 @@ var blockchain_data = /*#__PURE__*/Object.freeze({
|
|
|
14754
14754
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
14755
14755
|
class ApiConfiguration extends index$2.Configuration {
|
|
14756
14756
|
}
|
|
14757
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.
|
|
14757
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.65.0-alpha.1' };
|
|
14758
14758
|
/**
|
|
14759
14759
|
* @dev use createImmutableXConfiguration instead
|
|
14760
14760
|
*/
|
|
@@ -14795,7 +14795,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
14795
14795
|
coreContractAddress,
|
|
14796
14796
|
registrationContractAddress,
|
|
14797
14797
|
registrationV4ContractAddress,
|
|
14798
|
-
sdkVersion: 'ts-immutable-sdk-1.
|
|
14798
|
+
sdkVersion: 'ts-immutable-sdk-1.65.0-alpha.1',
|
|
14799
14799
|
baseConfig,
|
|
14800
14800
|
});
|
|
14801
14801
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|
|
@@ -49520,7 +49520,7 @@ const flattenProperties = (properties) => {
|
|
|
49520
49520
|
};
|
|
49521
49521
|
|
|
49522
49522
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
49523
|
-
const SDK_VERSION = '1.
|
|
49523
|
+
const SDK_VERSION = '1.65.0-alpha.1';
|
|
49524
49524
|
const getFrameParentDomain = () => {
|
|
49525
49525
|
if (isNode()) {
|
|
49526
49526
|
return '';
|
|
@@ -53917,6 +53917,7 @@ var CommerceSuccessEventType;
|
|
|
53917
53917
|
CommerceSuccessEventType["BRIDGE_SUCCESS"] = "BRIDGE_SUCCESS";
|
|
53918
53918
|
CommerceSuccessEventType["BRIDGE_CLAIM_WITHDRAWAL_SUCCESS"] = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS";
|
|
53919
53919
|
CommerceSuccessEventType["ADD_TOKENS_SUCCESS"] = "ADD_TOKENS_SUCCESS";
|
|
53920
|
+
CommerceSuccessEventType["ADD_TOKENS_CONNECT_SUCCESS"] = "ADD_TOKENS_CONNECT_SUCCESS";
|
|
53920
53921
|
})(CommerceSuccessEventType || (CommerceSuccessEventType = {}));
|
|
53921
53922
|
var CommerceFailureEventType;
|
|
53922
53923
|
(function (CommerceFailureEventType) {
|
|
@@ -54628,7 +54629,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
54628
54629
|
maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
|
|
54629
54630
|
};
|
|
54630
54631
|
|
|
54631
|
-
const SDK_VERSION_MARKER = '1.
|
|
54632
|
+
const SDK_VERSION_MARKER = '1.65.0-alpha.1';
|
|
54632
54633
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
54633
54634
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
54634
54635
|
|
package/dist/index.d.ts
CHANGED
|
@@ -25575,6 +25575,8 @@ type RequestOnrampEvent = {
|
|
|
25575
25575
|
tokenAddress: string;
|
|
25576
25576
|
/** The amount of tokens to onramp. */
|
|
25577
25577
|
amount: string;
|
|
25578
|
+
/** The connected provider. */
|
|
25579
|
+
provider?: Web3Provider;
|
|
25578
25580
|
};
|
|
25579
25581
|
/**
|
|
25580
25582
|
* Represents the add tokens event object when the add tokens widget is requested.
|
|
@@ -25641,7 +25643,7 @@ type AddTokensSuccess = {
|
|
|
25641
25643
|
transactionHash: string;
|
|
25642
25644
|
};
|
|
25643
25645
|
/**
|
|
25644
|
-
* Type representing
|
|
25646
|
+
* Type representing add tokens failure
|
|
25645
25647
|
* @property {string} reason
|
|
25646
25648
|
* @property {number} timestamp
|
|
25647
25649
|
*/
|
|
@@ -25652,7 +25654,7 @@ type AddTokensFailed = {
|
|
|
25652
25654
|
timestamp: number;
|
|
25653
25655
|
};
|
|
25654
25656
|
/**
|
|
25655
|
-
* Type representing a
|
|
25657
|
+
* Type representing a successful provider connection
|
|
25656
25658
|
* @property {Web3Provider} provider
|
|
25657
25659
|
* @property {EIP6963ProviderInfo} providerInfo
|
|
25658
25660
|
* @property {'from' | 'to'} providerType
|
|
@@ -25680,7 +25682,8 @@ declare enum CommerceSuccessEventType {
|
|
|
25680
25682
|
SALE_TRANSACTION_SUCCESS = "SALE_TRANSACTION_SUCCESS",
|
|
25681
25683
|
BRIDGE_SUCCESS = "BRIDGE_SUCCESS",
|
|
25682
25684
|
BRIDGE_CLAIM_WITHDRAWAL_SUCCESS = "BRIDGE_CLAIM_WITHDRAWAL_SUCCESS",
|
|
25683
|
-
ADD_TOKENS_SUCCESS = "ADD_TOKENS_SUCCESS"
|
|
25685
|
+
ADD_TOKENS_SUCCESS = "ADD_TOKENS_SUCCESS",
|
|
25686
|
+
ADD_TOKENS_CONNECT_SUCCESS = "ADD_TOKENS_CONNECT_SUCCESS"
|
|
25684
25687
|
}
|
|
25685
25688
|
declare enum CommerceFailureEventType {
|
|
25686
25689
|
BRIDGE_FAILED = "BRIDGE_FAILED",
|
|
@@ -25738,7 +25741,7 @@ type CommerceAddTokensSuccessEvent = {
|
|
|
25738
25741
|
data: AddTokensSuccess;
|
|
25739
25742
|
};
|
|
25740
25743
|
type CommerceAddTokensConnectSuccessEvent = {
|
|
25741
|
-
type: CommerceSuccessEventType.
|
|
25744
|
+
type: CommerceSuccessEventType.ADD_TOKENS_CONNECT_SUCCESS;
|
|
25742
25745
|
data: AddTokensConnectSuccess;
|
|
25743
25746
|
};
|
|
25744
25747
|
type CommerceSuccessEvent = CommerceAddTokensSuccessEvent | CommerceAddTokensConnectSuccessEvent | CommerceConnectSuccessEvent | CommerceBridgeSuccessEvent | CommerceBridgeClaimWithdrawalSuccessEvent | CommerceOnRampSuccessEvent | CommerceSwapSuccessEvent | CommerceSaleSuccessEvent | CommerceSaleSuccessfulTransactionEvent;
|
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-D6m3gLa7.js';
|
|
2
|
+
export { b as blockchainData } from './blockchain_data-DfCzmYtJ.js';
|
|
3
|
+
export { p as passport } from './passport-B_Of8icJ.js';
|
|
4
|
+
export { o as orderbook } from './orderbook-CZwKEtIk.js';
|
|
5
|
+
export { c as checkout } from './checkout-CByLVa3T.js';
|
|
6
|
+
export { x } from './x-erMKrY3l.js';
|
|
7
|
+
export { w as webhook } from './webhook-BXlhJowI.js';
|
|
8
|
+
export { m as mintingBackend } from './minting_backend-B-sjNjb4.js';
|
|
9
|
+
import './index-CP5Jo8hc.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-DoAt7WaE.js';
|
|
14
|
+
import './index-Dxusousf.js';
|
|
15
|
+
import './index-Cs29UnCY.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-H8jBbWYD.js';
|
|
39
39
|
import 'form-data';
|
|
40
40
|
import '@opensea/seaport-js/lib/constants';
|
|
41
41
|
import 'ethers-v6';
|
|
@@ -49,5 +49,5 @@ import '@metamask/detect-provider';
|
|
|
49
49
|
import 'semver';
|
|
50
50
|
import '@ethersproject/units';
|
|
51
51
|
import '@ethersproject/bignumber';
|
|
52
|
-
import './index-
|
|
52
|
+
import './index-CubSKjsq.js';
|
|
53
53
|
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-DoAt7WaE.js';
|
|
2
|
+
import { h as handle } from './index-CubSKjsq.js';
|
|
3
|
+
import { t as track, e as setEnvironment, f as setPublishableApiKey } from './index-CP5Jo8hc.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-B-sjNjb4.js';
|
|
2
|
+
import './index-DoAt7WaE.js';
|
|
3
|
+
import './index-Dxusousf.js';
|
|
4
4
|
import 'axios';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-CP5Jo8hc.js';
|
|
6
6
|
import 'lru-memorise';
|
|
7
7
|
import 'global-const';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-CubSKjsq.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-H8jBbWYD.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-H8jBbWYD.js';
|
|
2
|
+
import './index-CP5Jo8hc.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-Dxusousf.js';
|
|
3
|
+
import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-Cs29UnCY.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-CP5Jo8hc.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_Of8icJ.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-Dxusousf.js';
|
|
4
|
+
import './index-Cs29UnCY.js';
|
|
5
|
+
import './index-CP5Jo8hc.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 { 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-Cs29UnCY.js';
|
|
2
|
+
import { d as index$2 } from './index-Dxusousf.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-CP5Jo8hc.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-Cs29UnCY.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-erMKrY3l.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-CP5Jo8hc.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-Dxusousf.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED