Skip to content

Commit 58899ae

Browse files
committed
chore: rebuild
1 parent 44ffb60 commit 58899ae

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

dist/leanplum.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export default class Leanplum {
7575
* @return {Promise} Resolves if true, rejects if false.
7676
*/
7777
static isWebPushSubscribed(): Promise<boolean>;
78+
static setWebPushOptions(options: WebPushOptions): void;
7879
/**
7980
* Register the browser for web push.
8081
* @param {string} serviceWorkerUrl The url on your server that hosts the
@@ -131,4 +132,8 @@ export type Action = ChainMessage | OpenURLAction;
131132
export type SimpleHandler = () => void;
132133
export type StatusHandler = (success: boolean) => void;
133134
export type UserAttributes = any;
135+
export interface WebPushOptions {
136+
serviceWorkerUrl?: string;
137+
scope?: string;
138+
}
134139

dist/leanplum.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leanplum.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)