anymal-protocol 1.0.40 → 1.0.41
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 +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -860,6 +860,7 @@ function useApproveKibbleToken() {
|
|
|
860
860
|
// amount to approve
|
|
861
861
|
]
|
|
862
862
|
});
|
|
863
|
+
console.log("About to call sendUserOperation");
|
|
863
864
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
864
865
|
account: smartAccount,
|
|
865
866
|
calls: [
|
|
@@ -871,11 +872,14 @@ function useApproveKibbleToken() {
|
|
|
871
872
|
maxPriorityFeePerGas: (0, import_viem4.parseGwei)("0.001")
|
|
872
873
|
// maxFeePerGas: parseGwei("0.01"),
|
|
873
874
|
});
|
|
875
|
+
console.log("sendUserOperation has been called");
|
|
876
|
+
console.log("About to call waitForUserOperationReceipt");
|
|
874
877
|
await bundlerClient.waitForUserOperationReceipt({
|
|
875
878
|
hash: userOpHash,
|
|
876
879
|
timeout: 3e4,
|
|
877
880
|
retryCount: 10
|
|
878
881
|
});
|
|
882
|
+
console.log("waitForUserOperationReceipt has been called");
|
|
879
883
|
return {
|
|
880
884
|
success: true,
|
|
881
885
|
message: "Approval transaction completed successfully."
|
package/dist/index.mjs
CHANGED
|
@@ -815,6 +815,7 @@ function useApproveKibbleToken() {
|
|
|
815
815
|
// amount to approve
|
|
816
816
|
]
|
|
817
817
|
});
|
|
818
|
+
console.log("About to call sendUserOperation");
|
|
818
819
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
819
820
|
account: smartAccount,
|
|
820
821
|
calls: [
|
|
@@ -826,11 +827,14 @@ function useApproveKibbleToken() {
|
|
|
826
827
|
maxPriorityFeePerGas: parseGwei4("0.001")
|
|
827
828
|
// maxFeePerGas: parseGwei("0.01"),
|
|
828
829
|
});
|
|
830
|
+
console.log("sendUserOperation has been called");
|
|
831
|
+
console.log("About to call waitForUserOperationReceipt");
|
|
829
832
|
await bundlerClient.waitForUserOperationReceipt({
|
|
830
833
|
hash: userOpHash,
|
|
831
834
|
timeout: 3e4,
|
|
832
835
|
retryCount: 10
|
|
833
836
|
});
|
|
837
|
+
console.log("waitForUserOperationReceipt has been called");
|
|
834
838
|
return {
|
|
835
839
|
success: true,
|
|
836
840
|
message: "Approval transaction completed successfully."
|
package/package.json
CHANGED