@imtbl/sdk 2.0.0-alpha.13 → 2.0.0-alpha.14
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/index.browser.cdn.js +6 -6
- package/package.json +10 -10
|
@@ -88700,7 +88700,7 @@ var immutable = (() => {
|
|
|
88700
88700
|
(typeof p3 == "string" || typeof l5 == "string" || typeof l5 == "number" || typeof l5 == "boolean") && c4.push([p3, l5.toString()]);
|
|
88701
88701
|
}), c4;
|
|
88702
88702
|
};
|
|
88703
|
-
var kr = "2.0.0-alpha.
|
|
88703
|
+
var kr = "2.0.0-alpha.14";
|
|
88704
88704
|
var Je = () => ir() ? "" : window.location.ancestorOrigins && window.location.ancestorOrigins.length > 0 ? new URL(window.location.ancestorOrigins[0]).hostname : document.referrer ? new URL(window.document.referrer).hostname : "";
|
|
88705
88705
|
var ze = () => {
|
|
88706
88706
|
if (ir()) return "";
|
|
@@ -91584,7 +91584,7 @@ Cause: ${o3.message}
|
|
|
91584
91584
|
this.config = e2, this.activitiesApi = new Xe2(e2.indexer), this.chainsApi = new Ze2(e2.indexer), this.collectionApi = new Je2(e2.indexer), this.nftOwnersApi = new st2(e2.indexer), this.nftsApi = new at(e2.indexer), this.ordersApi = new nt2(e2.orderBook), this.passportApi = new ot2(e2.passport), this.passportProfileApi = new it2(e2.passport), this.guardianApi = new et2(e2.passport);
|
|
91585
91585
|
}
|
|
91586
91586
|
};
|
|
91587
|
-
var un2 = { "x-sdk-version": "ts-immutable-sdk-2.0.0-alpha.
|
|
91587
|
+
var un2 = { "x-sdk-version": "ts-immutable-sdk-2.0.0-alpha.14" };
|
|
91588
91588
|
var Z = ({ basePath: o3, headers: e2 }) => {
|
|
91589
91589
|
if (!o3.trim()) throw Error("basePath can not be empty");
|
|
91590
91590
|
let t3 = { ...un2, ...e2 || {} }, r9 = { basePath: o3, baseOptions: { headers: t3 } };
|
|
@@ -91603,7 +91603,7 @@ Cause: ${o3.message}
|
|
|
91603
91603
|
super(e2), this.code = t3, this.details = u7, this.link = h5, this.traceId = p3;
|
|
91604
91604
|
}
|
|
91605
91605
|
};
|
|
91606
|
-
var R = { sdkVersion: "ts-immutable-sdk-multi-rollup-api-client-2.0.0-alpha.
|
|
91606
|
+
var R = { sdkVersion: "ts-immutable-sdk-multi-rollup-api-client-2.0.0-alpha.14" };
|
|
91607
91607
|
var c = (a2) => {
|
|
91608
91608
|
let { baseConfig: e2, basePath: t3, headers: u7 } = a2;
|
|
91609
91609
|
if (!t3.trim()) throw Error("basePath can not be empty");
|
|
@@ -119231,14 +119231,14 @@ Cause: ${o3.message}
|
|
|
119231
119231
|
};
|
|
119232
119232
|
var B = class extends ir2.Configuration {
|
|
119233
119233
|
};
|
|
119234
|
-
var ne3 = { "x-sdk-version": "ts-immutable-sdk-2.0.0-alpha.
|
|
119234
|
+
var ne3 = { "x-sdk-version": "ts-immutable-sdk-2.0.0-alpha.14" };
|
|
119235
119235
|
var Qe3 = ({ coreContractAddress: t3, registrationContractAddress: e2, registrationV4ContractAddress: a2, chainID: f8, basePath: n6, headers: i3, sdkVersion: s2, baseConfig: o3 }) => {
|
|
119236
119236
|
if (!n6.trim()) throw Error("basePath can not be empty");
|
|
119237
119237
|
s2 && (ne3["x-sdk-version"] = s2), i3 = { ...i3 || {}, ...p(o3, { headers: i3 })?.headers || {}, ...ne3 };
|
|
119238
119238
|
let m3 = { basePath: n6, baseOptions: { headers: i3 } };
|
|
119239
119239
|
return { apiConfiguration: new B(m3), ethConfiguration: { coreContractAddress: t3, registrationContractAddress: e2, registrationV4ContractAddress: a2, chainID: f8 } };
|
|
119240
119240
|
};
|
|
119241
|
-
var ce3 = ({ basePath: t3, chainID: e2, coreContractAddress: a2, registrationContractAddress: f8, registrationV4ContractAddress: n6, baseConfig: i3 }) => Qe3({ basePath: t3, chainID: e2, coreContractAddress: a2, registrationContractAddress: f8, registrationV4ContractAddress: n6, sdkVersion: "ts-immutable-sdk-2.0.0-alpha.
|
|
119241
|
+
var ce3 = ({ basePath: t3, chainID: e2, coreContractAddress: a2, registrationContractAddress: f8, registrationV4ContractAddress: n6, baseConfig: i3 }) => Qe3({ basePath: t3, chainID: e2, coreContractAddress: a2, registrationContractAddress: f8, registrationV4ContractAddress: n6, sdkVersion: "ts-immutable-sdk-2.0.0-alpha.14", baseConfig: i3 });
|
|
119242
119242
|
var Ye3 = ({ baseConfig: t3 }) => ce3({ basePath: "https://api.x.immutable.com", chainID: 1, coreContractAddress: "0x5FDCCA53617f4d2b9134B29090C87D01058e27e9", registrationContractAddress: "0x72a06bf2a1CE5e39cBA06c0CAb824960B587d64c", registrationV4ContractAddress: "0xac88a57943b5BBa1ecd931F8494cAd0B7F717590", baseConfig: t3 });
|
|
119243
119243
|
var de2 = ({ baseConfig: t3 }) => ce3({ basePath: "https://api.sandbox.x.immutable.com", chainID: 11155111, coreContractAddress: "0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98", registrationContractAddress: "0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97", registrationV4ContractAddress: "0xd1527c65c6287ec5ab816d328eb83bb4cb690e92", baseConfig: t3 });
|
|
119244
119244
|
var V3 = class {
|
|
@@ -143568,7 +143568,7 @@ Cause: ${o3.message}
|
|
|
143568
143568
|
maxFeePerGas: BigInt(15e9),
|
|
143569
143569
|
maxPriorityFeePerGas: BigInt(1e10)
|
|
143570
143570
|
};
|
|
143571
|
-
var Wo = "2.0.0-alpha.
|
|
143571
|
+
var Wo = "2.0.0-alpha.14";
|
|
143572
143572
|
var at7 = () => false;
|
|
143573
143573
|
var ie6 = () => Wo;
|
|
143574
143574
|
var ve9 = (r9, e2) => {
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imtbl/sdk",
|
|
3
3
|
"description": "Immutable Typescript SDK",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.14",
|
|
5
5
|
"author": "Immutable",
|
|
6
6
|
"bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@imtbl/blockchain-data": "2.0.0-alpha.
|
|
9
|
-
"@imtbl/checkout-sdk": "2.0.0-alpha.
|
|
10
|
-
"@imtbl/config": "2.0.0-alpha.
|
|
11
|
-
"@imtbl/minting-backend": "2.0.0-alpha.
|
|
12
|
-
"@imtbl/orderbook": "2.0.0-alpha.
|
|
13
|
-
"@imtbl/passport": "2.0.0-alpha.
|
|
14
|
-
"@imtbl/webhook": "2.0.0-alpha.
|
|
15
|
-
"@imtbl/x-client": "2.0.0-alpha.
|
|
16
|
-
"@imtbl/x-provider": "2.0.0-alpha.
|
|
8
|
+
"@imtbl/blockchain-data": "2.0.0-alpha.14",
|
|
9
|
+
"@imtbl/checkout-sdk": "2.0.0-alpha.14",
|
|
10
|
+
"@imtbl/config": "2.0.0-alpha.14",
|
|
11
|
+
"@imtbl/minting-backend": "2.0.0-alpha.14",
|
|
12
|
+
"@imtbl/orderbook": "2.0.0-alpha.14",
|
|
13
|
+
"@imtbl/passport": "2.0.0-alpha.14",
|
|
14
|
+
"@imtbl/webhook": "2.0.0-alpha.14",
|
|
15
|
+
"@imtbl/x-client": "2.0.0-alpha.14",
|
|
16
|
+
"@imtbl/x-provider": "2.0.0-alpha.14"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"eslint": "^8.40.0",
|