@wvdsh/api 0.1.34 → 0.1.35
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.
|
@@ -112,7 +112,6 @@ export declare const IFRAME_MESSAGE_TYPE: {
|
|
|
112
112
|
export declare const SERVICE_WORKER_MESSAGE_TYPE: {
|
|
113
113
|
readonly EMBED_CONFIGURE: "embed.configure";
|
|
114
114
|
readonly EMBED_CONFIGURE_ACK: "embed.configure:ack";
|
|
115
|
-
readonly EMBED_JWT_UPDATE: "embed.jwt-update";
|
|
116
115
|
readonly EMBED_CREDS_REQUEST: "embed.creds-request";
|
|
117
116
|
readonly EMBED_CREDS_RESPONSE: "embed.creds-response";
|
|
118
117
|
};
|
|
@@ -86,13 +86,9 @@ export const IFRAME_MESSAGE_TYPE = {
|
|
|
86
86
|
END_SESSION: 'EndSession',
|
|
87
87
|
TRIGGER_PAYWALL: 'TriggerPaywall'
|
|
88
88
|
};
|
|
89
|
-
// Wire types for messages on the page ↔ service-worker MessageChannel.
|
|
90
|
-
// Mirror of play's ServiceWorkerMessageType enum — kept here so the SDK and
|
|
91
|
-
// mainsite can replace inline string literals once @wvdsh/api is republished.
|
|
92
89
|
export const SERVICE_WORKER_MESSAGE_TYPE = {
|
|
93
90
|
EMBED_CONFIGURE: 'embed.configure',
|
|
94
91
|
EMBED_CONFIGURE_ACK: 'embed.configure:ack',
|
|
95
|
-
EMBED_JWT_UPDATE: 'embed.jwt-update',
|
|
96
92
|
EMBED_CREDS_REQUEST: 'embed.creds-request',
|
|
97
93
|
EMBED_CREDS_RESPONSE: 'embed.creds-response'
|
|
98
94
|
};
|