appwrite-utils
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -25,2 +25,3 @@ export { areCollectionNamesSame } from "./functions/collections.js"; | ||
export { parseAttribute } from "./functions/schema.js"; | ||
export { type AuthUser, AuthUserSchema } from "./schemas/authUser.js"; | ||
export { type AuthUser, AuthUserSchema, AuthUserCreateSchema, type AuthUserCreate, } from "./schemas/authUser.js"; | ||
export { tryAwaitWithRetry } from "./functions/helpers.js"; |
@@ -24,2 +24,3 @@ export { areCollectionNamesSame } from "./functions/collections.js"; | ||
export { parseAttribute } from "./functions/schema.js"; | ||
export { AuthUserSchema } from "./schemas/authUser.js"; | ||
export { AuthUserSchema, AuthUserCreateSchema, } from "./schemas/authUser.js"; | ||
export { tryAwaitWithRetry } from "./functions/helpers.js"; |
{ | ||
"name": "appwrite-utils", | ||
"module": "dist/index.js", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
@@ -75,2 +75,3 @@ # appwrite-utils | ||
- 0.2.6: Added `tryAwaitWithRetry` which will retry the given (used for Appwrite calls mostly) function up to 5 times if the error includes `fetch failed` or `server error` (all lowercased) because there's a weird bug sometimes with the server SDK | ||
- 0.2.5: Added `targetFieldToMatch` to the `idMappings` configuration which should allow more concise mapping of after-import fields | ||
@@ -77,0 +78,0 @@ - 0.2.3: Added OpenAPI descriptions to AuthUserSchema, which also allows one to use the openapi package itself (`@asteasolutions/zod-to-openapi`) with the AuthUserSchema |
@@ -103,2 +103,8 @@ import { z } from "zod"; | ||
export { parseAttribute } from "./functions/schema.js"; | ||
export { type AuthUser, AuthUserSchema } from "./schemas/authUser.js"; | ||
export { | ||
type AuthUser, | ||
AuthUserSchema, | ||
AuthUserCreateSchema, | ||
type AuthUserCreate, | ||
} from "./schemas/authUser.js"; | ||
export { tryAwaitWithRetry } from "./functions/helpers.js"; |
336018
84
8766
84