web-push
web-push copied to clipboard
Web Push library for Node.js
This is a feature requests for a class-based update of this amazing library. For example: ```js import { WebPush } from 'web-push'; const webPush = new WebPush(); webpush.setVapidDetails(...); webpush.sendNotification(...); ```...
Bumps [https-proxy-agent](https://github.com/TooTallNate/proxy-agents/tree/HEAD/packages/https-proxy-agent) from 7.0.2 to 7.0.4. Release notes Sourced from https-proxy-agent's releases. [email protected] Patch Changes b88ab46: Import url instead of node:url 🤷♂️ [email protected] Patch Changes c3c405e: Add missing URL type...
**NOTE**: Please test in a least two browsers (i.e. Chrome and Firefox). This helps with diagnosing problems quicker. # Setup *Operating System*: Linux (Ubuntu 22.04 LTS) *Node Version*: 21.5.0 *web-push...
Bumps [mocha](https://github.com/mochajs/mocha) from 10.2.0 to 10.3.0. Release notes Sourced from mocha's releases. v10.3.0 This is a stable release equivalent to v10.3.0-preminor.0. What's Changed Fix deprecated warn gh actions by @outsideris...
Related #772 Changed commonJS modules to ESM. Someone please double run this since I had to run this is docker container (selenium assistant doesn't support windows and that's the only...
I want to use `web-push` server functions i.e. `generateVAPIDKeys` and `sendNotification`, but it seems that web-push doesn't support esm packages, i.e packages that define `type: module` on its package.json ```...
Hi, I have an app that calls a api fetch call for push notifications in the service worker and it returns the follow error: Access to fetch at 'ressource from...
Bumps [del](https://github.com/sindresorhus/del) from 6.0.0 to 7.1.0. Release notes Sourced from del's releases. v7.1.0 Add path to onProgress event (#155) f5d31e6 https://github.com/sindresorhus/del/compare/v7.0.0...v7.1.0 v7.0.0 Breaking Require Node.js 14 (#143) 106d7d8 This package...
Sometimes I want to set a proxy or TTL when sending a notification, but it's inconvient to call `webpush.sendNotification` with option parameter every time. What about adding a function like...
# Setup *web-push Version*: 3.6.7 - [x] Chrome - [x] Firefox - [x] Opera for Android - [x] Samsung Internet Browser - [ ] Other # Problem in a deno...