We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 720b344 + 9ba46ba commit 9a81858Copy full SHA for 9a81858
src/index.js
@@ -3,10 +3,12 @@
3
const vapidHelper = require('./vapid-helper.js');
4
const encryptionHelper = require('./encryption-helper.js');
5
const WebPushLib = require('./web-push-lib.js');
6
+const WebPushError = require('./web-push-error.js');
7
8
const webPush = new WebPushLib();
9
10
module.exports = {
11
+ WebPushError: WebPushError,
12
encrypt: encryptionHelper.encrypt,
13
getVapidHeaders: vapidHelper.getVapidHeaders,
14
generateVAPIDKeys: vapidHelper.generateVAPIDKeys,
0 commit comments