Socket
Socket
Sign inDemoInstall

purecloud-client-app-sdk

Package Overview
Dependencies
12
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.5 to 2.6.6

dist/purecloud-client-app-sdk-22a66abd.min.js

5

package.json
{
"name": "purecloud-client-app-sdk",
"version": "2.6.5",
"version": "2.6.6",
"description": "Javascript API for integrating 3rd-party apps with Genesys Cloud",

@@ -64,3 +64,3 @@ "main": "dist/main.js",

"genesys-cloud-service-discovery-web": "3.0.242",
"query-string": "^5.0.0"
"query-string": "7.1.3"
},

@@ -85,3 +85,2 @@ "devDependencies": {

"@types/lodash": "^4.14.159",
"@types/query-string": "^5.0.0",
"@types/yargs": "^15.0.5",

@@ -88,0 +87,0 @@ "@typescript-eslint/eslint-plugin": "^3.2.0",

6

src/index.ts

@@ -205,3 +205,7 @@ /**

this.assertNonEmptyString(cfg.gcTargetEnvQueryParam, 'target env query param name');
this._pcEnv = this.lookupGcEnv(parsedQueryString[cfg.gcHostOriginQueryParam], parsedQueryString[cfg.gcTargetEnvQueryParam]);
const parsedGcHostOrigin = parsedQueryString[cfg.gcHostOriginQueryParam];
const parsedGcTargetEnv = parsedQueryString[cfg.gcTargetEnvQueryParam];
this.assertNonEmptyString(parsedGcHostOrigin, 'host origin parsed query param');
this.assertNonEmptyString(parsedGcTargetEnv, 'target env parsed query param');
this._pcEnv = this.lookupGcEnv(parsedGcHostOrigin, parsedGcTargetEnv);
} else if ('gcHostOrigin' in cfg || 'gcTargetEnv' in cfg) {

@@ -208,0 +212,0 @@ this.assertNonEmptyString(cfg.gcHostOrigin, 'gcHostOrigin');

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc