anymal-protocol 1.0.5 → 1.0.6
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 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
- package/src/utils/account/useVerifyAccount.ts +8 -1
package/dist/index.js
CHANGED
|
@@ -602,9 +602,16 @@ function useVerifyAccount() {
|
|
|
602
602
|
return (0, import_react.useCallback)(
|
|
603
603
|
async (pid, dbAuthToken, bundlerClient, smartAccount, accountRewardsContractAddress) => {
|
|
604
604
|
if (!dbAuthToken || !bundlerClient || !smartAccount || !accountRewardsContractAddress || !pid) {
|
|
605
|
+
console.log({
|
|
606
|
+
dbAuthToken,
|
|
607
|
+
bundlerClient,
|
|
608
|
+
smartAccount,
|
|
609
|
+
accountRewardsContractAddress,
|
|
610
|
+
pid
|
|
611
|
+
});
|
|
605
612
|
return {
|
|
606
613
|
success: false,
|
|
607
|
-
message: "Missing
|
|
614
|
+
message: "Missing crucial information"
|
|
608
615
|
};
|
|
609
616
|
}
|
|
610
617
|
const callData = (0, import_viem.encodeFunctionData)({
|
package/dist/index.mjs
CHANGED
|
@@ -564,9 +564,16 @@ function useVerifyAccount() {
|
|
|
564
564
|
return useCallback(
|
|
565
565
|
async (pid, dbAuthToken, bundlerClient, smartAccount, accountRewardsContractAddress) => {
|
|
566
566
|
if (!dbAuthToken || !bundlerClient || !smartAccount || !accountRewardsContractAddress || !pid) {
|
|
567
|
+
console.log({
|
|
568
|
+
dbAuthToken,
|
|
569
|
+
bundlerClient,
|
|
570
|
+
smartAccount,
|
|
571
|
+
accountRewardsContractAddress,
|
|
572
|
+
pid
|
|
573
|
+
});
|
|
567
574
|
return {
|
|
568
575
|
success: false,
|
|
569
|
-
message: "Missing
|
|
576
|
+
message: "Missing crucial information"
|
|
570
577
|
};
|
|
571
578
|
}
|
|
572
579
|
const callData = encodeFunctionData({
|
package/package.json
CHANGED
|
@@ -21,9 +21,16 @@ export function useVerifyAccount() {
|
|
|
21
21
|
!accountRewardsContractAddress ||
|
|
22
22
|
!pid
|
|
23
23
|
) {
|
|
24
|
+
console.log({
|
|
25
|
+
dbAuthToken,
|
|
26
|
+
bundlerClient,
|
|
27
|
+
smartAccount,
|
|
28
|
+
accountRewardsContractAddress,
|
|
29
|
+
pid,
|
|
30
|
+
});
|
|
24
31
|
return {
|
|
25
32
|
success: false,
|
|
26
|
-
message: "Missing
|
|
33
|
+
message: "Missing crucial information",
|
|
27
34
|
};
|
|
28
35
|
}
|
|
29
36
|
|