anymal-protocol 1.0.12 → 1.0.13

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
@@ -693,15 +693,16 @@ function useFetchUserData() {
693
693
  return (0, import_react4.useCallback)(async (dbAuthToken, endpoint) => {
694
694
  try {
695
695
  const query = `
696
- query User {
697
- User {
698
- _docID
699
- pid
700
- email
701
- isVerified
702
- accountType
696
+ query User {
697
+ User {
698
+ _docID
699
+ pid
700
+ email
701
+ name
702
+ isVerified
703
+ accountType
704
+ }
703
705
  }
704
- }
705
706
  `;
706
707
  const response = await fetch(endpoint, {
707
708
  method: "POST",
package/dist/index.mjs CHANGED
@@ -652,15 +652,16 @@ function useFetchUserData() {
652
652
  return useCallback4(async (dbAuthToken, endpoint) => {
653
653
  try {
654
654
  const query = `
655
- query User {
656
- User {
657
- _docID
658
- pid
659
- email
660
- isVerified
661
- accountType
655
+ query User {
656
+ User {
657
+ _docID
658
+ pid
659
+ email
660
+ name
661
+ isVerified
662
+ accountType
663
+ }
662
664
  }
663
- }
664
665
  `;
665
666
  const response = await fetch(endpoint, {
666
667
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anymal-protocol",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -4,15 +4,16 @@ export function useFetchUserData() {
4
4
  return useCallback(async (dbAuthToken: string, endpoint: string) => {
5
5
  try {
6
6
  const query = `
7
- query User {
8
- User {
9
- _docID
10
- pid
11
- email
12
- isVerified
13
- accountType
7
+ query User {
8
+ User {
9
+ _docID
10
+ pid
11
+ email
12
+ name
13
+ isVerified
14
+ accountType
15
+ }
14
16
  }
15
- }
16
17
  `;
17
18
 
18
19
  const response = await fetch(endpoint, {