Releases: zayne-labs/callapi
@zayne-labs/callapi@1.11.5
Patch Changes
- 63ecf19: fix(callapi): improve dedupe key handling and update docs formatting
- Fix dedupe key resolution logic to properly handle undefined values
- Update type definitions to allow undefined return values for dedupe callbacks
- Normalize indentation in README.md examples
- Add .*md to prettierignore
@zayne-labs/callapi@1.11.4
Patch Changes
-
8c31997: refactor(dedupe): extract dedupe cache scope key logic to function
Move the dedupe cache scope key resolution logic into a separate function for better maintainability and reusability. Also update the type definition to support function values.
@zayne-labs/callapi-plugins@4.0.5
Patch Changes
- Updated dependencies [63ecf19]
- @zayne-labs/callapi@1.11.5
@zayne-labs/callapi-plugins@4.0.4
Patch Changes
- Updated dependencies [8c31997]
- @zayne-labs/callapi@1.11.4
@zayne-labs/callapi@1.11.3
Patch Changes
- 70ebf9e: refactor(callapi): consolidate default options and improve type safety
- Rename default-options.ts to defaults.ts for better clarity
- Add new CallApiSuccessOrErrorVariant type for better type safety
- Improve error handling with more specific error result types
- Update imports across multiple files to use new defaults.ts
- Refactor result type handling for better maintainability
@zayne-labs/callapi-plugins@4.0.3
Patch Changes
- Updated dependencies [70ebf9e]
- @zayne-labs/callapi@1.11.3
@zayne-labs/callapi@1.11.2
Patch Changes
-
8006bfc: feat(middlewares): add middleware documentation and refactor fetch middleware implementation
refactor(callapi): rename composeAllHooks to composeHooksFromArray and composeAllMiddlewares to composeMiddlewaresFromArray
refactor(callapi): update fetch middleware to receive request context
docs: add comprehensive middlewares documentation with examples
chore: update dependencies across packages
style: standardize zod imports from namespace to named imports
@zayne-labs/callapi-plugins@4.0.2
Patch Changes
- Updated dependencies [8006bfc]
- @zayne-labs/callapi@1.11.2
@zayne-labs/callapi@1.11.1
Patch Changes
-
f0b9575: feat(type-helpers): add RemovePrefix utility type for key transformation
refactor(retry): simplify retry options type using RemovePrefix
refactor(dedupe): apply same pattern to dedupe options typedocs: add social media post introducing CallApi features
@zayne-labs/callapi-plugins@4.0.1
Patch Changes
- Updated dependencies [f0b9575]
- @zayne-labs/callapi@1.11.1