@imtbl/sdk 0.35.0 → 0.35.2
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/README.md +8 -10
- package/dist/blockchain_data.js +1 -1
- package/dist/browser/checkout/sdk.js +6 -6
- package/dist/browser/checkout/widgets.js +56 -56
- package/dist/checkout.js +69 -82
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +12 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +72 -85
- package/dist/index.js +72 -85
- package/dist/passport.js +3 -3
- package/package.json +8 -1
package/dist/passport.js
CHANGED
|
@@ -2191,7 +2191,7 @@ class MultiRollupApiClients {
|
|
|
2191
2191
|
}
|
|
2192
2192
|
|
|
2193
2193
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2194
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.35.
|
|
2194
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.35.2' };
|
|
2195
2195
|
const createConfig = ({ basePath, headers, }) => {
|
|
2196
2196
|
if (!basePath.trim()) {
|
|
2197
2197
|
throw Error('basePath can not be empty');
|
|
@@ -2247,7 +2247,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
2247
2247
|
chainID,
|
|
2248
2248
|
coreContractAddress,
|
|
2249
2249
|
registrationContractAddress,
|
|
2250
|
-
sdkVersion: 'ts-immutable-sdk-0.35.
|
|
2250
|
+
sdkVersion: 'ts-immutable-sdk-0.35.2',
|
|
2251
2251
|
});
|
|
2252
2252
|
/**
|
|
2253
2253
|
* Sets `sdkVersion` at the time of build
|
|
@@ -6758,7 +6758,7 @@ var ChainId;
|
|
|
6758
6758
|
(function (ChainId) {
|
|
6759
6759
|
ChainId[ChainId["IMTBL_ZKEVM_MAINNET"] = 13371] = "IMTBL_ZKEVM_MAINNET";
|
|
6760
6760
|
ChainId[ChainId["IMTBL_ZKEVM_TESTNET"] = 13473] = "IMTBL_ZKEVM_TESTNET";
|
|
6761
|
-
ChainId[ChainId["IMTBL_ZKEVM_DEVNET"] =
|
|
6761
|
+
ChainId[ChainId["IMTBL_ZKEVM_DEVNET"] = 15003] = "IMTBL_ZKEVM_DEVNET";
|
|
6762
6762
|
ChainId[ChainId["ETHEREUM"] = 1] = "ETHEREUM";
|
|
6763
6763
|
ChainId[ChainId["SEPOLIA"] = 11155111] = "SEPOLIA";
|
|
6764
6764
|
})(ChainId || (ChainId = {}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imtbl/sdk",
|
|
3
3
|
"description": "Immutable Unified SDK",
|
|
4
|
-
"version": "0.35.
|
|
4
|
+
"version": "0.35.2",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"browser": "./dist/index.browser.js",
|
|
7
7
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
@@ -115,11 +115,18 @@
|
|
|
115
115
|
"license": "Apache-2.0",
|
|
116
116
|
"main": "./dist/index.cjs",
|
|
117
117
|
"module": "./dist/index.js",
|
|
118
|
+
"overrides": {
|
|
119
|
+
"@openzeppelin/contracts": "3.4.2-solc-0.7"
|
|
120
|
+
},
|
|
118
121
|
"peerDependencies": {
|
|
119
122
|
"react": "^18.2.0",
|
|
120
123
|
"react-dom": "^18.2.0"
|
|
121
124
|
},
|
|
122
125
|
"repository": "immutable/ts-immutable-sdk.git",
|
|
126
|
+
"resolutions": {
|
|
127
|
+
"@biom3/design-tokens": "0.2.4-beta",
|
|
128
|
+
"@openzeppelin/contracts": "3.4.2-solc-0.7"
|
|
129
|
+
},
|
|
123
130
|
"scripts": {
|
|
124
131
|
"build": "yarn packageList && yarn updateDependencies && yarn regenModules && rm -rf dist && NODE_ENV=production rollup --config rollup.config.js && rm -rf dist/types",
|
|
125
132
|
"build:only": "rm -rf dist && NODE_ENV=production rollup --config rollup.config.js && rm -rf dist/types",
|