@virtuals-protocol/acp-node 0.3.0-beta.11 → 0.3.0-beta.12
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.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55,7 +55,7 @@ var require_package = __commonJS({
|
|
|
55
55
|
"package.json"(exports2, module2) {
|
|
56
56
|
module2.exports = {
|
|
57
57
|
name: "@virtuals-protocol/acp-node",
|
|
58
|
-
version: "0.3.0-beta.
|
|
58
|
+
version: "0.3.0-beta.12",
|
|
59
59
|
main: "./dist/index.js",
|
|
60
60
|
module: "./dist/index.mjs",
|
|
61
61
|
types: "./dist/index.d.ts",
|
|
@@ -3853,7 +3853,7 @@ var AcpJob = class {
|
|
|
3853
3853
|
content,
|
|
3854
3854
|
amount.amount,
|
|
3855
3855
|
recipient,
|
|
3856
|
-
this.priceType === "percentage" /* PERCENTAGE */ ? BigInt(this.priceValue * 1e4) : feeAmount.amount,
|
|
3856
|
+
this.priceType === "percentage" /* PERCENTAGE */ ? BigInt(Math.round(this.priceValue * 1e4)) : feeAmount.amount,
|
|
3857
3857
|
this.priceType === "percentage" /* PERCENTAGE */ ? 3 /* PERCENTAGE_FEE */ : 0 /* NO_FEE */,
|
|
3858
3858
|
2 /* TRANSACTION */,
|
|
3859
3859
|
type,
|
|
@@ -5918,7 +5918,6 @@ var AcpContractClientV2 = class _AcpContractClientV2 extends baseAcpContractClie
|
|
|
5918
5918
|
}
|
|
5919
5919
|
static build(_0, _1, _2) {
|
|
5920
5920
|
return __async(this, arguments, function* (walletPrivateKey, sessionEntityKeyId, agentWalletAddress, config = baseAcpConfigV2) {
|
|
5921
|
-
console.log("xxx", config.maxRetries);
|
|
5922
5921
|
const publicClient = (0, import_viem7.createPublicClient)({
|
|
5923
5922
|
chain: config.chain,
|
|
5924
5923
|
transport: (0, import_viem7.http)(config.rpcEndpoint)
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var require_package = __commonJS({
|
|
|
28
28
|
"package.json"(exports, module) {
|
|
29
29
|
module.exports = {
|
|
30
30
|
name: "@virtuals-protocol/acp-node",
|
|
31
|
-
version: "0.3.0-beta.
|
|
31
|
+
version: "0.3.0-beta.12",
|
|
32
32
|
main: "./dist/index.js",
|
|
33
33
|
module: "./dist/index.mjs",
|
|
34
34
|
types: "./dist/index.d.ts",
|
|
@@ -3805,7 +3805,7 @@ var AcpJob = class {
|
|
|
3805
3805
|
content,
|
|
3806
3806
|
amount.amount,
|
|
3807
3807
|
recipient,
|
|
3808
|
-
this.priceType === "percentage" /* PERCENTAGE */ ? BigInt(this.priceValue * 1e4) : feeAmount.amount,
|
|
3808
|
+
this.priceType === "percentage" /* PERCENTAGE */ ? BigInt(Math.round(this.priceValue * 1e4)) : feeAmount.amount,
|
|
3809
3809
|
this.priceType === "percentage" /* PERCENTAGE */ ? 3 /* PERCENTAGE_FEE */ : 0 /* NO_FEE */,
|
|
3810
3810
|
2 /* TRANSACTION */,
|
|
3811
3811
|
type,
|
|
@@ -5876,7 +5876,6 @@ var AcpContractClientV2 = class _AcpContractClientV2 extends baseAcpContractClie
|
|
|
5876
5876
|
}
|
|
5877
5877
|
static build(_0, _1, _2) {
|
|
5878
5878
|
return __async(this, arguments, function* (walletPrivateKey, sessionEntityKeyId, agentWalletAddress, config = baseAcpConfigV2) {
|
|
5879
|
-
console.log("xxx", config.maxRetries);
|
|
5880
5879
|
const publicClient = createPublicClient4({
|
|
5881
5880
|
chain: config.chain,
|
|
5882
5881
|
transport: http3(config.rpcEndpoint)
|