@zeroin.earth/appwrite-graphql 0.16.3 → 0.16.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroin.earth/appwrite-graphql",
3
- "version": "0.16.3",
3
+ "version": "0.16.4",
4
4
  "description": "Appwrite Graphql library, utilizing @tanstack/react-query and inspired by react-appwrite",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -216,7 +216,7 @@ function Oe(e,a){return a}var U={kind:"Document",definitions:[{kind:"FragmentDef
216
216
  expire
217
217
  }
218
218
  }
219
- `);function ot(){let{graphql:e}=o();return {...u({mutationFn:async({email:n,url:t})=>{let{data:i,errors:s}=await e.mutation({query:it,variables:{email:n,url:t}});if(s)throw s;return i.accountCreateRecovery},onSuccess:async(n,t)=>{localStorage.setItem("email",t.email);}})}}var rt=r(`
219
+ `);function ot(){let{graphql:e}=o();return {...u({mutationFn:async({email:n,url:t})=>{let{data:i,errors:s}=await e.mutation({query:it,variables:{email:n,url:t}});if(s)throw s;return i.accountCreateRecovery},onSuccess:async(n,t)=>{localStorage?.setItem("email",t.email);}})}}var rt=r(`
220
220
  mutation UpdateRecovery($userId: String!, $secret: String!, $password: String!) {
221
221
  accountUpdateRecovery(userId: $userId, secret: $secret, password: $password) {
222
222
  expire