New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@braze/web-sdk

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braze/web-sdk - npm Package Versions

12456

4.8.2

Diff
appboy
published 4.8.2 •

Changelog

Source

4.8.2

Fixed
  • Fixed an issue where slow / failed image loading prevents subsequent in-app messages from displaying.
  • Fixed a regression introduced in 4.8.0 where push notifications failed to display in Safari versions <= 15.
appboy
published 4.8.1 •

Changelog

Source

4.8.1

Fixed
  • Fixed an issue where content cards were sometimes not marked as read upon card impression.
  • Improved the typings for the isControl field on In-App Message and Card classes.
appboy
published 4.8.0 •

Changelog

Source

4.8.0

Changed
  • The subscribeToFeatureFlagsUpdates callback will now always be called first with the currently cached feature flags, and when feature flag updates are available.
Fixed
appboy
published 4.7.2 •

Changelog

Source

4.7.2

Fixed
  • Fixed a regression with the noCookies option which caused some localStorage keys to be persisted in cookie storage.
appboy
published 4.7.1 •

Changelog

Source

4.7.1

Fixed
  • Improved the type definition of Card.extras.
  • Fixed a regression introduced in 4.0.0 where the manageServiceWorkerExternally and disablePushTokenMaintenance initialization options could not work as expected.
appboy
published 4.7.0 •

Changelog

Source

4.7.0

Added
  • User.setCustomUserAttribute now accepts nested custom attributes and arrays of objects.
    • Adds a merge parameter that specifies whether the value should be merged with the existing value on the backend. If false (default), any existing attribute will be overwritten. If true, existing objects and arrays of objects will be merged. To update an array of objects, follow the guidelines in our public docs.
Fixed
  • Fixed an issue where requestPushPermission did not call the deniedCallback if the SDK encountered certain errors when registering push.
  • Fixed an issue where requestPushPermission did not log a message if push is not supported on the user's browser.
  • Fixed an incorrect typing in subscribeToSdkAuthenticationFailures.
appboy
published 4.6.3 •

Changelog

Source

4.6.3

Fixed
  • Fixed an issue preventing Feature Flags refreshes when SDK Authentication errors occur.
appboy
published 4.6.2 •

Changelog

Source

4.6.2

Changed
  • Removed legacy email capture CSS. This is not a breaking change, as all existing web email capture campaigns have been migrated to the new universal email capture type on the Braze backend. This change results in ~1KB size reduction for those using the built-in In-App Message UI.
appboy
published 4.6.1 •

Changelog

Source

4.6.1

Fixed
appboy
published 4.6.0 •

Changelog

Source

4.6.0

Added
  • Added a method braze.logContentCardClick() to log that the user clicked on the given Content Card. This method is equivalent to calling braze.logCardClick() with parameter forContentCards = true.
  • Added support for the upcoming Braze Feature Flags product.
Changed
  • Improved the check for duplicate in-app messages at display time.