@prodantix/sdk 0.6.0-beta.421 → 0.6.0-beta.425

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/csp.d.cts CHANGED
@@ -4,18 +4,14 @@
4
4
  * anything that only resolves in the browser. A browser-only import here breaks
5
5
  * the BUILD rather than the page, which is at least loud.
6
6
  *
7
- * Moved out of `@bomdisoft/analytics` when that package was retired, and
8
- * extended. The original emitted the analytics host alone, which was correct
9
- * while events were the only thing the SDK sent. The messenger adds a websocket
10
- * and a script, and a policy that is too narrow fails only in a visitor's
11
- * browser console: nine sites permitted the analytics host and would have
12
- * blocked the messenger with nothing on our side to show for it.
7
+ * The messenger adds a websocket and a script to the analytics host, and a
8
+ * policy that is too narrow fails only in a visitor's browser console, with
9
+ * nothing on our side to show for it.
13
10
  *
14
11
  * Every app that installs the SDK posts to `${host}/v1/…`, and a policy of
15
12
  * `'self'` blocks that in every environment, not only locally: these hosts are
16
- * different origins from the site in staging and production too. Analytics
17
- * never worked from any of these apps until that was derived from the same env
18
- * var the component reads.
13
+ * different origins from the site in staging and production too, so the
14
+ * sources derive from the same env var the component reads.
19
15
  */
20
16
  interface ProdantixHosts {
21
17
  /** Event ingest, e.g. `https://eu.api.prodantix.com`. */
package/dist/csp.d.ts CHANGED
@@ -4,18 +4,14 @@
4
4
  * anything that only resolves in the browser. A browser-only import here breaks
5
5
  * the BUILD rather than the page, which is at least loud.
6
6
  *
7
- * Moved out of `@bomdisoft/analytics` when that package was retired, and
8
- * extended. The original emitted the analytics host alone, which was correct
9
- * while events were the only thing the SDK sent. The messenger adds a websocket
10
- * and a script, and a policy that is too narrow fails only in a visitor's
11
- * browser console: nine sites permitted the analytics host and would have
12
- * blocked the messenger with nothing on our side to show for it.
7
+ * The messenger adds a websocket and a script to the analytics host, and a
8
+ * policy that is too narrow fails only in a visitor's browser console, with
9
+ * nothing on our side to show for it.
13
10
  *
14
11
  * Every app that installs the SDK posts to `${host}/v1/…`, and a policy of
15
12
  * `'self'` blocks that in every environment, not only locally: these hosts are
16
- * different origins from the site in staging and production too. Analytics
17
- * never worked from any of these apps until that was derived from the same env
18
- * var the component reads.
13
+ * different origins from the site in staging and production too, so the
14
+ * sources derive from the same env var the component reads.
19
15
  */
20
16
  interface ProdantixHosts {
21
17
  /** Event ingest, e.g. `https://eu.api.prodantix.com`. */
package/package.json CHANGED
@@ -63,5 +63,5 @@
63
63
  "sideEffects": false,
64
64
  "type": "module",
65
65
  "types": "./dist/index.d.ts",
66
- "version": "0.6.0-beta.421"
66
+ "version": "0.6.0-beta.425"
67
67
  }