@zeroin.earth/appwrite-graphql 0.16.4 → 0.16.5
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/react-native/index.js +1 -1
package/package.json
CHANGED
package/react-native/index.js
CHANGED
|
@@ -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)=>{try{localStorage?.setItem("email",t.email);}catch{console.error("Could not save email to local storage. If you are using react-native, this is expected.");}}})}}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
|