anymal-protocol 1.0.117 → 1.0.118
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 +8 -8
- package/dist/index.mjs +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1328,7 +1328,7 @@ function useMintAnymalNFT() {
|
|
|
1328
1328
|
anymalTxId
|
|
1329
1329
|
]
|
|
1330
1330
|
});
|
|
1331
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1331
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1332
1332
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1333
1333
|
account: smartAccount,
|
|
1334
1334
|
calls: [
|
|
@@ -1757,7 +1757,7 @@ function useProcessPartialKibblePayment() {
|
|
|
1757
1757
|
functionName: "partialPay",
|
|
1758
1758
|
args
|
|
1759
1759
|
});
|
|
1760
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1760
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1761
1761
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1762
1762
|
account: smartAccount,
|
|
1763
1763
|
calls: [
|
|
@@ -1803,7 +1803,7 @@ function useApproveKibbleToken() {
|
|
|
1803
1803
|
// amount to approve
|
|
1804
1804
|
]
|
|
1805
1805
|
});
|
|
1806
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1806
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1807
1807
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1808
1808
|
account: smartAccount,
|
|
1809
1809
|
calls: [
|
|
@@ -1864,7 +1864,7 @@ function useCreateOrganizationBase() {
|
|
|
1864
1864
|
functionName: "createOrganizationProxy",
|
|
1865
1865
|
args: [ownerAddress, orgName, orgPid]
|
|
1866
1866
|
});
|
|
1867
|
-
applyBundlerGasEstimator(adminSmartAccount, bundlerClient);
|
|
1867
|
+
await applyBundlerGasEstimator(adminSmartAccount, bundlerClient);
|
|
1868
1868
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1869
1869
|
account: adminSmartAccount,
|
|
1870
1870
|
calls: [
|
|
@@ -1947,7 +1947,7 @@ function useApproveOrgPartialPayment() {
|
|
|
1947
1947
|
functionName: "executeCall",
|
|
1948
1948
|
args: [kibbleTokenAddress, approveCalldata]
|
|
1949
1949
|
});
|
|
1950
|
-
applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1950
|
+
await applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1951
1951
|
const userOpApproveHash = await bundlerClient.sendUserOperation({
|
|
1952
1952
|
account: managerSmartAccount,
|
|
1953
1953
|
calls: [
|
|
@@ -2006,7 +2006,7 @@ function useProcessOrgPartialKibblePayment() {
|
|
|
2006
2006
|
functionName: "executeCall",
|
|
2007
2007
|
args: [partialPaymentModuleAddress, partialPayCalldata]
|
|
2008
2008
|
});
|
|
2009
|
-
applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
2009
|
+
await applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
2010
2010
|
const userOpPartialPayHash = await bundlerClient.sendUserOperation({
|
|
2011
2011
|
account: managerSmartAccount,
|
|
2012
2012
|
calls: [
|
|
@@ -2469,7 +2469,7 @@ function useClaimActionReward() {
|
|
|
2469
2469
|
functionName: "claimByIndex",
|
|
2470
2470
|
args: [actionId, claimIndex]
|
|
2471
2471
|
});
|
|
2472
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2472
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2473
2473
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
2474
2474
|
account: smartAccount,
|
|
2475
2475
|
calls: [
|
|
@@ -2513,7 +2513,7 @@ function useClaimOrgActionReward() {
|
|
|
2513
2513
|
functionName: "executeCall",
|
|
2514
2514
|
args: [rewardableActionContractAddress, claimCallData]
|
|
2515
2515
|
});
|
|
2516
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2516
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2517
2517
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
2518
2518
|
account: smartAccount,
|
|
2519
2519
|
calls: [
|
package/dist/index.mjs
CHANGED
|
@@ -1265,7 +1265,7 @@ function useMintAnymalNFT() {
|
|
|
1265
1265
|
anymalTxId
|
|
1266
1266
|
]
|
|
1267
1267
|
});
|
|
1268
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1268
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1269
1269
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1270
1270
|
account: smartAccount,
|
|
1271
1271
|
calls: [
|
|
@@ -1694,7 +1694,7 @@ function useProcessPartialKibblePayment() {
|
|
|
1694
1694
|
functionName: "partialPay",
|
|
1695
1695
|
args
|
|
1696
1696
|
});
|
|
1697
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1697
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1698
1698
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1699
1699
|
account: smartAccount,
|
|
1700
1700
|
calls: [
|
|
@@ -1740,7 +1740,7 @@ function useApproveKibbleToken() {
|
|
|
1740
1740
|
// amount to approve
|
|
1741
1741
|
]
|
|
1742
1742
|
});
|
|
1743
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1743
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
1744
1744
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1745
1745
|
account: smartAccount,
|
|
1746
1746
|
calls: [
|
|
@@ -1801,7 +1801,7 @@ function useCreateOrganizationBase() {
|
|
|
1801
1801
|
functionName: "createOrganizationProxy",
|
|
1802
1802
|
args: [ownerAddress, orgName, orgPid]
|
|
1803
1803
|
});
|
|
1804
|
-
applyBundlerGasEstimator(adminSmartAccount, bundlerClient);
|
|
1804
|
+
await applyBundlerGasEstimator(adminSmartAccount, bundlerClient);
|
|
1805
1805
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
1806
1806
|
account: adminSmartAccount,
|
|
1807
1807
|
calls: [
|
|
@@ -1884,7 +1884,7 @@ function useApproveOrgPartialPayment() {
|
|
|
1884
1884
|
functionName: "executeCall",
|
|
1885
1885
|
args: [kibbleTokenAddress, approveCalldata]
|
|
1886
1886
|
});
|
|
1887
|
-
applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1887
|
+
await applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1888
1888
|
const userOpApproveHash = await bundlerClient.sendUserOperation({
|
|
1889
1889
|
account: managerSmartAccount,
|
|
1890
1890
|
calls: [
|
|
@@ -1943,7 +1943,7 @@ function useProcessOrgPartialKibblePayment() {
|
|
|
1943
1943
|
functionName: "executeCall",
|
|
1944
1944
|
args: [partialPaymentModuleAddress, partialPayCalldata]
|
|
1945
1945
|
});
|
|
1946
|
-
applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1946
|
+
await applyBundlerGasEstimator(managerSmartAccount, bundlerClient);
|
|
1947
1947
|
const userOpPartialPayHash = await bundlerClient.sendUserOperation({
|
|
1948
1948
|
account: managerSmartAccount,
|
|
1949
1949
|
calls: [
|
|
@@ -2326,7 +2326,7 @@ function useClaimActionReward() {
|
|
|
2326
2326
|
functionName: "claimByIndex",
|
|
2327
2327
|
args: [actionId, claimIndex]
|
|
2328
2328
|
});
|
|
2329
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2329
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2330
2330
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
2331
2331
|
account: smartAccount,
|
|
2332
2332
|
calls: [
|
|
@@ -2370,7 +2370,7 @@ function useClaimOrgActionReward() {
|
|
|
2370
2370
|
functionName: "executeCall",
|
|
2371
2371
|
args: [rewardableActionContractAddress, claimCallData]
|
|
2372
2372
|
});
|
|
2373
|
-
applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2373
|
+
await applyBundlerGasEstimator(smartAccount, bundlerClient);
|
|
2374
2374
|
const userOpHash = await bundlerClient.sendUserOperation({
|
|
2375
2375
|
account: smartAccount,
|
|
2376
2376
|
calls: [
|
package/package.json
CHANGED