Skip to main content

sdk-core-changelog

-e --- id: sdk-core-changelog title: sdk-core

Change Log

11.0.0

Major Changes

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Add off-platform carrier portal url endpoint

    • Adds endpoint which returns carrier portal url (ApplicationForm.getCarrierPortalUrl())
    • Endpoint returns new type ICarrierPortalUrlResponse
    • Remove references to carrier_bind_url property on IQuoteRequest type

@boldpenguin/sdk-redux, @boldpenguin/sdk-auth, @boldpenguin/sdk-core

  • New meta package to consume all of the Bold Penguin SDK. You can change over all imports to @boldpenguin/sdk or @boldpenguin/sdk/vite except where noted below:

  • Rename some Redux actions and selectors to avoid conflicts with top level SDK exports

    • logout action has been renamed to loggedOut
    • getToken selector has been renamed to selectToken
    • getTokenExpiration selector has been renamed to selectTokenExpiration
    • getUser selector has been renamed to selectUser
    • getAuthExpiration selector has been renamed to selectAuthExpiration
    • getErrors selector has been renamed to selectErrors
  • @boldpenguin/sdk-auth no longer exports the following methods, import them from @boldpenguin/sdk instead:

    • getToken
    • getTokenExpiration
    • getUser
    • hasPermission
    • isTokenExpired
  • @boldpenguin/sdk-core no longer exports the following methods, import them from @boldpenguin/sdk instead:

    • getItem
    • getPermissionsObject
    • getUser
    • getUserInfo
    • hasPermission
    • removeItem
    • setItem

Patch Changes

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Add tenant property to IApplicationForm and IApplicationFormIndex types

@boldpenguin/sdk-web-components, @boldpenguin/sdk-websockets, @boldpenguin/sdk-polyfill, @boldpenguin/sdk-requests, @boldpenguin/sdk-utility, @boldpenguin/sdk-icons, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth, @boldpenguin/sdk-core, @boldpenguin/sdk-demo

  • Some users will have access to select functionality on certain tenants. This list of "tenants" is exposed in the user data and has properties explaining which functionality on that tenant the user may access.
    • Add tenants to IRawUserInfo type