@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 +5 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
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