@types/node-pushnotifications
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -10,3 +10,3 @@ // Type definitions for node-pushnotifications 1.0 | ||
import * as webPush from 'web-push'; | ||
import * as webPush from "web-push"; | ||
@@ -19,5 +19,17 @@ export = PushNotifications; | ||
setOptions(opts: PushNotifications.Settings): void; | ||
sendWith(method: PushNotifications.PushMethod, regIds: string[], data: PushNotifications.Data, cb: PushNotifications.Callback): void; | ||
send(registrationIds: PushNotifications.RegistrationId|PushNotifications.RegistrationId[], data: PushNotifications.Data, cb: PushNotifications.Callback): void; | ||
send(registrationIds: PushNotifications.RegistrationId|PushNotifications.RegistrationId[], data: PushNotifications.Data): Promise<PushNotifications.Result[]>; | ||
sendWith( | ||
method: PushNotifications.PushMethod, | ||
regIds: string[], | ||
data: PushNotifications.Data, | ||
cb: PushNotifications.Callback, | ||
): void; | ||
send( | ||
registrationIds: PushNotifications.RegistrationId | PushNotifications.RegistrationId[], | ||
data: PushNotifications.Data, | ||
cb: PushNotifications.Callback, | ||
): void; | ||
send( | ||
registrationIds: PushNotifications.RegistrationId | PushNotifications.RegistrationId[], | ||
data: PushNotifications.Data, | ||
): Promise<PushNotifications.Result[]>; | ||
} | ||
@@ -24,0 +36,0 @@ |
{ | ||
"name": "@types/node-pushnotifications", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "TypeScript definitions for node-pushnotifications", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-pushnotifications", | ||
}, | ||
"typesPublisherContentHash": "c01e20b4f95288a8a5d6c1a92bbd98f1d69489a67c2feefdd64707ec587ba8bd", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "d7bda347d1d27e41c7a0b26ca912ea008e95fb0edd41ef9a9b1d9fa4c0696346", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,4 +11,4 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 18:51:24 GMT | ||
* Dependencies: [@types/web-push](https://npmjs.com/package/@types/web-push), [@types/node](https://npmjs.com/package/@types/node) | ||
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/web-push](https://npmjs.com/package/@types/web-push) | ||
* Global values: none | ||
@@ -15,0 +15,0 @@ |
11137
205