@sidebandai/sideband-core 1.4.6-rc.1 → 1.4.6-rc.2

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 CHANGED
@@ -39,6 +39,11 @@ Replace `1.0.0` with your application's version, not the SDK version.
39
39
  Create the runtime in the browser only. In a server-rendered app, create it from
40
40
  client-side code and guard it so it starts once per page load.
41
41
 
42
+ The API key goes to the browser, so anyone can read it in your page or its
43
+ network requests, as with a key in a mobile app. That is expected: the key can
44
+ only send events and pulse answers for its channel and receive that channel's
45
+ pulses.
46
+
42
47
  ## Content Security Policy
43
48
 
44
49
  If your site sends a Content Security Policy, allow the Sideband API origin in
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ function d() {
52
52
  r("local")?.removeItem(e);
53
53
  } catch {}
54
54
  }
55
- function ee(e, t = "1.4.6-rc.1") {
55
+ function ee(e, t = "1.4.6-rc.2") {
56
56
  let n = {
57
57
  device_id: s(),
58
58
  platform: "web",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidebandai/sideband-core",
3
- "version": "1.4.6-rc.1",
3
+ "version": "1.4.6-rc.2",
4
4
  "description": "Renderer-free sync and survey primitives for Sideband web SDKs.",
5
5
  "license": "MIT",
6
6
  "repository": {