@stacksjs/push 0.70.72 → 0.70.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/drivers/expo.d.ts +7 -1
- package/dist/drivers/fcm.d.ts +10 -9
- package/package.json +5 -5
package/dist/drivers/expo.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ export declare function getReceipts(ticketIds: string[]): Promise<Record<string,
|
|
|
15
15
|
* Send multiple push notifications in chunks (Expo recommends max 100 per request)
|
|
16
16
|
*/
|
|
17
17
|
export declare function sendBatch(messages: ExpoPushMessage[], chunkSize?: number): Promise<PushResult[]>;
|
|
18
|
+
declare const __dtsx_default_export__: {
|
|
19
|
+
send: typeof send;
|
|
20
|
+
sendBatch: typeof sendBatch;
|
|
21
|
+
getReceipts: typeof getReceipts;
|
|
22
|
+
isExpoPushToken: typeof isExpoPushToken
|
|
23
|
+
};
|
|
18
24
|
export declare interface ExpoPushMessage {
|
|
19
25
|
to: string | string[]
|
|
20
26
|
title?: string
|
|
@@ -42,4 +48,4 @@ export declare interface ExpoPushReceipt {
|
|
|
42
48
|
}
|
|
43
49
|
}
|
|
44
50
|
export { send as Send };
|
|
45
|
-
export default
|
|
51
|
+
export default __dtsx_default_export__;
|
package/dist/drivers/fcm.d.ts
CHANGED
|
@@ -27,6 +27,15 @@ export declare function subscribeToTopic(tokens: string[], topic: string): Promi
|
|
|
27
27
|
* Unsubscribe tokens from a topic
|
|
28
28
|
*/
|
|
29
29
|
export declare function unsubscribeFromTopic(tokens: string[], topic: string): Promise<boolean>;
|
|
30
|
+
declare const __dtsx_default_export__: {
|
|
31
|
+
send: typeof send;
|
|
32
|
+
sendLegacy: typeof sendLegacy;
|
|
33
|
+
sendMulticast: typeof sendMulticast;
|
|
34
|
+
sendToTopic: typeof sendToTopic;
|
|
35
|
+
subscribeToTopic: typeof subscribeToTopic;
|
|
36
|
+
unsubscribeFromTopic: typeof unsubscribeFromTopic;
|
|
37
|
+
configure: typeof configure
|
|
38
|
+
};
|
|
30
39
|
export declare interface FCMMessage {
|
|
31
40
|
to?: string
|
|
32
41
|
registrationIds?: string[]
|
|
@@ -65,12 +74,4 @@ export declare interface FCMResponse {
|
|
|
65
74
|
}>
|
|
66
75
|
}
|
|
67
76
|
export { send as Send };
|
|
68
|
-
export default
|
|
69
|
-
send,
|
|
70
|
-
sendLegacy,
|
|
71
|
-
sendMulticast,
|
|
72
|
-
sendToTopic,
|
|
73
|
-
subscribeToTopic,
|
|
74
|
-
unsubscribeFromTopic,
|
|
75
|
-
configure,
|
|
76
|
-
};
|
|
77
|
+
export default __dtsx_default_export__;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/push",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.74",
|
|
5
5
|
"description": "The Stacks Push integration",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"prepublishOnly": "bun run build"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@stacksjs/cli": "0.70.
|
|
54
|
-
"@stacksjs/config": "0.70.
|
|
55
|
-
"better-dx": "^0.2.
|
|
56
|
-
"@stacksjs/error-handling": "0.70.
|
|
53
|
+
"@stacksjs/cli": "0.70.74",
|
|
54
|
+
"@stacksjs/config": "0.70.74",
|
|
55
|
+
"better-dx": "^0.2.16",
|
|
56
|
+
"@stacksjs/error-handling": "0.70.74"
|
|
57
57
|
}
|
|
58
58
|
}
|