@imtbl/sdk 2.0.0 → 2.0.1-alpha.0

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.
@@ -88727,7 +88727,7 @@ var immutable = (() => {
88727
88727
  (typeof p3 == "string" || typeof l5 == "string" || typeof l5 == "number" || typeof l5 == "boolean") && c4.push([p3, l5.toString()]);
88728
88728
  }), c4;
88729
88729
  };
88730
- var kr = "2.0.0";
88730
+ var kr = "2.0.1-alpha.0";
88731
88731
  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 : "";
88732
88732
  var ze = () => {
88733
88733
  if (ir()) return "";
@@ -91611,7 +91611,7 @@ Cause: ${o3.message}
91611
91611
  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);
91612
91612
  }
91613
91613
  };
91614
- var un2 = { "x-sdk-version": "ts-immutable-sdk-2.0.0" };
91614
+ var un2 = { "x-sdk-version": "ts-immutable-sdk-2.0.1-alpha.0" };
91615
91615
  var Z = ({ basePath: o3, headers: e2 }) => {
91616
91616
  if (!o3.trim()) throw Error("basePath can not be empty");
91617
91617
  let t3 = { ...un2, ...e2 || {} }, r9 = { basePath: o3, baseOptions: { headers: t3 } };
@@ -91630,7 +91630,7 @@ Cause: ${o3.message}
91630
91630
  super(e2), this.code = t3, this.details = u7, this.link = h5, this.traceId = p3;
91631
91631
  }
91632
91632
  };
91633
- var R2 = { sdkVersion: "ts-immutable-sdk-multi-rollup-api-client-2.0.0" };
91633
+ var R2 = { sdkVersion: "ts-immutable-sdk-multi-rollup-api-client-2.0.1-alpha.0" };
91634
91634
  var c = (a2) => {
91635
91635
  let { baseConfig: e2, basePath: t3, headers: u7 } = a2;
91636
91636
  if (!t3.trim()) throw Error("basePath can not be empty");
@@ -119258,14 +119258,14 @@ Cause: ${o3.message}
119258
119258
  };
119259
119259
  var B = class extends ir2.Configuration {
119260
119260
  };
119261
- var ne3 = { "x-sdk-version": "ts-immutable-sdk-2.0.0" };
119261
+ var ne3 = { "x-sdk-version": "ts-immutable-sdk-2.0.1-alpha.0" };
119262
119262
  var Qe3 = ({ coreContractAddress: t3, registrationContractAddress: e2, registrationV4ContractAddress: a2, chainID: f8, basePath: n6, headers: i3, sdkVersion: s2, baseConfig: o3 }) => {
119263
119263
  if (!n6.trim()) throw Error("basePath can not be empty");
119264
119264
  s2 && (ne3["x-sdk-version"] = s2), i3 = { ...i3 || {}, ...p(o3, { headers: i3 })?.headers || {}, ...ne3 };
119265
119265
  let m3 = { basePath: n6, baseOptions: { headers: i3 } };
119266
119266
  return { apiConfiguration: new B(m3), ethConfiguration: { coreContractAddress: t3, registrationContractAddress: e2, registrationV4ContractAddress: a2, chainID: f8 } };
119267
119267
  };
119268
- 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", baseConfig: i3 });
119268
+ 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.1-alpha.0", baseConfig: i3 });
119269
119269
  var Ye3 = ({ baseConfig: t3 }) => ce3({ basePath: "https://api.x.immutable.com", chainID: 1, coreContractAddress: "0x5FDCCA53617f4d2b9134B29090C87D01058e27e9", registrationContractAddress: "0x72a06bf2a1CE5e39cBA06c0CAb824960B587d64c", registrationV4ContractAddress: "0xac88a57943b5BBa1ecd931F8494cAd0B7F717590", baseConfig: t3 });
119270
119270
  var de2 = ({ baseConfig: t3 }) => ce3({ basePath: "https://api.sandbox.x.immutable.com", chainID: 11155111, coreContractAddress: "0x2d5C349fD8464DA06a3f90b4B0E9195F3d1b7F98", registrationContractAddress: "0xDbA6129C02E69405622fAdc3d5A7f8d23eac3b97", registrationV4ContractAddress: "0xd1527c65c6287ec5ab816d328eb83bb4cb690e92", baseConfig: t3 });
119271
119271
  var V3 = class {
@@ -143612,7 +143612,7 @@ Cause: ${o3.message}
143612
143612
  maxFeePerGas: BigInt(15e9),
143613
143613
  maxPriorityFeePerGas: BigInt(1e10)
143614
143614
  };
143615
- var Do = "2.0.0";
143615
+ var Do = "2.0.1-alpha.0";
143616
143616
  var at7 = () => false;
143617
143617
  var Se7 = () => Do;
143618
143618
  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",
4
+ "version": "2.0.1-alpha.0",
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",
9
- "@imtbl/checkout-sdk": "2.0.0",
10
- "@imtbl/config": "2.0.0",
11
- "@imtbl/minting-backend": "2.0.0",
12
- "@imtbl/orderbook": "2.0.0",
13
- "@imtbl/passport": "2.0.0",
14
- "@imtbl/webhook": "2.0.0",
15
- "@imtbl/x-client": "2.0.0",
16
- "@imtbl/x-provider": "2.0.0"
8
+ "@imtbl/blockchain-data": "2.0.1-alpha.0",
9
+ "@imtbl/checkout-sdk": "2.0.1-alpha.0",
10
+ "@imtbl/config": "2.0.1-alpha.0",
11
+ "@imtbl/minting-backend": "2.0.1-alpha.0",
12
+ "@imtbl/orderbook": "2.0.1-alpha.0",
13
+ "@imtbl/passport": "2.0.1-alpha.0",
14
+ "@imtbl/webhook": "2.0.1-alpha.0",
15
+ "@imtbl/x-client": "2.0.1-alpha.0",
16
+ "@imtbl/x-provider": "2.0.1-alpha.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "eslint": "^8.40.0",