Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 3.58 KB

File metadata and controls

67 lines (40 loc) · 3.58 KB

@forgerock/sdk-utilities

2.0.1

Patch Changes

  • Updated dependencies []:
    • @forgerock/sdk-types@2.0.1

2.0.0

Major Changes

Minor Changes

  • #525 9a8ca14 Thanks @ryanbas21! - ### @forgerock/journey-client

    Add well-known OIDC endpoint discovery support. The journey client can now fetch configuration from the .well-known/openid-configuration endpoint. The realm path can be automatically inferred from the well-known issuer URL.

    @forgerock/sdk-oidc

    Add shared well-known module with RTK Query API for OIDC endpoint discovery:

    • wellknownApi - RTK Query API for fetching well-known configuration
    • createWellknownSelector - Selector factory for cached well-known data
    • createWellknownError - Typed error creation from fetch failures
    • Re-exports pure utilities from @forgerock/sdk-utilities

    @forgerock/sdk-utilities

    Add pure well-known utilities:

    • inferRealmFromIssuer - Extract realm path from AM issuer URLs
    • isValidWellknownUrl - Validate well-known URLs (HTTPS required, HTTP allowed for localhost)

    @forgerock/davinci-client

    Refactored to use shared well-known module from @forgerock/sdk-oidc.

    @forgerock/oidc-client

    Refactored to use shared well-known module from @forgerock/sdk-oidc.

Patch Changes

  • #510 3c63979 Thanks @ryanbas21! - Fix error handling in storage client and davinci-client

    • Add isGenericError type guard to sdk-utilities for runtime error validation
    • Fix storage client to properly catch errors from custom storage implementations, honoring the errors-as-values contract
    • Improve davinci-client error handling to use explicit error checks instead of try-catch
  • #526 5a9ea40 Thanks @ancheetah! - Update READMES. Fix types and comments.

  • Updated dependencies [9ad4062, 5a9ea40]:

    • @forgerock/sdk-types@2.0.0

1.3.0

Minor Changes

  • #412 b0f4368 Thanks @ryanbas21! - feat: Update SDK utilities
    • Inlined REQUESTED_WITH and X_REQUESTED_PLATFORM constants with literal types for better tree-shaking and type narrowing.

1.2.0

Minor Changes

  • #246 0d54b34 Thanks @cerebrl! - created effects type packages, logger, oidc, and request middleware