@wix/web5-embed 0.1.7 → 0.1.8
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/loader-types.d.ts +16 -0
- package/package.json +2 -2
package/dist/loader-types.d.ts
CHANGED
|
@@ -60,6 +60,22 @@ export interface LoaderRegistry {
|
|
|
60
60
|
auth?: {
|
|
61
61
|
fetchWithAuth: typeof fetch;
|
|
62
62
|
};
|
|
63
|
+
/**
|
|
64
|
+
* Published by the unified loader's `boot()` once the current visitor's
|
|
65
|
+
* access token is decoded (design log 0272) — the SAME BI logger
|
|
66
|
+
* instance the loader uses for its own events, scoped to the real
|
|
67
|
+
* msid/visitor id. Matches `@wix/web-bi-logger`'s `Logger.report()`
|
|
68
|
+
* shape exactly; a widget reports through this instead of minting its
|
|
69
|
+
* own logger, so the whole page shares one BI identity.
|
|
70
|
+
*/
|
|
71
|
+
bi?: {
|
|
72
|
+
report: (event: {
|
|
73
|
+
src: number;
|
|
74
|
+
evid: number;
|
|
75
|
+
endpoint: string;
|
|
76
|
+
params: Record<string, unknown>;
|
|
77
|
+
}) => void;
|
|
78
|
+
};
|
|
63
79
|
}
|
|
64
80
|
declare global {
|
|
65
81
|
interface Window {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/web5-embed",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "SDK primitives for embedding Wix Web5 conversational UI into host pages — bootstrap loader, shadow-DOM mount helpers, focus-shortcut coordinator, and design-token loader.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/wix-private/web5.0-poc/tree/master/packages/web5-embed#readme",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"artifactId": "web5-embed"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "fea63831c5e96ade89039e81a5360be7231e0c8a49889783c6beaf91"
|
|
54
54
|
}
|