@imtbl/sdk 1.46.14 → 1.46.15
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-Dq1tSJh2.js → blockchain_data-hmfSvZIc.js} +2 -2
- package/dist/blockchain_data.js +3 -3
- package/dist/browser/checkout/sdk.js +4 -4
- package/dist/{checkout-BXltFROh.js → checkout-Cbe1kYK9.js} +5 -5
- package/dist/checkout.js +5 -5
- package/dist/{config-C8N52I59.js → config-CL2Ypq1t.js} +1 -1
- package/dist/config.js +1 -1
- package/dist/{index-CjoDL_eS.js → index-B89VVoi1.js} +1 -1
- package/dist/{index-DxtdQJc5.js → index-BCphwN5I.js} +1 -1
- package/dist/{index-CWRukIY5.js → index-CB9UI7Wi.js} +1 -1
- package/dist/{index-BM_eR5Pq.js → index-CHk-w7gG.js} +1 -1
- package/dist/{index-C_NDgp3X.js → index-Oi2O_SpR.js} +3 -3
- package/dist/{index-DTwc-itf.js → index-rdcci3uY.js} +4 -4
- package/dist/index.browser.js +26 -26
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +14 -14
- package/dist/{minting_backend-D2PNZYih.js → minting_backend-DJDLydxW.js} +3 -3
- package/dist/minting_backend.js +5 -5
- package/dist/{orderbook-CDq8OOgM.js → orderbook-DPQytMhJ.js} +1 -1
- package/dist/orderbook.js +2 -2
- package/dist/{passport-Bs9dZM7g.js → passport-IofcLF4Y.js} +3 -3
- package/dist/passport.js +4 -4
- package/dist/{webhook-Bp3SQHKb.js → webhook-DJIFa5L6.js} +1 -1
- package/dist/webhook.js +2 -2
- package/dist/{x-BtveKv0Z.js → x-B5hc4scH.js} +3 -3
- package/dist/x.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-
|
|
1
|
+
import { E as Environment$1, t as track, I as ImmutableConfiguration } from './index-CB9UI7Wi.js';
|
|
2
2
|
import { ethers, BigNumber as BigNumber$1, ContractFactory, utils as utils$2, Contract as Contract$1 } from 'ethers';
|
|
3
3
|
import globalAxios, { HttpStatusCode as HttpStatusCode$1 } from 'axios';
|
|
4
4
|
import { Web3Provider, JsonRpcProvider } from '@ethersproject/providers';
|
|
@@ -9,8 +9,8 @@ import assert from 'assert';
|
|
|
9
9
|
import { FeeAmount, Route, SwapQuoter, Pool, Trade, toHex as toHex$1, encodeRouteToPath } from '@uniswap/v3-sdk';
|
|
10
10
|
import { keccak256 as keccak256$1 } from '@ethersproject/solidity';
|
|
11
11
|
import { SwapRouter, PaymentsExtended } from '@uniswap/router-sdk';
|
|
12
|
-
import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-
|
|
13
|
-
import { B as BlockchainData } from './index-
|
|
12
|
+
import { c as constants, O as OrderStatusName, a as Orderbook, A as ActionType, T as TransactionPurpose, S as SignablePurpose } from './index-BCphwN5I.js';
|
|
13
|
+
import { B as BlockchainData } from './index-Oi2O_SpR.js';
|
|
14
14
|
|
|
15
15
|
function bind(fn, thisArg) {
|
|
16
16
|
return function wrap() {
|
|
@@ -19154,7 +19154,7 @@ const flattenProperties = (properties) => {
|
|
|
19154
19154
|
};
|
|
19155
19155
|
|
|
19156
19156
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
19157
|
-
const SDK_VERSION = '1.46.
|
|
19157
|
+
const SDK_VERSION = '1.46.15';
|
|
19158
19158
|
const getFrameParentDomain = () => {
|
|
19159
19159
|
if (isNode()) {
|
|
19160
19160
|
return '';
|
|
@@ -24518,7 +24518,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
|
|
|
24518
24518
|
maxPriorityFeePerGas: BigNumber$1.from(10e9),
|
|
24519
24519
|
};
|
|
24520
24520
|
|
|
24521
|
-
const SDK_VERSION_MARKER = '1.46.
|
|
24521
|
+
const SDK_VERSION_MARKER = '1.46.15';
|
|
24522
24522
|
// This SDK version is replaced by the `yarn build` command ran on the root level
|
|
24523
24523
|
const globalPackageVersion = () => SDK_VERSION_MARKER;
|
|
24524
24524
|
|
package/dist/checkout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutErrorType, h as CheckoutEventType, i as CheckoutFailureEventType, j as CheckoutFlowType, k as CheckoutStatus, l as CheckoutSuccessEventType, m as CheckoutUserActionEventType, n as ConnectEventType, o as ConnectTargetLayer, E as ExchangeType, F as FeeType, p as FundingStepType, G as GasEstimateType, q as GasTokenType, I as IMMUTABLE_API_BASE_URL, r as IMTBLWidgetEvents, s as ItemType, N as NetworkFilterTypes, O as OnRampEventType, t as OrchestrationEventType, P as PostMessageHandler, u as PostMessageHandlerEventType, v as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, A as WalletProviderName, D as WalletProviderRdns, H as WidgetTheme, J as WidgetType, K as getMetaMaskProviderDetail, L as getPassportProviderDetail, M as isAddressSanctioned, Q as validateProvider } from './checkout-
|
|
2
|
-
import './index-
|
|
1
|
+
export { B as BlockExplorerService, a as BridgeEventType, C as ChainId, b as ChainName, d as ChainSlug, e as Checkout, f as CheckoutConfiguration, g as CheckoutErrorType, h as CheckoutEventType, i as CheckoutFailureEventType, j as CheckoutFlowType, k as CheckoutStatus, l as CheckoutSuccessEventType, m as CheckoutUserActionEventType, n as ConnectEventType, o as ConnectTargetLayer, E as ExchangeType, F as FeeType, p as FundingStepType, G as GasEstimateType, q as GasTokenType, I as IMMUTABLE_API_BASE_URL, r as IMTBLWidgetEvents, s as ItemType, N as NetworkFilterTypes, O as OnRampEventType, t as OrchestrationEventType, P as PostMessageHandler, u as PostMessageHandlerEventType, v as ProviderEventType, R as RoutingOutcomeType, S as SaleEventType, w as SalePaymentTypes, x as SwapEventType, T as TokenFilterTypes, y as TransactionOrGasType, W as WalletEventType, z as WalletFilterTypes, A as WalletProviderName, D as WalletProviderRdns, H as WidgetTheme, J as WidgetType, K as getMetaMaskProviderDetail, L as getPassportProviderDetail, M as isAddressSanctioned, Q as validateProvider } from './checkout-Cbe1kYK9.js';
|
|
2
|
+
import './index-CB9UI7Wi.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import 'lru-memorise';
|
|
5
5
|
import 'global-const';
|
|
@@ -11,10 +11,10 @@ import 'assert';
|
|
|
11
11
|
import '@uniswap/v3-sdk';
|
|
12
12
|
import '@ethersproject/solidity';
|
|
13
13
|
import '@uniswap/router-sdk';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-BCphwN5I.js';
|
|
15
15
|
import 'form-data';
|
|
16
16
|
import 'ethers-v6';
|
|
17
17
|
import 'merkletreejs';
|
|
18
18
|
import '@opensea/seaport-js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './index-
|
|
19
|
+
import './index-Oi2O_SpR.js';
|
|
20
|
+
import './index-B89VVoi1.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
import { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-CB9UI7Wi.js';
|
|
2
2
|
|
|
3
3
|
var config = /*#__PURE__*/Object.freeze({
|
|
4
4
|
__proto__: null,
|
package/dist/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
export { E as Environment, I as ImmutableConfiguration, K as KeyHeaders, a as addKeysToHeadersOverride } from './index-CB9UI7Wi.js';
|
|
2
2
|
import 'axios';
|
|
3
3
|
import 'lru-memorise';
|
|
4
4
|
import 'global-const';
|
|
@@ -13838,7 +13838,7 @@ class MultiRollupApiClients {
|
|
|
13838
13838
|
}
|
|
13839
13839
|
|
|
13840
13840
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
13841
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.46.
|
|
13841
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.46.15' };
|
|
13842
13842
|
const createConfig = ({ basePath, headers, }) => {
|
|
13843
13843
|
if (!basePath.trim()) {
|
|
13844
13844
|
throw Error('basePath can not be empty');
|
|
@@ -3,7 +3,7 @@ import FormData from 'form-data';
|
|
|
3
3
|
import { providers, BigNumber, constants as constants$1 } from 'ethers';
|
|
4
4
|
import { ethers, FetchRequest, JsonRpcProvider, JsonRpcSigner, keccak256, toUtf8Bytes, concat, TypedDataEncoder, zeroPadValue, toBeHex, AbiCoder } from 'ethers-v6';
|
|
5
5
|
import { MerkleTree } from 'merkletreejs';
|
|
6
|
-
import { E as Environment } from './index-
|
|
6
|
+
import { E as Environment } from './index-CB9UI7Wi.js';
|
|
7
7
|
import { Seaport as Seaport$1 } from '@opensea/seaport-js';
|
|
8
8
|
|
|
9
9
|
class BaseHttpRequest {
|
|
@@ -158,7 +158,7 @@ const flattenProperties = (properties) => {
|
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
// WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
|
|
161
|
-
const SDK_VERSION = '1.46.
|
|
161
|
+
const SDK_VERSION = '1.46.15';
|
|
162
162
|
const getFrameParentDomain = () => {
|
|
163
163
|
if (isNode()) {
|
|
164
164
|
return '';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as index$1 } from './index-
|
|
2
|
-
import { E as Environment, a as addKeysToHeadersOverride } from './index-
|
|
1
|
+
import { a as index$1 } from './index-B89VVoi1.js';
|
|
2
|
+
import { E as Environment, a as addKeysToHeadersOverride } from './index-CB9UI7Wi.js';
|
|
3
3
|
import globalAxios from 'axios';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -21,7 +21,7 @@ class APIError extends Error {
|
|
|
21
21
|
|
|
22
22
|
/* eslint-disable implicit-arrow-linebreak */
|
|
23
23
|
const defaultHeaders = {
|
|
24
|
-
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.
|
|
24
|
+
sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.46.15',
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
* createAPIConfiguration to create a custom Configuration
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as index$2, I as ImxApiClients } from './index-
|
|
2
|
-
import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-
|
|
1
|
+
import { b as index$2, I as ImxApiClients } from './index-B89VVoi1.js';
|
|
2
|
+
import { a as addKeysToHeadersOverride, E as Environment, I as ImmutableConfiguration } from './index-CB9UI7Wi.js';
|
|
3
3
|
import globalAxios from 'axios';
|
|
4
4
|
import { keccak256 } from '@ethersproject/keccak256';
|
|
5
5
|
import { toUtf8Bytes } from '@ethersproject/strings';
|
|
@@ -16,7 +16,7 @@ import '@ethersproject/abstract-signer';
|
|
|
16
16
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
17
17
|
class ApiConfiguration extends index$2.Configuration {
|
|
18
18
|
}
|
|
19
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.46.
|
|
19
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.46.15' };
|
|
20
20
|
/**
|
|
21
21
|
* @dev use createImmutableXConfiguration instead
|
|
22
22
|
*/
|
|
@@ -57,7 +57,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
57
57
|
coreContractAddress,
|
|
58
58
|
registrationContractAddress,
|
|
59
59
|
registrationV4ContractAddress,
|
|
60
|
-
sdkVersion: 'ts-immutable-sdk-1.46.
|
|
60
|
+
sdkVersion: 'ts-immutable-sdk-1.46.15',
|
|
61
61
|
baseConfig,
|
|
62
62
|
});
|
|
63
63
|
const production = ({ baseConfig }) => createImmutableXConfiguration({
|