@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 +5 -9
- package/dist/csp.d.ts +5 -9
- package/package.json +1 -1
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
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
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
|
|
17
|
-
*
|
|
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
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
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
|
|
17
|
-
*
|
|
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