@imtbl/sdk 0.3.3 → 0.4.0-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/dist/blockchain-data.d.ts +1893 -0
- package/dist/blockchain-data.js +5666 -0
- package/dist/browser/checkout.js +2 -0
- package/dist/checkout_sdk.d.ts +1199 -0
- package/dist/checkout_sdk.js +13809 -0
- package/dist/checkout_widgets.d.ts +15382 -0
- package/dist/checkout_widgets.js +276 -0
- package/dist/erc20.d.ts +296 -0
- package/dist/erc20.js +371 -0
- package/dist/erc721-permissioned-mintable.d.ts +435 -0
- package/dist/erc721-permissioned-mintable.js +1165 -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 +25854 -7103
- package/dist/index.d.ts +24616 -6664
- package/dist/index.js +25849 -7112
- package/dist/orderbook.d.ts +81 -0
- package/dist/orderbook.js +1983 -0
- package/dist/passport.js +2 -2
- package/package.json +25 -1
package/dist/passport.js
CHANGED
|
@@ -4607,7 +4607,7 @@ class MultiRollupApiClients {
|
|
|
4607
4607
|
}
|
|
4608
4608
|
|
|
4609
4609
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4610
|
-
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.
|
|
4610
|
+
const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.4.0-alpha' };
|
|
4611
4611
|
const createConfig = ({ basePath, headers, }) => {
|
|
4612
4612
|
if (!basePath.trim()) {
|
|
4613
4613
|
throw Error('basePath can not be empty');
|
|
@@ -4663,7 +4663,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
|
|
|
4663
4663
|
chainID,
|
|
4664
4664
|
coreContractAddress,
|
|
4665
4665
|
registrationContractAddress,
|
|
4666
|
-
sdkVersion: 'ts-immutable-sdk-0.
|
|
4666
|
+
sdkVersion: 'ts-immutable-sdk-0.4.0-alpha',
|
|
4667
4667
|
});
|
|
4668
4668
|
/**
|
|
4669
4669
|
* Sets `sdkVersion` at the time of build
|
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
|
+
"version": "0.4.0-alpha",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"browser": "./dist/index.browser.js",
|
|
7
7
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
@@ -70,6 +70,10 @@
|
|
|
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
|
+
},
|
|
73
77
|
"./immutablex_client": {
|
|
74
78
|
"types": "./dist/immutablex_client.d.ts",
|
|
75
79
|
"import": "./dist/immutablex_client.js"
|
|
@@ -78,9 +82,29 @@
|
|
|
78
82
|
"types": "./dist/passport.d.ts",
|
|
79
83
|
"import": "./dist/passport.js"
|
|
80
84
|
},
|
|
85
|
+
"./orderbook": {
|
|
86
|
+
"types": "./dist/orderbook.d.ts",
|
|
87
|
+
"import": "./dist/orderbook.js"
|
|
88
|
+
},
|
|
81
89
|
"./provider": {
|
|
82
90
|
"types": "./dist/provider.d.ts",
|
|
83
91
|
"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"
|
|
84
108
|
}
|
|
85
109
|
},
|
|
86
110
|
"files": [
|