Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@braze/web-sdk-no-amd
Advanced tools
$ npm install --save @braze/web-sdk-no-amd
This will install the Braze Web SDK files into ./node_modules/@braze/web-sdk-no-amd
where you can reference them locally. Note that the Braze Web SDK is meant to be used client-side in a web application and may not work as expected in a Node.js server environment.
var appboy = require('@braze/web-sdk-no-amd');
appboy.initialize('YOUR-API-KEY', { baseUrl: 'YOUR-SDK-ENDPOINT' });
appboy.display.automaticallyShowNewInAppMessages();
appboy.openSession();
See the Public Github Repo for getting started instructions or our documentation pages for use-case based documentation.
3.3.0
inAppMessageZIndex
initialization option that allows you to easily customize the z-index of In-App Messages displayed by the built-in UI.successCallback
and errorCallback
parameters to requestContentCardsRefresh
.brazeBridge
, which has the same API as appboyBridge
. appboyBridge
is now deprecated but will continue to function.appboy.logCustomEvent
and appboy.logPurchase
.appboyQueue
replay snippet from the npm
publication of the SDK. This avoids possible race conditions when referencing the SDK simultaneously from npm
and the CDN, and removes use of eval
from the npm
packageappboy.logCustomEvent
and appboy.logPurchase
now impose a 50KB limit on custom properties. If the supplied properties are too large, the event is not logged.trackLocation
method in favor of using the native Geolocation API and passing the location data to 'User.setLastKnownLocation`. See our public docs for more information.enableHtmlInAppMessages
initialization option in favor of allowUserSuppliedJavascript
. These options are functionally equivalent and no other changes are required.User.setCountry
.dismissed
property to TypeScript definition and docs for Card
subclasses.FAQs
Braze SDK without AMD for web sites and other JS platforms.
The npm package @braze/web-sdk-no-amd receives a total of 0 weekly downloads. As such, @braze/web-sdk-no-amd popularity was classified as not popular.
We found that @braze/web-sdk-no-amd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.