cobrowse-sdk-js 2.16.5 → 2.16.7
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/CHANGELOG.md +19 -0
- package/DEPLOYMENT.md +25 -0
- package/README.md +21 -14
- package/dist/CobrowseIO.js +1 -1
- package/dist/CobrowseIO.umd.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.16.7](#) (2022-09-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* ensure redacted elements have flex-basis: unset ([#23](#)) ([6c1f068](#))
|
|
11
|
+
|
|
12
|
+
### [2.16.6](#) (2022-09-22)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* avoid double fetch on session decompression ([3229941](#))
|
|
18
|
+
* base session token on static device token to avoid race condition ([259d105](#))
|
|
19
|
+
* set session as current as soon as it's created ([7a3d2d4](#))
|
|
20
|
+
* store token value directly in header ([b2a95a4](#))
|
|
21
|
+
* synchronize agent join ([dc78c17](#))
|
|
22
|
+
* **test:** intermittently failing test should be retried ([1141d56](#))
|
|
23
|
+
|
|
5
24
|
### [2.16.5](#) (2022-08-24)
|
|
6
25
|
|
|
7
26
|
|
package/DEPLOYMENT.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Cobrowse SDK for Web
|
|
2
|
+
|
|
3
|
+
This is the Cobrowse SDK for Web.
|
|
4
|
+
|
|
5
|
+
## Development
|
|
6
|
+
|
|
7
|
+
### Cross Domain
|
|
8
|
+
|
|
9
|
+
To update the server side component for cross domain sessions:
|
|
10
|
+
|
|
11
|
+
1. Run `npm build`
|
|
12
|
+
2. Copy `/iframe_storage/server.*` to the frontend at `/apps/iframe_storage/server.*`.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## Deployment
|
|
16
|
+
|
|
17
|
+
This SDK is available via NPM as well as a scripted hosted via out CDN. To deploy a new version:
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
./script/release.sh
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Prerequisites**
|
|
24
|
+
|
|
25
|
+
Before you can deploy, you must have write access to this repository in the cobrowseio organisation, and must be added to the deployers team in GitHub. You must also have been granted access to deploy new versions to NPM.
|
package/README.md
CHANGED
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
# Cobrowse SDK for Web
|
|
1
|
+
# Cobrowse.io - Javascript SDK for Web
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Cobrowse.io is 100% free and easy to try out in your own apps. Please see full documentation at [https://docs.cobrowse.io](https://docs.cobrowse.io).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Try our **online demo** at <https://cobrowse.io/demo>.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Installation
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
See the [installation documentation](https://docs.cobrowse.io/sdk-installation/web) to get started.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
2. Copy `/iframe_storage/server.*` to the frontend at `/apps/iframe_storage/server.*`.
|
|
11
|
+
## Try it out
|
|
13
12
|
|
|
13
|
+
Once you have your Javascript snippet and license key set up, navigate to [https://cobrowse.io/dashboard](https://cobrowse.io/dashboard) to see your device listed. You can click the "Connect" button to initiate a Cobrowse session!
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
**Note: Cobrowse needs to be able to access your website, so localhost addresses are not recommenced for testing. To test on a local development version, we recommend using** [**ngrok**](https://ngrok.com/)**.**
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## Optional features
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
./script/release.sh
|
|
21
|
-
```
|
|
19
|
+
[Identify your devices](https://docs.cobrowse.io/sdk-features/identify-your-devices)
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
[Use 6-digit codes](https://docs.cobrowse.io/sdk-features/6-digit-codes)
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
[Redact sensitive data](https://docs.cobrowse.io/sdk-features/redact-sensitive-data)
|
|
24
|
+
|
|
25
|
+
[Customize the interface](https://docs.cobrowse.io/sdk-features/customize-the-interface)
|
|
26
|
+
|
|
27
|
+
[Cross-document iFrames](https://docs.cobrowse.io/sdk-features/advanced-features/web/cross-document-iframes)
|
|
28
|
+
|
|
29
|
+
[IE 11 polyfills](https://docs.cobrowse.io/sdk-features/advanced-features/web/ie-11-polyfills)
|
|
30
|
+
|
|
31
|
+
## Questions?
|
|
32
|
+
Any questions at all? Please email us directly at [hello@cobrowse.io](mailto:hello@cobrowse.io).
|