@actalink/commonlib 0.0.37-dev → 0.0.39-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 +7 -8
- package/dist/index.js +7 -8
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1239,7 +1239,7 @@ var ActaAccount = class {
|
|
|
1239
1239
|
signer: this.signer
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
1242
|
-
const sessionKeyAddress = "
|
|
1242
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1243
1243
|
const emptyAccount = (0, import_sdk.addressToEmptyAccount)(sessionKeyAddress);
|
|
1244
1244
|
const emptySessionKeySigner = yield (0, import_signers.toECDSASigner)({ signer: emptyAccount });
|
|
1245
1245
|
const {
|
|
@@ -1367,7 +1367,7 @@ var ActaAccount = class {
|
|
|
1367
1367
|
signer: this.signer
|
|
1368
1368
|
}
|
|
1369
1369
|
);
|
|
1370
|
-
const sessionKeyAddress = "
|
|
1370
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1371
1371
|
const emptyAccount = (0, import_sdk.addressToEmptyAccount)(sessionKeyAddress);
|
|
1372
1372
|
const emptySessionKeySigner = yield (0, import_signers.toECDSASigner)({ signer: emptyAccount });
|
|
1373
1373
|
const {
|
|
@@ -1473,7 +1473,7 @@ var ActaAccount = class {
|
|
|
1473
1473
|
const viemClient = new ViemClient(this.chainId, this.signer);
|
|
1474
1474
|
const account = yield this.createAccount();
|
|
1475
1475
|
const { kernelAccountClient, accountClient } = yield this.createAccountHelpers();
|
|
1476
|
-
const sessionKeyAddress = "
|
|
1476
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1477
1477
|
const emptyAccount = (0, import_sdk.addressToEmptyAccount)(sessionKeyAddress);
|
|
1478
1478
|
const emptySessionKeySigner = yield (0, import_signers.toECDSASigner)({ signer: emptyAccount });
|
|
1479
1479
|
const callPolicy = (0, import_policies.toCallPolicy)({
|
|
@@ -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
|
@@ -1166,7 +1166,7 @@ var ActaAccount = class {
|
|
|
1166
1166
|
signer: this.signer
|
|
1167
1167
|
}
|
|
1168
1168
|
);
|
|
1169
|
-
const sessionKeyAddress = "
|
|
1169
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1170
1170
|
const emptyAccount = addressToEmptyAccount(sessionKeyAddress);
|
|
1171
1171
|
const emptySessionKeySigner = yield toECDSASigner({ signer: emptyAccount });
|
|
1172
1172
|
const {
|
|
@@ -1294,7 +1294,7 @@ var ActaAccount = class {
|
|
|
1294
1294
|
signer: this.signer
|
|
1295
1295
|
}
|
|
1296
1296
|
);
|
|
1297
|
-
const sessionKeyAddress = "
|
|
1297
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1298
1298
|
const emptyAccount = addressToEmptyAccount(sessionKeyAddress);
|
|
1299
1299
|
const emptySessionKeySigner = yield toECDSASigner({ signer: emptyAccount });
|
|
1300
1300
|
const {
|
|
@@ -1400,7 +1400,7 @@ var ActaAccount = class {
|
|
|
1400
1400
|
const viemClient = new ViemClient(this.chainId, this.signer);
|
|
1401
1401
|
const account = yield this.createAccount();
|
|
1402
1402
|
const { kernelAccountClient, accountClient } = yield this.createAccountHelpers();
|
|
1403
|
-
const sessionKeyAddress = "
|
|
1403
|
+
const sessionKeyAddress = "0x182f375CD15102B22A55702a516d36f8a6443E40";
|
|
1404
1404
|
const emptyAccount = addressToEmptyAccount(sessionKeyAddress);
|
|
1405
1405
|
const emptySessionKeySigner = yield toECDSASigner({ signer: emptyAccount });
|
|
1406
1406
|
const callPolicy = toCallPolicy({
|
|
@@ -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" }],
|