@helpai/elements 0.59.5 → 0.59.6
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/README.md +4 -4
- package/elements-web-component.esm.js +12 -12
- package/elements-web-component.esm.js.map +2 -2
- package/elements.cjs.js +12 -12
- package/elements.cjs.js.map +2 -2
- package/elements.esm.js +12 -12
- package/elements.esm.js.map +2 -2
- package/elements.js +12 -12
- package/elements.js.map +2 -2
- package/index.mjs +1 -1
- package/loader.js +3 -3
- package/loader.min.js +1 -1
- package/package.json +1 -1
- package/web-component.mjs +1 -1
package/index.mjs
CHANGED
package/loader.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// GA-style async loader stub. Template: HelpAI and https://cdn.help.ai/elements.js are
|
|
1
|
+
// GA-style async loader stub. Template: HelpAI and https://cdn.help.ai/elements/latest/elements.js are
|
|
2
2
|
// Substituted at build time (see scripts/build-brand.mjs).
|
|
3
3
|
//
|
|
4
4
|
// Usage:
|
|
5
5
|
//
|
|
6
6
|
// <script>
|
|
7
|
-
// !function(w,d){w.HelpAI=w.HelpAI||function(){(w.HelpAI.q=w.HelpAI.q||[]).push(arguments)};var s=d.createElement("script");s.async=1;s.src="https://cdn.help.ai/elements.js";d.head.appendChild(s)}(window,document);
|
|
7
|
+
// !function(w,d){w.HelpAI=w.HelpAI||function(){(w.HelpAI.q=w.HelpAI.q||[]).push(arguments)};var s=d.createElement("script");s.async=1;s.src="https://cdn.help.ai/elements/latest/elements.js";d.head.appendChild(s)}(window,document);
|
|
8
8
|
// HelpAI('init', { publicKey: 'agent_pk_xxxx' });
|
|
9
9
|
// </script>
|
|
10
10
|
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
};
|
|
17
17
|
var s = d.createElement("script");
|
|
18
18
|
s.async = 1;
|
|
19
|
-
s.src = "https://cdn.help.ai/elements.js";
|
|
19
|
+
s.src = "https://cdn.help.ai/elements/latest/elements.js";
|
|
20
20
|
d.head.appendChild(s);
|
|
21
21
|
})(window, document);
|
package/loader.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(e,
|
|
1
|
+
(function(e,t){e.HelpAI=e.HelpAI||function(){(e.HelpAI.q=e.HelpAI.q||[]).push(arguments)};var n=t.createElement("script");n.async=1,n.src="https://cdn.help.ai/elements/latest/elements.js",t.head.appendChild(n)})(window,document);
|
package/package.json
CHANGED
package/web-component.mjs
CHANGED
|
@@ -1929,7 +1929,7 @@ function createAuth(opts) {
|
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
1931
|
// src/core/version.ts
|
|
1932
|
-
var ELEMENTS_VERSION = true ? "0.59.
|
|
1932
|
+
var ELEMENTS_VERSION = true ? "0.59.6" : "0.0.0-dev";
|
|
1933
1933
|
var ELEMENTS_VERSION_PARAM = "_ev";
|
|
1934
1934
|
|
|
1935
1935
|
// src/stream/types.ts
|