@actalink/sdkv2 0.1.4 → 0.1.5

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
@@ -57,8 +57,8 @@ var __async = (__this, __arguments, generator) => {
57
57
  // src/index.ts
58
58
  var index_exports = {};
59
59
  __export(index_exports, {
60
- ActaAccessSDK: () => ActaAccessSDK,
61
60
  ActaAccount: () => ActaAccount,
61
+ ActaFlexSDK: () => ActaFlexSDK,
62
62
  HttpMethod: () => HttpMethod,
63
63
  ViemClient: () => ViemClient,
64
64
  arbitrumDAI: () => arbitrumDAI,
@@ -807,8 +807,8 @@ var import_permissions = require("@zerodev/permissions");
807
807
  var import_policies = require("@zerodev/permissions/policies");
808
808
 
809
809
  // src/constants.ts
810
- var ACCESS_URL = "https://flex.acta.link/flex/deposit";
811
- var ACCESS_TESTNET_URL = "https://flex.acta.link/flex/deposit/test";
810
+ var ACCESS_URL = "https://flex-api.acta.link/flex/deposit";
811
+ var ACCESS_TESTNET_URL = "https://flex-api.acta.link/flex/deposit/test";
812
812
  var PROXY_URL = `https://api.acta.link/proxy/v1`;
813
813
 
814
814
  // src/account.ts
@@ -1461,8 +1461,8 @@ function createRecurringePaymentInternal(parameters) {
1461
1461
  });
1462
1462
  }
1463
1463
 
1464
- // src/access.ts
1465
- var ActaAccessSDK = class {
1464
+ // src/flex.ts
1465
+ var ActaFlexSDK = class {
1466
1466
  constructor(parameters) {
1467
1467
  this.projectId = parameters.projectId;
1468
1468
  }
@@ -1535,8 +1535,8 @@ var ActaAccessSDK = class {
1535
1535
  };
1536
1536
  // Annotate the CommonJS export names for ESM import in node:
1537
1537
  0 && (module.exports = {
1538
- ActaAccessSDK,
1539
1538
  ActaAccount,
1539
+ ActaFlexSDK,
1540
1540
  HttpMethod,
1541
1541
  ViemClient,
1542
1542
  arbitrumDAI,
package/dist/index.d.cts CHANGED
@@ -52967,7 +52967,7 @@ declare function fetchRecurringTransactionWithId(url: string): Promise<any>;
52967
52967
  declare function fetchPaymentStatus(url: string, id: string): Promise<any>;
52968
52968
  declare function waitForPaymentStatus(url: string, id: string, intervalMs?: number): Promise<PaymentStatus>;
52969
52969
 
52970
- declare class ActaAccessSDK {
52970
+ declare class ActaFlexSDK {
52971
52971
  private projectId;
52972
52972
  constructor(parameters: ActaAccessConfig);
52973
52973
  estimateSinglePaymentGasInToken(parameters: EstimateSinglePaymentGas): Promise<bigint>;
@@ -52976,4 +52976,4 @@ declare class ActaAccessSDK {
52976
52976
  waitForPaymentStatus(id: string, intervalMs?: number): Promise<PaymentStatus>;
52977
52977
  }
52978
52978
 
52979
- export { ActaAccessSDK, ActaAccount, HttpMethod, type HttpRequest, type JsonResponse, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeSinglePaymentAPICall, fetchPaymentStatus, fetchRecurringTransactionWithId, getChainById, getChainExplorerByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, supportedChains, supportedTokensByChain, testnetChains, token, tokensCommonSymbols, waitForPaymentStatus };
52979
+ export { ActaAccount, ActaFlexSDK, HttpMethod, type HttpRequest, type JsonResponse, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeSinglePaymentAPICall, fetchPaymentStatus, fetchRecurringTransactionWithId, getChainById, getChainExplorerByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, supportedChains, supportedTokensByChain, testnetChains, token, tokensCommonSymbols, waitForPaymentStatus };
package/dist/index.d.ts CHANGED
@@ -52967,7 +52967,7 @@ declare function fetchRecurringTransactionWithId(url: string): Promise<any>;
52967
52967
  declare function fetchPaymentStatus(url: string, id: string): Promise<any>;
52968
52968
  declare function waitForPaymentStatus(url: string, id: string, intervalMs?: number): Promise<PaymentStatus>;
52969
52969
 
52970
- declare class ActaAccessSDK {
52970
+ declare class ActaFlexSDK {
52971
52971
  private projectId;
52972
52972
  constructor(parameters: ActaAccessConfig);
52973
52973
  estimateSinglePaymentGasInToken(parameters: EstimateSinglePaymentGas): Promise<bigint>;
@@ -52976,4 +52976,4 @@ declare class ActaAccessSDK {
52976
52976
  waitForPaymentStatus(id: string, intervalMs?: number): Promise<PaymentStatus>;
52977
52977
  }
52978
52978
 
52979
- export { ActaAccessSDK, ActaAccount, HttpMethod, type HttpRequest, type JsonResponse, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeSinglePaymentAPICall, fetchPaymentStatus, fetchRecurringTransactionWithId, getChainById, getChainExplorerByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, supportedChains, supportedTokensByChain, testnetChains, token, tokensCommonSymbols, waitForPaymentStatus };
52979
+ export { ActaAccount, ActaFlexSDK, HttpMethod, type HttpRequest, type JsonResponse, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeSinglePaymentAPICall, fetchPaymentStatus, fetchRecurringTransactionWithId, getChainById, getChainExplorerByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, supportedChains, supportedTokensByChain, testnetChains, token, tokensCommonSymbols, waitForPaymentStatus };
package/dist/index.js CHANGED
@@ -755,8 +755,8 @@ import {
755
755
  } from "@zerodev/permissions/policies";
756
756
 
757
757
  // src/constants.ts
758
- var ACCESS_URL = "https://flex.acta.link/flex/deposit";
759
- var ACCESS_TESTNET_URL = "https://flex.acta.link/flex/deposit/test";
758
+ var ACCESS_URL = "https://flex-api.acta.link/flex/deposit";
759
+ var ACCESS_TESTNET_URL = "https://flex-api.acta.link/flex/deposit/test";
760
760
  var PROXY_URL = `https://api.acta.link/proxy/v1`;
761
761
 
762
762
  // src/account.ts
@@ -1409,8 +1409,8 @@ function createRecurringePaymentInternal(parameters) {
1409
1409
  });
1410
1410
  }
1411
1411
 
1412
- // src/access.ts
1413
- var ActaAccessSDK = class {
1412
+ // src/flex.ts
1413
+ var ActaFlexSDK = class {
1414
1414
  constructor(parameters) {
1415
1415
  this.projectId = parameters.projectId;
1416
1416
  }
@@ -1482,8 +1482,8 @@ var ActaAccessSDK = class {
1482
1482
  }
1483
1483
  };
1484
1484
  export {
1485
- ActaAccessSDK,
1486
1485
  ActaAccount,
1486
+ ActaFlexSDK,
1487
1487
  HttpMethod,
1488
1488
  ViemClient,
1489
1489
  arbitrumDAI,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actalink/sdkv2",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "author": "Actalink",
5
5
  "license": "MIT license",
6
6
  "publishConfig": {