What changed in 3.45.0?
Web Push SDK 3.45.0 introduced plugin modularity: instead of one bundled import, you load only the SDK components (widgets) your website actually uses. That reduces the amount of JavaScript visitors download, lowering traffic and improving page load. From this version the SDK also targets the ES2020 JavaScript specification.
Which version should I be on?
3.45.0 is only the cut-off where the modular API appeared — it is not the current release. As of July 2026 the latest published version is 3.62.x (npm view web-push-notifications version shows the current one). Install the latest 3.x release rather than pinning 3.45.0.
How do I update if I installed the SDK via npm?
- Update the package:
npm install web-push-notifications@latest. - Import and initialise only the modules (widgets) you need — the core SDK and each UI widget (subscribe button, custom popup, inbox) are imported separately.
- Make sure your build copies the service worker file to the root of your site (the docs show webpack and Vite examples). This is required for push notifications to work.
Full instructions: Installing Pushwoosh Web Push SDK via npm.
Comments
0 comments
Please sign in to leave a comment.