@actalink/commonlib 0.0.36 → 0.0.38-dev
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 +8 -9
- package/dist/index.js +8 -9
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2153,8 +2153,8 @@ var ActaDeposit = class {
|
|
|
2153
2153
|
|
|
2154
2154
|
// src/billing.ts
|
|
2155
2155
|
var import_viem6 = require("viem");
|
|
2156
|
-
var billingServiceUrl = "https://api.
|
|
2157
|
-
var billingServiceTestUrl = "https://api.
|
|
2156
|
+
var billingServiceUrl = "https://api.fhoton.xyz/pay/api/v1/";
|
|
2157
|
+
var billingServiceTestUrl = "https://api.fhoton.xyz/pay/test/api/v1/";
|
|
2158
2158
|
var returnEnvUrl2 = (chainId) => {
|
|
2159
2159
|
const mainnetChain = mainnetChains.find((c) => c.id === chainId);
|
|
2160
2160
|
const testnetChain = testnetChains.find((c) => c.id === chainId);
|
|
@@ -2394,8 +2394,8 @@ var ActaBilling = class {
|
|
|
2394
2394
|
|
|
2395
2395
|
// src/batch.ts
|
|
2396
2396
|
var import_viem7 = require("viem");
|
|
2397
|
-
var batchServiceUrl = "https://api.
|
|
2398
|
-
var batchServiceTestUrl = "https://api.
|
|
2397
|
+
var batchServiceUrl = "https://api.fhoton.xyz/bexo/api/v1/";
|
|
2398
|
+
var batchServiceTestUrl = "https://api.fhoton.xyz/bexo/test/api/v1/";
|
|
2399
2399
|
var returnEnvUrl3 = (chainId) => {
|
|
2400
2400
|
const mainnetChain = mainnetChains.find((c) => c.id === chainId);
|
|
2401
2401
|
const testnetChain = testnetChains.find((c) => c.id === chainId);
|
|
@@ -2622,8 +2622,7 @@ var ActaBatch = class {
|
|
|
2622
2622
|
},
|
|
2623
2623
|
serviceParams
|
|
2624
2624
|
);
|
|
2625
|
-
|
|
2626
|
-
return txn.transaction.id;
|
|
2625
|
+
return txn;
|
|
2627
2626
|
} catch (error) {
|
|
2628
2627
|
if (error instanceof Error) {
|
|
2629
2628
|
throw new Error(error.message);
|
|
@@ -2864,10 +2863,10 @@ var import_account_abstraction2 = require("viem/account-abstraction");
|
|
|
2864
2863
|
var import_policies2 = require("@zerodev/permissions/policies");
|
|
2865
2864
|
var import_semver = require("semver");
|
|
2866
2865
|
var ECDSA_SIGNER_CONTRACT = "0x6A6F069E2a08c2468e7724Ab3250CdBFBA14D4FF";
|
|
2867
|
-
var billingServiceUrl2 = "https://api.
|
|
2866
|
+
var billingServiceUrl2 = "https://api.fhoton.xyz/pay/v1/";
|
|
2868
2867
|
var depositServiceUrl2 = "https://api.acta.link/bexo/v1/";
|
|
2869
|
-
var transactionServiceUrl2 = "https://api.
|
|
2870
|
-
var billingServiceTestUrl2 = "https://api.
|
|
2868
|
+
var transactionServiceUrl2 = "https://api.fhoton.xyz/transaction/v1/";
|
|
2869
|
+
var billingServiceTestUrl2 = "https://api.fhoton.xyz/pay/test/v1/";
|
|
2871
2870
|
var toSignerId = (signer) => {
|
|
2872
2871
|
return (0, import_viem8.encodeAbiParameters)(
|
|
2873
2872
|
[{ name: "signerData", type: "bytes" }],
|
package/dist/index.js
CHANGED
|
@@ -2080,8 +2080,8 @@ var ActaDeposit = class {
|
|
|
2080
2080
|
|
|
2081
2081
|
// src/billing.ts
|
|
2082
2082
|
import { toHex as toHex3 } from "viem";
|
|
2083
|
-
var billingServiceUrl = "https://api.
|
|
2084
|
-
var billingServiceTestUrl = "https://api.
|
|
2083
|
+
var billingServiceUrl = "https://api.fhoton.xyz/pay/api/v1/";
|
|
2084
|
+
var billingServiceTestUrl = "https://api.fhoton.xyz/pay/test/api/v1/";
|
|
2085
2085
|
var returnEnvUrl2 = (chainId) => {
|
|
2086
2086
|
const mainnetChain = mainnetChains.find((c) => c.id === chainId);
|
|
2087
2087
|
const testnetChain = testnetChains.find((c) => c.id === chainId);
|
|
@@ -2326,8 +2326,8 @@ import {
|
|
|
2326
2326
|
toHex as toHex4,
|
|
2327
2327
|
zeroAddress as zeroAddress4
|
|
2328
2328
|
} from "viem";
|
|
2329
|
-
var batchServiceUrl = "https://api.
|
|
2330
|
-
var batchServiceTestUrl = "https://api.
|
|
2329
|
+
var batchServiceUrl = "https://api.fhoton.xyz/bexo/api/v1/";
|
|
2330
|
+
var batchServiceTestUrl = "https://api.fhoton.xyz/bexo/test/api/v1/";
|
|
2331
2331
|
var returnEnvUrl3 = (chainId) => {
|
|
2332
2332
|
const mainnetChain = mainnetChains.find((c) => c.id === chainId);
|
|
2333
2333
|
const testnetChain = testnetChains.find((c) => c.id === chainId);
|
|
@@ -2554,8 +2554,7 @@ var ActaBatch = class {
|
|
|
2554
2554
|
},
|
|
2555
2555
|
serviceParams
|
|
2556
2556
|
);
|
|
2557
|
-
|
|
2558
|
-
return txn.transaction.id;
|
|
2557
|
+
return txn;
|
|
2559
2558
|
} catch (error) {
|
|
2560
2559
|
if (error instanceof Error) {
|
|
2561
2560
|
throw new Error(error.message);
|
|
@@ -2827,10 +2826,10 @@ import {
|
|
|
2827
2826
|
} from "@zerodev/permissions/policies";
|
|
2828
2827
|
import { coerce, gt } from "semver";
|
|
2829
2828
|
var ECDSA_SIGNER_CONTRACT = "0x6A6F069E2a08c2468e7724Ab3250CdBFBA14D4FF";
|
|
2830
|
-
var billingServiceUrl2 = "https://api.
|
|
2829
|
+
var billingServiceUrl2 = "https://api.fhoton.xyz/pay/v1/";
|
|
2831
2830
|
var depositServiceUrl2 = "https://api.acta.link/bexo/v1/";
|
|
2832
|
-
var transactionServiceUrl2 = "https://api.
|
|
2833
|
-
var billingServiceTestUrl2 = "https://api.
|
|
2831
|
+
var transactionServiceUrl2 = "https://api.fhoton.xyz/transaction/v1/";
|
|
2832
|
+
var billingServiceTestUrl2 = "https://api.fhoton.xyz/pay/test/v1/";
|
|
2834
2833
|
var toSignerId = (signer) => {
|
|
2835
2834
|
return encodeAbiParameters(
|
|
2836
2835
|
[{ name: "signerData", type: "bytes" }],
|