cobrowse-sdk-js
Advanced tools
Comparing version 2.9.2 to 2.10.1
@@ -5,2 +5,16 @@ # Changelog | ||
### [2.10.1](#) (2021-08-16) | ||
## [2.10.0](#) (2021-08-16) | ||
### Features | ||
* added cbio_session_overlay class to laser and annotation UI ([a7b9105](#)) | ||
### Bug Fixes | ||
* fixed localStorage check in order to fallback to in-memory or cookie based storage ([11e7ddf](#)) | ||
### [2.9.2](#) (2021-07-13) | ||
@@ -7,0 +21,0 @@ |
{ | ||
"name": "cobrowse-sdk-js", | ||
"version": "2.9.2", | ||
"version": "2.10.1", | ||
"description": "Cobrowse.io SDK for web", | ||
"main": "./CobrowseIO.js", | ||
"main": "dist/CobrowseIO.umd.js", | ||
"scripts": { | ||
"build": "npm run lint && webpack-cli --mode production", | ||
"start": "npm run lint && webpack-cli --progress --watch --mode development", | ||
"prepublishOnly": "npm run build", | ||
"lint": "standard && eslint --ext .js .", | ||
"test": "npm run-script lint && karma start --single-run --browsers ChromeHeadless karma.conf.js", | ||
"test-dev": "npm run-script lint && karma start --browsers Chrome karma.conf.js", | ||
"deploy": "./node_modules/ecs-deploy-utils/tag-for-deploy.sh" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cobrowseio/cobrowse-sdk-js-release" | ||
"url": "https://github.com/cobrowseio/cobrowse-sdk-js" | ||
}, | ||
"author": "Andy Pritchard", | ||
"bugs": { | ||
"url": "https://github.com/cobrowseio/cobrowse-sdk-js/issues" | ||
}, | ||
"homepage": "https://cobrowse.io", | ||
"devDependencies": {}, | ||
"dependencies": {} | ||
"devDependencies": { | ||
"@babel/core": "^7.14.6", | ||
"@babel/plugin-proposal-class-properties": "^7.14.5", | ||
"@babel/preset-env": "^7.14.7", | ||
"@babel/register": "^7.14.5", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.2.2", | ||
"debug": "^4.3.2", | ||
"ecs-deploy-utils": "^1.1.1", | ||
"eslint-plugin-indent-class-properties": "^1.0.3", | ||
"eslint-webpack-plugin": "^2.5.4", | ||
"karma": "^6.3.4", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha": "^2.0.1", | ||
"karma-webpack": "^5.0.0", | ||
"media-recorder-demuxer": "github:cobrowseio/media-recorder-demuxer", | ||
"mocha": "^9.0.2", | ||
"should": "^13.2.3", | ||
"standard": "^16.0.3", | ||
"vdom-utils": "github:cobrowseio/vdom-utils", | ||
"webpack": "^5.45.1", | ||
"webpack-cli": "^4.7.2", | ||
"webpack-node-externals": "^3.0.0" | ||
}, | ||
"dependencies": { | ||
"@arduino/cbor-js": "github:cobrowseio/cbor-js", | ||
"core-js": "^3.15.2", | ||
"dompurify": "^2.3.0", | ||
"events-polyfill": "^2.1.2", | ||
"fast-deep-equal": "^3.1.3", | ||
"js-cookie": "^2.2.1", | ||
"lodash": "^4.17.21", | ||
"regenerator-runtime": "^0.13.7", | ||
"uuid": "^8.3.2" | ||
}, | ||
"standard": { | ||
"parser": "babel-eslint", | ||
"env": { | ||
"mocha": true, | ||
"browser": true | ||
} | ||
} | ||
} |
@@ -1,52 +0,1 @@ | ||
# Cobrowse.io - Javascript SDK for Web | ||
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). | ||
Try our **online demo** at the bottom of our homepage at <https://cobrowse.io/#tryit>. | ||
## Installation | ||
Add this javascript snippet to the top of the `<head>` section of your website. | ||
```html | ||
<script> | ||
(function(w,t,c,p,s,e){p=new Promise(function(r){w[c]={client:function(){if(!s){ | ||
s=document.createElement(t);s.src='https://js.cobrowse.io/CobrowseIO.js';s.async=1; | ||
e=document.getElementsByTagName(t)[0];e.parentNode.insertBefore(s,e);s.onload=function() | ||
{r(w[c]);};}return p;}};});})(window,'script','CobrowseIO'); | ||
CobrowseIO.license = "<put your license key here>"; | ||
CobrowseIO.client().then(function(){ | ||
CobrowseIO.start(); | ||
}); | ||
</script> | ||
``` | ||
### Add your license key | ||
Please register an account and generate your free License Key at [https://cobrowse.io/dashboard/settings](https://cobrowse.io/dashboard/settings). | ||
This will associate sessions from your website with your Cobrowse.io account. | ||
## Try it out | ||
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! | ||
**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/)**.** | ||
## Optional features | ||
[Identify your devices](https://docs.cobrowse.io/sdk-features/identify-your-devices) | ||
[Use 6-digit codes](https://docs.cobrowse.io/sdk-features/6-digit-codes) | ||
[Redact sensitive data](https://docs.cobrowse.io/sdk-features/redact-sensitive-data) | ||
[Customize the interface](https://docs.cobrowse.io/sdk-features/customize-the-interface) | ||
[Cross-document iFrames](https://docs.cobrowse.io/sdk-features/advanced-features/web/cross-document-iframes) | ||
[IE 11 polyfills](https://docs.cobrowse.io/sdk-features/advanced-features/web/ie-11-polyfills) | ||
## Questions? | ||
Any questions at all? Please email us directly at [hello@cobrowse.io](mailto:hello@cobrowse.io). | ||
# cobrowse-sdk-js |
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
484284
6
9
22
1
80
1
2
1
2
9
+ Addedcore-js@^3.15.2
+ Addeddompurify@^2.3.0
+ Addedevents-polyfill@^2.1.2
+ Addedfast-deep-equal@^3.1.3
+ Addedjs-cookie@^2.2.1
+ Addedlodash@^4.17.21
+ Addedregenerator-runtime@^0.13.7
+ Addeduuid@^8.3.2
+ Addedcore-js@3.40.0(transitive)
+ Addeddompurify@2.5.8(transitive)
+ Addedevents-polyfill@2.1.2(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedjs-cookie@2.2.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedregenerator-runtime@0.13.11(transitive)
+ Addeduuid@8.3.2(transitive)