@actalink/commonlib 0.0.29 → 0.0.31

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.cjs CHANGED
@@ -1780,10 +1780,10 @@ function fetchBatchInstructionDetails(url, APIKey) {
1780
1780
  }
1781
1781
 
1782
1782
  // src/deposit.ts
1783
- var transactionServiceUrl = "https://api.acta.link/transaction/v1/";
1784
- var depositServiceUrl = "https://api.acta.link/deposit/v1/";
1785
- var transactionServiceTestUrl = "https://api.acta.link/transaction/test/v1/";
1786
- var depositServiceTestUrl = "https://api.acta.link/deposit/test/v1/";
1783
+ var transactionServiceUrl = "https://api.acta.link/bexo/transaction/v1/";
1784
+ var depositServiceUrl = "https://api.acta.link/bexo/v1/";
1785
+ var transactionServiceTestUrl = "https://api.acta.link/bexo/transaction/test/v1/";
1786
+ var depositServiceTestUrl = "https://api.acta.link/bexo/test/v1/";
1787
1787
  var returnEnvUrl = (chainId) => {
1788
1788
  const mainnetChain = mainnetChains.find((c) => c.id === chainId);
1789
1789
  const testnetChain = testnetChains.find((c) => c.id === chainId);
@@ -2282,7 +2282,7 @@ var ActaBilling = class {
2282
2282
  },
2283
2283
  servicePaymentParams
2284
2284
  );
2285
- return txn.transaction.id;
2285
+ return txn;
2286
2286
  } catch (error) {
2287
2287
  if (error instanceof Error) {
2288
2288
  throw new Error(error.message);
@@ -2354,7 +2354,7 @@ var ActaBilling = class {
2354
2354
  },
2355
2355
  __spreadValues({}, servicePaymentParams)
2356
2356
  );
2357
- return txn.recurringTransaction.id;
2357
+ return txn;
2358
2358
  });
2359
2359
  }
2360
2360
  getPaymentSteps() {
@@ -2865,7 +2865,7 @@ var import_policies2 = require("@zerodev/permissions/policies");
2865
2865
  var import_semver = require("semver");
2866
2866
  var ECDSA_SIGNER_CONTRACT = "0x6A6F069E2a08c2468e7724Ab3250CdBFBA14D4FF";
2867
2867
  var billingServiceUrl2 = "https://api.acta.link/pay/v1/";
2868
- var depositServiceUrl2 = "https://api.acta.link/deposit/v1/";
2868
+ var depositServiceUrl2 = "https://api.acta.link/bexo/v1/";
2869
2869
  var transactionServiceUrl2 = "https://api.acta.link/transaction/v1/";
2870
2870
  var billingServiceTestUrl2 = "https://api.acta.link/pay/test/v1/";
2871
2871
  var toSignerId = (signer) => {
package/dist/index.js CHANGED
@@ -1707,10 +1707,10 @@ function fetchBatchInstructionDetails(url, APIKey) {
1707
1707
  }
1708
1708
 
1709
1709
  // src/deposit.ts
1710
- var transactionServiceUrl = "https://api.acta.link/transaction/v1/";
1711
- var depositServiceUrl = "https://api.acta.link/deposit/v1/";
1712
- var transactionServiceTestUrl = "https://api.acta.link/transaction/test/v1/";
1713
- var depositServiceTestUrl = "https://api.acta.link/deposit/test/v1/";
1710
+ var transactionServiceUrl = "https://api.acta.link/bexo/transaction/v1/";
1711
+ var depositServiceUrl = "https://api.acta.link/bexo/v1/";
1712
+ var transactionServiceTestUrl = "https://api.acta.link/bexo/transaction/test/v1/";
1713
+ var depositServiceTestUrl = "https://api.acta.link/bexo/test/v1/";
1714
1714
  var returnEnvUrl = (chainId) => {
1715
1715
  const mainnetChain = mainnetChains.find((c) => c.id === chainId);
1716
1716
  const testnetChain = testnetChains.find((c) => c.id === chainId);
@@ -2209,7 +2209,7 @@ var ActaBilling = class {
2209
2209
  },
2210
2210
  servicePaymentParams
2211
2211
  );
2212
- return txn.transaction.id;
2212
+ return txn;
2213
2213
  } catch (error) {
2214
2214
  if (error instanceof Error) {
2215
2215
  throw new Error(error.message);
@@ -2281,7 +2281,7 @@ var ActaBilling = class {
2281
2281
  },
2282
2282
  __spreadValues({}, servicePaymentParams)
2283
2283
  );
2284
- return txn.recurringTransaction.id;
2284
+ return txn;
2285
2285
  });
2286
2286
  }
2287
2287
  getPaymentSteps() {
@@ -2828,7 +2828,7 @@ import {
2828
2828
  import { coerce, gt } from "semver";
2829
2829
  var ECDSA_SIGNER_CONTRACT = "0x6A6F069E2a08c2468e7724Ab3250CdBFBA14D4FF";
2830
2830
  var billingServiceUrl2 = "https://api.acta.link/pay/v1/";
2831
- var depositServiceUrl2 = "https://api.acta.link/deposit/v1/";
2831
+ var depositServiceUrl2 = "https://api.acta.link/bexo/v1/";
2832
2832
  var transactionServiceUrl2 = "https://api.acta.link/transaction/v1/";
2833
2833
  var billingServiceTestUrl2 = "https://api.acta.link/pay/test/v1/";
2834
2834
  var toSignerId = (signer) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actalink/commonlib",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "author": "Actalink",
5
5
  "license": "MIT license",
6
6
  "publishConfig": {