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 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 authentication token OR NFT ID."
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 authentication token OR NFT ID."
576
+ message: "Missing crucial information"
570
577
  };
571
578
  }
572
579
  const callData = encodeFunctionData({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymal-protocol",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -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 authentication token OR NFT ID.",
33
+ message: "Missing crucial information",
27
34
  };
28
35
  }
29
36