@actalink/commonlib 0.1.1-dev → 0.1.1

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
@@ -85,7 +85,6 @@ __export(index_exports, {
85
85
  bscBNB: () => bscBNB,
86
86
  bscUSDC: () => bscUSDC,
87
87
  bscUSDT: () => bscUSDT,
88
- bscWBNB: () => bscWBNB,
89
88
  bytesToBase64: () => bytesToBase64,
90
89
  cancelRecurringPaymentAPICall: () => cancelRecurringPaymentAPICall,
91
90
  cancelRecurringTransaction: () => cancelRecurringTransaction,
@@ -337,14 +336,6 @@ var bscBNB = nativeToken({
337
336
  symbol: "BNB",
338
337
  logoURI: "https://api.acta.link/deposit/v1/logos/bnb.png" /* BNB */
339
338
  });
340
- var bscWBNB = token({
341
- chainId: import_chains3.bsc.id,
342
- address: (0, import_viem.getAddress)("0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"),
343
- decimals: 18,
344
- name: "Wrapped BNB",
345
- symbol: "WBNB",
346
- logoURI: "https://api.acta.link/deposit/v1/logos/bnb.png" /* BNB */
347
- });
348
339
  var bscUSDC = token({
349
340
  chainId: import_chains3.bsc.id,
350
341
  address: (0, import_viem.getAddress)("0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"),
@@ -2872,8 +2863,8 @@ var ActaFlexBatch = class {
2872
2863
 
2873
2864
  // src/billing.ts
2874
2865
  var import_viem7 = require("viem");
2875
- var billingServiceUrl = "https://pay-api.fhoton.xyz/pay/api/v1/";
2876
- var billingServiceTestUrl = "https://pay-api.fhoton.xyz/pay/test/api/v1/";
2866
+ var billingServiceUrl = "https://api.acta.link/pay/api/v1/";
2867
+ var billingServiceTestUrl = "https://api.acta.link/pay/test/api/v1/";
2877
2868
  var returnEnvUrl3 = (chainId) => {
2878
2869
  const mainnetChain = mainnetChains.find((c) => c.id === chainId);
2879
2870
  const testnetChain = testnetChains.find((c) => c.id === chainId);
@@ -4124,7 +4115,6 @@ var cancelRecurringTransaction = (_0) => __async(null, [_0], function* ({
4124
4115
  bscBNB,
4125
4116
  bscUSDC,
4126
4117
  bscUSDT,
4127
- bscWBNB,
4128
4118
  bytesToBase64,
4129
4119
  cancelRecurringPaymentAPICall,
4130
4120
  cancelRecurringTransaction,
package/dist/index.d.cts CHANGED
@@ -216,7 +216,6 @@ declare const baseUSDbC: Token;
216
216
  declare const baseDAI: Token;
217
217
  declare const baseUSDT: Token;
218
218
  declare const bscBNB: Token;
219
- declare const bscWBNB: Token;
220
219
  declare const bscUSDC: Token;
221
220
  declare const bscUSDT: Token;
222
221
  declare const ethereumETH: Token;
@@ -12444,4 +12443,4 @@ declare function createBatchSessionAPICall(url: string, APIKey: string, params:
12444
12443
  }): Promise<any>;
12445
12444
  declare function fetchBatchInstructionDetails(url: string, APIKey: string): Promise<any>;
12446
12445
 
12447
- export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type ApproveToken, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, type CheckAllowance, ConnectorType, type DepositClassParams, type EstimatePaymentAmount, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, type GetTransactionReceipt, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, scheduleSubscriptionPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
12446
+ export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type ApproveToken, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, type CheckAllowance, ConnectorType, type DepositClassParams, type EstimatePaymentAmount, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, type GetTransactionReceipt, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, scheduleSubscriptionPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
package/dist/index.d.ts CHANGED
@@ -216,7 +216,6 @@ declare const baseUSDbC: Token;
216
216
  declare const baseDAI: Token;
217
217
  declare const baseUSDT: Token;
218
218
  declare const bscBNB: Token;
219
- declare const bscWBNB: Token;
220
219
  declare const bscUSDC: Token;
221
220
  declare const bscUSDT: Token;
222
221
  declare const ethereumETH: Token;
@@ -12444,4 +12443,4 @@ declare function createBatchSessionAPICall(url: string, APIKey: string, params:
12444
12443
  }): Promise<any>;
12445
12444
  declare function fetchBatchInstructionDetails(url: string, APIKey: string): Promise<any>;
12446
12445
 
12447
- export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type ApproveToken, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, type CheckAllowance, ConnectorType, type DepositClassParams, type EstimatePaymentAmount, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, type GetTransactionReceipt, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, scheduleSubscriptionPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
12446
+ export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaFlexBatch, ActaFlexDeposit, type ApproveToken, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, type CheckAllowance, ConnectorType, type DepositClassParams, type EstimatePaymentAmount, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, type GetTransactionReceipt, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleBatchPaymentWithoutKeyClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SingleBatchPaymentWithoutKeyClassParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, scheduleSubscriptionPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
package/dist/index.js CHANGED
@@ -231,14 +231,6 @@ var bscBNB = nativeToken({
231
231
  symbol: "BNB",
232
232
  logoURI: "https://api.acta.link/deposit/v1/logos/bnb.png" /* BNB */
233
233
  });
234
- var bscWBNB = token({
235
- chainId: bsc2.id,
236
- address: getAddress("0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"),
237
- decimals: 18,
238
- name: "Wrapped BNB",
239
- symbol: "WBNB",
240
- logoURI: "https://api.acta.link/deposit/v1/logos/bnb.png" /* BNB */
241
- });
242
234
  var bscUSDC = token({
243
235
  chainId: bsc2.id,
244
236
  address: getAddress("0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"),
@@ -2806,8 +2798,8 @@ var ActaFlexBatch = class {
2806
2798
 
2807
2799
  // src/billing.ts
2808
2800
  import { toHex as toHex5 } from "viem";
2809
- var billingServiceUrl = "https://pay-api.fhoton.xyz/pay/api/v1/";
2810
- var billingServiceTestUrl = "https://pay-api.fhoton.xyz/pay/test/api/v1/";
2801
+ var billingServiceUrl = "https://api.acta.link/pay/api/v1/";
2802
+ var billingServiceTestUrl = "https://api.acta.link/pay/test/api/v1/";
2811
2803
  var returnEnvUrl3 = (chainId) => {
2812
2804
  const mainnetChain = mainnetChains.find((c) => c.id === chainId);
2813
2805
  const testnetChain = testnetChains.find((c) => c.id === chainId);
@@ -4093,7 +4085,6 @@ export {
4093
4085
  bscBNB,
4094
4086
  bscUSDC,
4095
4087
  bscUSDT,
4096
- bscWBNB,
4097
4088
  bytesToBase64,
4098
4089
  cancelRecurringPaymentAPICall,
4099
4090
  cancelRecurringTransaction,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actalink/commonlib",
3
- "version": "0.1.1-dev",
3
+ "version": "0.1.1",
4
4
  "author": "Actalink",
5
5
  "license": "MIT license",
6
6
  "publishConfig": {