sdk-redux-changelog
-e --- id: sdk-redux-changelog title: sdk-redux
sidebar_label: sdk-redux
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_urlproperty onIQuoteRequesttype
- Adds endpoint which returns carrier portal url (
@boldpenguin/sdk-redux
- Remove
storeexport. Useimport { getStore } from '@boldpenguin/sdk';andconst store = getStore()as a drop in replacement.
@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/sdkor@boldpenguin/sdk/viteexcept 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-authno longer exports the following methods, import them from@boldpenguin/sdkinstead:- getToken
- getTokenExpiration
- getUser
- hasPermission
- isTokenExpired
@boldpenguin/sdk-coreno longer exports the following methods, import them from@boldpenguin/sdkinstead:- getItem
- getPermissionsObject
- getUser
- getUserInfo
- hasPermission
- removeItem
- setItem
@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Update
IQuoteRequestQuoteproducts type to new typeIProductDetail
Minor Changes
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
copyattribute to applicationIApplicationFormandIFormState
@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add enrollments to application form
@boldpenguin/sdk-utility, @boldpenguin/sdk-redux, @boldpenguin/sdk-types, @boldpenguin/sdk-auth
Sort messages based on priority
- Add
priorityproperty toIMessagetype - Sort messages based on priority when the message state changes
- Priority messages will display before other messages
- Add
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Quotes slice will now process new nested quotes being sent from backend. This change should be transparent to consuming applications.
IQuotesStatetype has been updated, it no longer just extendsIQuoteRequestto accomodate the multiple quotes change.- Add
IQuoteRequestQuotetype - Add
quotes: IQuoteRequestQuote[]property toIQuoteRequesttype
@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add support for inlining messages into other parts of the application form
- Add
locationandlevelproperties toIMessagetype - Add
bp-sdk-message-outletcomponent
- Add
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
referred_byproperty toIApplicationFormandIApplicationFormIndextypes
@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
viewState.quotes.filteredOnlineQuotesandviewState.quotes.filteredOfflineQuotesto Redux store - Add
satisfies_application_form_product_requestproperty toIQuoteRequesttype - Pass
satisfiesApplicationFormProductRequestproperty tobp-sdk-quote-requestcomponent - Add new Redux selectors
- selectFilteredOfflineQuotes
- selectFilteredOnlineQuotes
- selectViewState
- selectViewStateQuotes
@boldpenguin/sdk-web-components, @boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Handle document upload in vehicle panel state for Commercial Auto quotes
- Add
getVehicleSelectionselector - Add
lazyLoadVehicleOptionsthunk
- Add
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
getStorefrontActiveEnrolledProductsCodesRedux selector - Add
storefront_active_enrolled_product_codesproperty toIApplicationFormandIFormStatetypes
Patch Changes
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
statusproperty toIFeatureState
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
effective_dateproperty toIQuoteRequesttype
@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
tenantproperty toIApplicationFormandIApplicationFormIndextypes
@boldpenguin/sdk-redux
- Properly calculate
is_blankfor child question sets
@boldpenguin/sdk-redux, @boldpenguin/sdk-types
- Add
logo_url_smallproperty toICarriertype and associated Redux store
@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
tenantstoIRawUserInfotype
- Add
@boldpenguin/sdk-redux
- Sync
status.remote.quotesRedux state correctly