@imtbl/sdk 0.13.0 → 0.13.1-alpha
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 +5 -2
- package/dist/blockchain_data.d.ts +1971 -0
- package/dist/blockchain_data.js +2528 -0
- package/dist/browser/checkout.js +2 -0
- package/dist/checkout_sdk.d.ts +11671 -0
- package/dist/checkout_sdk.js +18489 -0
- package/dist/checkout_widgets.d.ts +25741 -0
- package/dist/checkout_widgets.js +325 -0
- package/dist/erc20.d.ts +296 -0
- package/dist/erc20.js +371 -0
- package/dist/erc721_hybrid_permissioned_mintable.d.ts +531 -0
- package/dist/erc721_hybrid_permissioned_mintable.js +1559 -0
- package/dist/erc721_permissioned_mintable.d.ts +486 -0
- package/dist/erc721_permissioned_mintable.js +1364 -0
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +61 -8
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +30229 -6895
- package/dist/index.d.ts +25940 -7015
- package/dist/index.js +30205 -6878
- package/dist/orderbook.d.ts +281 -0
- package/dist/orderbook.js +1134 -0
- package/dist/passport.js +3 -2
- package/package.json +29 -1
package/dist/passport.js
CHANGED
|
@@ -1457,7 +1457,7 @@ class MultiRollupApiClients {
|
|
|
1457
1457
|
}
|
|
1458
1458
|
|
|
1459
1459
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1460
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
1460
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.13.1-alpha' };
|
|
1461
1461
|
const createConfig = ({ basePath, headers, }) => {
|
|
1462
1462
|
if (!basePath.trim()) {
|
|
1463
1463
|
throw Error('basePath can not be empty');
|
|
@@ -1513,7 +1513,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
1513
1513
|
chainID,
|
|
1514
1514
|
coreContractAddress,
|
|
1515
1515
|
registrationContractAddress,
|
|
1516
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
1516
|
+
sdkVersion: 'ts-immutable-sdk-0.13.1-alpha',
|
|
1517
1517
|
});
|
|
1518
1518
|
/**
|
|
1519
1519
|
* Sets `sdkVersion` at the time of build
|
|
@@ -7474,6 +7474,7 @@ class ZkEvmProvider {
|
|
|
7474
7474
|
// Pass through methods
|
|
7475
7475
|
case 'eth_gasPrice':
|
|
7476
7476
|
case 'eth_getBalance':
|
|
7477
|
+
case 'eth_getCode':
|
|
7477
7478
|
case 'eth_getStorageAt':
|
|
7478
7479
|
case 'eth_estimateGas':
|
|
7479
7480
|
case 'eth_call':
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imtbl/sdk",
|
|
3
3
|
"description": "Immutable Unified SDK",
|
|
4
|
-
"version": "0.13.
|
|
4
|
+
"version": "0.13.1-alpha",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"browser": "./dist/index.browser.js",
|
|
7
7
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
"types": "./dist/config.d.ts",
|
|
72
72
|
"import": "./dist/config.js"
|
|
73
73
|
},
|
|
74
|
+
"./blockchain_data": {
|
|
75
|
+
"types": "./dist/blockchain_data.d.ts",
|
|
76
|
+
"import": "./dist/blockchain_data.js"
|
|
77
|
+
},
|
|
74
78
|
"./immutablex_client": {
|
|
75
79
|
"types": "./dist/immutablex_client.d.ts",
|
|
76
80
|
"import": "./dist/immutablex_client.js"
|
|
@@ -79,9 +83,33 @@
|
|
|
79
83
|
"types": "./dist/passport.d.ts",
|
|
80
84
|
"import": "./dist/passport.js"
|
|
81
85
|
},
|
|
86
|
+
"./orderbook": {
|
|
87
|
+
"types": "./dist/orderbook.d.ts",
|
|
88
|
+
"import": "./dist/orderbook.js"
|
|
89
|
+
},
|
|
82
90
|
"./provider": {
|
|
83
91
|
"types": "./dist/provider.d.ts",
|
|
84
92
|
"import": "./dist/provider.js"
|
|
93
|
+
},
|
|
94
|
+
"./checkout_sdk": {
|
|
95
|
+
"types": "./dist/checkout_sdk.d.ts",
|
|
96
|
+
"import": "./dist/checkout_sdk.js"
|
|
97
|
+
},
|
|
98
|
+
"./checkout_widgets": {
|
|
99
|
+
"types": "./dist/checkout_widgets.d.ts",
|
|
100
|
+
"import": "./dist/checkout_widgets.js"
|
|
101
|
+
},
|
|
102
|
+
"./erc20": {
|
|
103
|
+
"types": "./dist/erc20.d.ts",
|
|
104
|
+
"import": "./dist/erc20.js"
|
|
105
|
+
},
|
|
106
|
+
"./erc721_hybrid_permissioned_mintable": {
|
|
107
|
+
"types": "./dist/erc721_hybrid_permissioned_mintable.d.ts",
|
|
108
|
+
"import": "./dist/erc721_hybrid_permissioned_mintable.js"
|
|
109
|
+
},
|
|
110
|
+
"./erc721_permissioned_mintable": {
|
|
111
|
+
"types": "./dist/erc721_permissioned_mintable.d.ts",
|
|
112
|
+
"import": "./dist/erc721_permissioned_mintable.js"
|
|
85
113
|
}
|
|
86
114
|
},
|
|
87
115
|
"files": [
|