@bcrumbs.net/inbox 0.0.67 → 0.0.68
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/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Script-tag web chat bundle (packages/websdk → script/bc-sdk.js), used in the embed snippet shown
|
|
3
|
-
* after creating a web chat channel.
|
|
3
|
+
* after creating a web chat channel. websdk's CI publishes it to cdn.bcrumbs.net on every push to
|
|
4
|
+
* main: this latest URL is cached for 5 minutes, and `bc-sdk/bc-sdk-<version>.js` is a pinned copy.
|
|
5
|
+
* (bc-sdk-1.0.0.js is the legacy section loader used by Page Sections, not the web chat.)
|
|
4
6
|
*/
|
|
5
|
-
export declare const WEBCHAT_SDK_URL = "https://
|
|
7
|
+
export declare const WEBCHAT_SDK_URL = "https://cdn.bcrumbs.net/bc-sdk/bc-sdk.js";
|
package/src/appWrapper.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const loadInboxPage: () => Promise<typeof import("../app/inbox/pages/InboxPage")>;
|
|
2
|
+
/**
|
|
3
|
+
* Starts the inbox route chunks while the app shell still waits on its startup
|
|
4
|
+
* gates (feature flags, theme config, workspaces, current user). Otherwise the
|
|
5
|
+
* chunks only start to download after all of those gates resolve.
|
|
6
|
+
*/
|
|
7
|
+
export declare function prefetchLandingRoute(): void;
|