@imtbl/sdk 0.4.1-alpha.1 → 0.4.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/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +8 -61
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +6257 -25008
- package/dist/index.d.ts +6517 -24564
- package/dist/index.js +9737 -28474
- package/dist/passport.js +3 -3
- package/package.json +1 -25
- package/dist/blockchain-data.d.ts +0 -1893
- package/dist/blockchain-data.js +0 -5666
- package/dist/browser/checkout.js +0 -2
- package/dist/checkout_sdk.d.ts +0 -1199
- package/dist/checkout_sdk.js +0 -13809
- package/dist/checkout_widgets.d.ts +0 -15382
- package/dist/checkout_widgets.js +0 -276
- package/dist/erc20.d.ts +0 -296
- package/dist/erc20.js +0 -371
- package/dist/erc721-permissioned-mintable.d.ts +0 -435
- package/dist/erc721-permissioned-mintable.js +0 -1165
- package/dist/orderbook.d.ts +0 -252
- package/dist/orderbook.js +0 -1983
package/dist/passport.js
CHANGED
|
@@ -4608,7 +4608,7 @@ class MultiRollupApiClients {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
|
|
4610
4610
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4611
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
4611
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.0.0' };
|
|
4612
4612
|
const createConfig = ({ basePath, headers, }) => {
|
|
4613
4613
|
if (!basePath.trim()) {
|
|
4614
4614
|
throw Error('basePath can not be empty');
|
|
@@ -4664,7 +4664,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4664
4664
|
chainID,
|
|
4665
4665
|
coreContractAddress,
|
|
4666
4666
|
registrationContractAddress,
|
|
4667
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
4667
|
+
sdkVersion: 'ts-immutable-sdk-0.0.0',
|
|
4668
4668
|
});
|
|
4669
4669
|
/**
|
|
4670
4670
|
* Sets `sdkVersion` at the time of build
|
|
@@ -10471,7 +10471,7 @@ const chainIdNumber = (chainId) => {
|
|
|
10471
10471
|
const MAX_TRANSACTION_HASH_RETRIEVAL_RETRIES = 30;
|
|
10472
10472
|
const TRANSACTION_HASH_RETRIEVAL_WAIT = 1000;
|
|
10473
10473
|
const sendTransaction = async ({ params, magicProvider, jsonRpcProvider, relayerClient, guardianClient, config, user, }) => {
|
|
10474
|
-
const popupWindowSize = { width: 480, height:
|
|
10474
|
+
const popupWindowSize = { width: 480, height: 520 };
|
|
10475
10475
|
guardianClient.loading(popupWindowSize);
|
|
10476
10476
|
const transactionRequest = params[0];
|
|
10477
10477
|
if (!transactionRequest.to) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imtbl/sdk",
|
|
3
3
|
"description": "Immutable Unified SDK",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.2",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"browser": "./dist/index.browser.js",
|
|
7
7
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
@@ -70,10 +70,6 @@
|
|
|
70
70
|
"types": "./dist/config.d.ts",
|
|
71
71
|
"import": "./dist/config.js"
|
|
72
72
|
},
|
|
73
|
-
"./blockchain-data": {
|
|
74
|
-
"types": "./dist/blockchain-data.d.ts",
|
|
75
|
-
"import": "./dist/blockchain-data.js"
|
|
76
|
-
},
|
|
77
73
|
"./immutablex_client": {
|
|
78
74
|
"types": "./dist/immutablex_client.d.ts",
|
|
79
75
|
"import": "./dist/immutablex_client.js"
|
|
@@ -82,29 +78,9 @@
|
|
|
82
78
|
"types": "./dist/passport.d.ts",
|
|
83
79
|
"import": "./dist/passport.js"
|
|
84
80
|
},
|
|
85
|
-
"./orderbook": {
|
|
86
|
-
"types": "./dist/orderbook.d.ts",
|
|
87
|
-
"import": "./dist/orderbook.js"
|
|
88
|
-
},
|
|
89
81
|
"./provider": {
|
|
90
82
|
"types": "./dist/provider.d.ts",
|
|
91
83
|
"import": "./dist/provider.js"
|
|
92
|
-
},
|
|
93
|
-
"./checkout_sdk": {
|
|
94
|
-
"types": "./dist/checkout_sdk.d.ts",
|
|
95
|
-
"import": "./dist/checkout_sdk.js"
|
|
96
|
-
},
|
|
97
|
-
"./checkout_widgets": {
|
|
98
|
-
"types": "./dist/checkout_widgets.d.ts",
|
|
99
|
-
"import": "./dist/checkout_widgets.js"
|
|
100
|
-
},
|
|
101
|
-
"./erc20": {
|
|
102
|
-
"types": "./dist/erc20.d.ts",
|
|
103
|
-
"import": "./dist/erc20.js"
|
|
104
|
-
},
|
|
105
|
-
"./erc721-permissioned-mintable": {
|
|
106
|
-
"types": "./dist/erc721-permissioned-mintable.d.ts",
|
|
107
|
-
"import": "./dist/erc721-permissioned-mintable.js"
|
|
108
84
|
}
|
|
109
85
|
},
|
|
110
86
|
"files": [
|