@imtbl/sdk 1.78.1-alpha.3 → 1.78.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-BSsrVe9r.js → blockchain_data-dtlp9hdb.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/{AddTokensWidget-hN4Oz8Ns.js → AddTokensWidget-phRi8isq.js} +3 -3
- package/dist/browser/checkout/{BridgeWidget-A_pLUANI.js → BridgeWidget-DqBqp6iY.js} +6 -6
- package/dist/browser/checkout/{CommerceWidget-BoKaAY5y.js → CommerceWidget-BakoRfZj.js} +13 -13
- package/dist/browser/checkout/{FeesBreakdown-Cnmi6JuS.js → FeesBreakdown-BeOGIvgY.js} +1 -1
- package/dist/browser/checkout/{OnRampWidget-CYqTRHSC.js → OnRampWidget-BID9kc9s.js} +3 -3
- package/dist/browser/checkout/{SaleWidget-DIW0k6AY.js → SaleWidget-B6lZ8hGg.js} +10 -10
- package/dist/browser/checkout/{SpendingCapHero-Dp3KVsiY.js → SpendingCapHero-DW6X8cGr.js} +1 -1
- package/dist/browser/checkout/SwapWidget-UFkXHv2L.js +1738 -0
- package/dist/browser/checkout/{TokenImage-BNq0SnBY.js → TokenImage-DtkH2h2e.js} +1 -1
- package/dist/browser/checkout/{TopUpView-CHsQmxQQ.js → TopUpView-BoCJELBq.js} +1 -1
- package/dist/browser/checkout/{WalletApproveHero-Bj4aKxP9.js → WalletApproveHero-BxkUQIWN.js} +3 -3
- package/dist/browser/checkout/{WalletWidget-BsKIkdBf.js → WalletWidget-C8iWV1OY.js} +3 -3
- package/dist/browser/checkout/{auto-track-BM5HqFI3.js → auto-track-Densi2-k.js} +1 -1
- package/dist/browser/checkout/{index-DubSxoZp.js → index-BWF1wMhZ.js} +1 -1
- package/dist/browser/checkout/{index-DatkoxOH.js → index-Bz7QkIrz.js} +1 -1
- package/dist/browser/checkout/{index-BDZfw_Cp.js → index-C-4DEd8a.js} +135 -27
- package/dist/browser/checkout/{index-CNJ98XFR.js → index-CGZ3kTp1.js} +2 -2
- package/dist/browser/checkout/{index-D-MV_CPF.js → index-CJ-HyQqV.js} +1 -1
- package/dist/browser/checkout/{index-Cp7l-bwg.js → index-DSuIrOmV.js} +1 -1
- package/dist/browser/checkout/{index-D0Nv1xcY.js → index-Djor6tHu.js} +1 -1
- package/dist/browser/checkout/{index-D9AyMqDS.js → index-fbNLtQZy.js} +1 -1
- package/dist/browser/checkout/{index.umd-Dyg-Hme-.js → index.umd-BI-_-mXw.js} +1 -1
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/browser/checkout/{useInterval-WSD1wTJp.js → useInterval-CfVGG_W7.js} +1 -1
- package/dist/browser/checkout/widgets-esm.js +1 -1
- package/dist/browser/checkout/widgets.js +177 -181
- package/dist/{checkout-CdpPUUhj.js → checkout-B-BLfuyF.js} +11 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-DJ9AfIK2.js → config-DK_IUjmj.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-ZNUhFeNH.js → index-2-Yhh8Lo.js} +1 -1
- package/dist/{index-DOnuF7dl.js → index-8TTFjDjB.js} +4 -4
- package/dist/{index-GNIpo2e_.js → index-B0oHQE2a.js} +1 -1
- package/dist/{index-DxyJXQCc.js → index-Bi3YfX-o.js} +1 -1
- package/dist/{index-BW2_25po.js → index-DmDCdEAA.js} +5 -8
- package/dist/{index-eiKZmqkK.js → index-wc_sNfXQ.js} +3 -3
- package/dist/index.browser.js +5 -5
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +53 -64
- package/dist/index.js +14 -14
- package/dist/{minting_backend-B8RG7fFD.js → minting_backend-Blarurl3.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-DfmO8UGi.js → orderbook-C8nW30oG.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-OB-ZMOFV.js → passport-Dn-dJ0as.js} +39 -53
- package/dist/passport.js +4 -4
- package/dist/version.json +1 -1
- package/dist/{webhook-BhFLRUDh.js → webhook-Bk8qJg4f.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-Bejn0ZSY.js → x-BTBIq3r-.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
- package/dist/browser/checkout/SwapWidget-CO4Ks4Im.js +0 -1850
|
@@ -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-2-Yhh8Lo.js';
|
|
3
|
+
import { I as IMXClient, s as signRaw, c as convertToSignableToken, g as generateLegacyStarkPrivateKey, a as createStarkSigner } from './index-8TTFjDjB.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-DmDCdEAA.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';
|
|
@@ -1067,44 +1067,36 @@ const lazyDocumentReady = (initialiseFunction) => {
|
|
|
1067
1067
|
return lazyLoad(documentReadyPromise, initialiseFunction);
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
|
-
const withMetrics = (fn, flowName
|
|
1071
|
-
const flow = trackFlow('passport', flowName
|
|
1070
|
+
const withMetrics = (fn, flowName) => {
|
|
1071
|
+
const flow = trackFlow('passport', flowName);
|
|
1072
1072
|
try {
|
|
1073
1073
|
return fn(flow);
|
|
1074
1074
|
}
|
|
1075
1075
|
catch (error) {
|
|
1076
1076
|
if (error instanceof Error) {
|
|
1077
|
-
trackError('passport', flowName, error
|
|
1078
|
-
}
|
|
1079
|
-
else {
|
|
1080
|
-
flow.addEvent('errored');
|
|
1077
|
+
trackError('passport', flowName, error);
|
|
1081
1078
|
}
|
|
1079
|
+
flow.addEvent('errored');
|
|
1082
1080
|
throw error;
|
|
1083
1081
|
}
|
|
1084
1082
|
finally {
|
|
1085
|
-
|
|
1086
|
-
flow.addEvent('End');
|
|
1087
|
-
}
|
|
1083
|
+
flow.addEvent('End');
|
|
1088
1084
|
}
|
|
1089
1085
|
};
|
|
1090
|
-
const withMetricsAsync = async (fn, flowName
|
|
1091
|
-
const flow = trackFlow('passport', flowName
|
|
1086
|
+
const withMetricsAsync = async (fn, flowName) => {
|
|
1087
|
+
const flow = trackFlow('passport', flowName);
|
|
1092
1088
|
try {
|
|
1093
1089
|
return await fn(flow);
|
|
1094
1090
|
}
|
|
1095
1091
|
catch (error) {
|
|
1096
1092
|
if (error instanceof Error) {
|
|
1097
|
-
trackError('passport', flowName, error
|
|
1098
|
-
}
|
|
1099
|
-
else {
|
|
1100
|
-
flow.addEvent('errored');
|
|
1093
|
+
trackError('passport', flowName, error);
|
|
1101
1094
|
}
|
|
1095
|
+
flow.addEvent('errored');
|
|
1102
1096
|
throw error;
|
|
1103
1097
|
}
|
|
1104
1098
|
finally {
|
|
1105
|
-
|
|
1106
|
-
flow.addEvent('End');
|
|
1107
|
-
}
|
|
1099
|
+
flow.addEvent('End');
|
|
1108
1100
|
}
|
|
1109
1101
|
};
|
|
1110
1102
|
|
|
@@ -2317,6 +2309,7 @@ class RelayerClient {
|
|
|
2317
2309
|
...request,
|
|
2318
2310
|
};
|
|
2319
2311
|
const user = await this.authManager.getUserZkEvm();
|
|
2312
|
+
const startTime = performance.now();
|
|
2320
2313
|
const response = await fetch(`${this.config.relayerUrl}/v1/transactions`, {
|
|
2321
2314
|
method: 'POST',
|
|
2322
2315
|
headers: {
|
|
@@ -2325,6 +2318,7 @@ class RelayerClient {
|
|
|
2325
2318
|
},
|
|
2326
2319
|
body: JSON.stringify(body),
|
|
2327
2320
|
});
|
|
2321
|
+
trackDuration('passport', 'postToRelayer', Math.round(performance.now() - startTime), { rpcMethod: request.method });
|
|
2328
2322
|
const jsonResponse = await response.json();
|
|
2329
2323
|
if (jsonResponse.error) {
|
|
2330
2324
|
throw jsonResponse.error;
|
|
@@ -3059,6 +3053,7 @@ const trackSessionActivityFn = async (args) => {
|
|
|
3059
3053
|
}
|
|
3060
3054
|
// If there is already a tracking call in progress, do nothing
|
|
3061
3055
|
if (currentSessionTrackCall[clientId]) {
|
|
3056
|
+
flow.addEvent('Existing Delay Early Exit');
|
|
3062
3057
|
return;
|
|
3063
3058
|
}
|
|
3064
3059
|
currentSessionTrackCall[clientId] = true;
|
|
@@ -3080,6 +3075,7 @@ const trackSessionActivityFn = async (args) => {
|
|
|
3080
3075
|
let details;
|
|
3081
3076
|
// Make the API call
|
|
3082
3077
|
try {
|
|
3078
|
+
flow.addEvent('Fetching details');
|
|
3083
3079
|
details = await get({
|
|
3084
3080
|
clientId,
|
|
3085
3081
|
wallet: from,
|
|
@@ -3087,7 +3083,9 @@ const trackSessionActivityFn = async (args) => {
|
|
|
3087
3083
|
sendCount: sendCount[clientId] || 0,
|
|
3088
3084
|
});
|
|
3089
3085
|
checkCount[clientId]++;
|
|
3086
|
+
flow.addEvent('Fetched details', { checkCount: checkCount[clientId] });
|
|
3090
3087
|
if (!details) {
|
|
3088
|
+
flow.addEvent('No details found');
|
|
3091
3089
|
return;
|
|
3092
3090
|
}
|
|
3093
3091
|
}
|
|
@@ -3109,7 +3107,7 @@ const trackSessionActivityFn = async (args) => {
|
|
|
3109
3107
|
catch (error) {
|
|
3110
3108
|
flow.addEvent('Failed to send Transaction');
|
|
3111
3109
|
const err = new Error('Failed to send transaction', { cause: error });
|
|
3112
|
-
trackError('passport', 'sessionActivityError', err
|
|
3110
|
+
trackError('passport', 'sessionActivityError', err);
|
|
3113
3111
|
}
|
|
3114
3112
|
}
|
|
3115
3113
|
// if delay, perform delay.
|
|
@@ -3368,11 +3366,9 @@ class ZkEvmProvider {
|
|
|
3368
3366
|
}
|
|
3369
3367
|
catch (error) {
|
|
3370
3368
|
if (error instanceof Error) {
|
|
3371
|
-
trackError('passport', 'ethRequestAccounts', error
|
|
3372
|
-
}
|
|
3373
|
-
else {
|
|
3374
|
-
flow.addEvent('errored');
|
|
3369
|
+
trackError('passport', 'ethRequestAccounts', error);
|
|
3375
3370
|
}
|
|
3371
|
+
flow.addEvent('errored');
|
|
3376
3372
|
throw error;
|
|
3377
3373
|
}
|
|
3378
3374
|
finally {
|
|
@@ -3405,11 +3401,9 @@ class ZkEvmProvider {
|
|
|
3405
3401
|
}
|
|
3406
3402
|
catch (error) {
|
|
3407
3403
|
if (error instanceof Error) {
|
|
3408
|
-
trackError('passport', 'eth_sendTransaction', error
|
|
3409
|
-
}
|
|
3410
|
-
else {
|
|
3411
|
-
flow.addEvent('errored');
|
|
3404
|
+
trackError('passport', 'eth_sendTransaction', error);
|
|
3412
3405
|
}
|
|
3406
|
+
flow.addEvent('errored');
|
|
3413
3407
|
throw error;
|
|
3414
3408
|
}
|
|
3415
3409
|
finally {
|
|
@@ -3463,11 +3457,9 @@ class ZkEvmProvider {
|
|
|
3463
3457
|
}
|
|
3464
3458
|
catch (error) {
|
|
3465
3459
|
if (error instanceof Error) {
|
|
3466
|
-
trackError('passport', 'personal_sign', error
|
|
3467
|
-
}
|
|
3468
|
-
else {
|
|
3469
|
-
flow.addEvent('errored');
|
|
3460
|
+
trackError('passport', 'personal_sign', error);
|
|
3470
3461
|
}
|
|
3462
|
+
flow.addEvent('errored');
|
|
3471
3463
|
throw error;
|
|
3472
3464
|
}
|
|
3473
3465
|
finally {
|
|
@@ -3501,11 +3493,9 @@ class ZkEvmProvider {
|
|
|
3501
3493
|
}
|
|
3502
3494
|
catch (error) {
|
|
3503
3495
|
if (error instanceof Error) {
|
|
3504
|
-
trackError('passport', 'eth_signTypedData', error
|
|
3505
|
-
}
|
|
3506
|
-
else {
|
|
3507
|
-
flow.addEvent('errored');
|
|
3496
|
+
trackError('passport', 'eth_signTypedData', error);
|
|
3508
3497
|
}
|
|
3498
|
+
flow.addEvent('errored');
|
|
3509
3499
|
throw error;
|
|
3510
3500
|
}
|
|
3511
3501
|
finally {
|
|
@@ -3574,11 +3564,9 @@ class ZkEvmProvider {
|
|
|
3574
3564
|
}
|
|
3575
3565
|
catch (error) {
|
|
3576
3566
|
if (error instanceof Error) {
|
|
3577
|
-
trackError('passport', 'imSignEjectionTransaction', error
|
|
3578
|
-
}
|
|
3579
|
-
else {
|
|
3580
|
-
flow.addEvent('errored');
|
|
3567
|
+
trackError('passport', 'imSignEjectionTransaction', error);
|
|
3581
3568
|
}
|
|
3569
|
+
flow.addEvent('errored');
|
|
3582
3570
|
throw error;
|
|
3583
3571
|
}
|
|
3584
3572
|
finally {
|
|
@@ -3797,10 +3785,10 @@ class Passport {
|
|
|
3797
3785
|
* `connectImx` instead.
|
|
3798
3786
|
*/
|
|
3799
3787
|
async connectImxSilent() {
|
|
3800
|
-
return withMetricsAsync(() => this.passportImxProviderFactory.getProviderSilent(), 'connectImxSilent'
|
|
3788
|
+
return withMetricsAsync(() => this.passportImxProviderFactory.getProviderSilent(), 'connectImxSilent');
|
|
3801
3789
|
}
|
|
3802
3790
|
async connectImx() {
|
|
3803
|
-
return withMetricsAsync(() => this.passportImxProviderFactory.getProvider(), 'connectImx'
|
|
3791
|
+
return withMetricsAsync(() => this.passportImxProviderFactory.getProvider(), 'connectImx');
|
|
3804
3792
|
}
|
|
3805
3793
|
connectEvm(options = {
|
|
3806
3794
|
announceProvider: true,
|
|
@@ -3821,7 +3809,7 @@ class Passport {
|
|
|
3821
3809
|
});
|
|
3822
3810
|
}
|
|
3823
3811
|
return provider;
|
|
3824
|
-
}, 'connectEvm'
|
|
3812
|
+
}, 'connectEvm');
|
|
3825
3813
|
}
|
|
3826
3814
|
/**
|
|
3827
3815
|
*
|
|
@@ -3928,19 +3916,19 @@ class Passport {
|
|
|
3928
3916
|
return withMetricsAsync(async () => {
|
|
3929
3917
|
const user = await this.authManager.getUser();
|
|
3930
3918
|
return user?.profile;
|
|
3931
|
-
}, 'getUserInfo'
|
|
3919
|
+
}, 'getUserInfo');
|
|
3932
3920
|
}
|
|
3933
3921
|
async getIdToken() {
|
|
3934
3922
|
return withMetricsAsync(async () => {
|
|
3935
3923
|
const user = await this.authManager.getUser();
|
|
3936
3924
|
return user?.idToken;
|
|
3937
|
-
}, 'getIdToken'
|
|
3925
|
+
}, 'getIdToken');
|
|
3938
3926
|
}
|
|
3939
3927
|
async getAccessToken() {
|
|
3940
3928
|
return withMetricsAsync(async () => {
|
|
3941
3929
|
const user = await this.authManager.getUser();
|
|
3942
3930
|
return user?.accessToken;
|
|
3943
|
-
}, 'getAccessToken'
|
|
3931
|
+
}, 'getAccessToken');
|
|
3944
3932
|
}
|
|
3945
3933
|
async getLinkedAddresses() {
|
|
3946
3934
|
return withMetricsAsync(async () => {
|
|
@@ -3951,10 +3939,10 @@ class Passport {
|
|
|
3951
3939
|
const headers = { Authorization: `Bearer ${user.accessToken}` };
|
|
3952
3940
|
const getUserInfoResult = await this.multiRollupApiClients.passportProfileApi.getUserInfo({ headers });
|
|
3953
3941
|
return getUserInfoResult.data.linked_addresses;
|
|
3954
|
-
}, 'getLinkedAddresses'
|
|
3942
|
+
}, 'getLinkedAddresses');
|
|
3955
3943
|
}
|
|
3956
3944
|
async linkExternalWallet(params) {
|
|
3957
|
-
const flow = trackFlow('passport', 'linkExternalWallet'
|
|
3945
|
+
const flow = trackFlow('passport', 'linkExternalWallet');
|
|
3958
3946
|
const user = await this.authManager.getUser();
|
|
3959
3947
|
if (!user) {
|
|
3960
3948
|
throw new PassportError('User is not logged in', PassportErrorType.NOT_LOGGED_IN_ERROR);
|
|
@@ -3980,9 +3968,7 @@ class Passport {
|
|
|
3980
3968
|
if (error instanceof Error) {
|
|
3981
3969
|
trackError('passport', 'linkExternalWallet', error);
|
|
3982
3970
|
}
|
|
3983
|
-
|
|
3984
|
-
flow.addEvent('errored');
|
|
3985
|
-
}
|
|
3971
|
+
flow.addEvent('errored');
|
|
3986
3972
|
if (isAxiosError(error) && error.response) {
|
|
3987
3973
|
if (error.response.data && isAPIError(error.response.data)) {
|
|
3988
3974
|
const { code, message } = error.response.data;
|
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-Dn-dJ0as.js';
|
|
2
2
|
import 'axios';
|
|
3
|
-
import './index-
|
|
4
|
-
import './index-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-2-Yhh8Lo.js';
|
|
4
|
+
import './index-8TTFjDjB.js';
|
|
5
|
+
import './index-DmDCdEAA.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
|
|
1
|
+
{ "version": "1.78.1" }
|
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-8TTFjDjB.js';
|
|
2
|
+
import { d as index$2 } from './index-2-Yhh8Lo.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-DmDCdEAA.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-8TTFjDjB.js';
|
|
2
|
+
export { G as GenericIMXProvider, M as MetaMaskIMXProvider, P as ProviderConfiguration } from './x-BTBIq3r-.js';
|
|
3
|
+
export { E as Environment, I as ImmutableConfiguration } from './index-DmDCdEAA.js';
|
|
4
4
|
export { Signer as EthSigner } from '@ethersproject/abstract-signer';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-2-Yhh8Lo.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '@ethersproject/keccak256';
|
|
8
8
|
import '@ethersproject/strings';
|
package/package.json
CHANGED