Socket
Socket
Sign inDemoInstall

purecloud-client-app-sdk

Package Overview
Dependencies
11
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.2 to 2.6.3

dist/purecloud-client-app-sdk-de77761d.min.js

10

dist/index.d.ts

@@ -201,2 +201,12 @@ /**

/**
* Returns the gcEnvironment (e.g. mypurecloud.com, mypurecloud.jp) if known; null otherwise.
* This value will be available if a valid Genesys Cloud Environment is provided, inferred, or
* defaulted from the config passed to this instance.
*
* @returns the valid Genesys Cloud environment; null if unknown.
*
* @since 2.6.3
*/
get gcEnvironment(): string | null;
/**
* Displays the version of the PureClound Client App SDK.

@@ -203,0 +213,0 @@ *

2

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

@@ -5,0 +5,0 @@ "main": "dist/main.js",

@@ -33,2 +33,5 @@ import ClientApp from './index';

});
it('should export gcEnvironment', () => {
expect(new ClientApp().gcEnvironment).toBe(VALID_DEFAULT_PC_ENVIRONMENT);
});

@@ -35,0 +38,0 @@ describe('pcEnvironmentQueryParam config', () => {

@@ -271,2 +271,14 @@ /**

get pcEnvironment() {
return this.gcEnvironment;
}
/**
* Returns the gcEnvironment (e.g. mypurecloud.com, mypurecloud.jp) if known; null otherwise.
* This value will be available if a valid Genesys Cloud Environment is provided, inferred, or
* defaulted from the config passed to this instance.
*
* @returns the valid Genesys Cloud environment; null if unknown.
*
* @since 2.6.3
*/
get gcEnvironment() {
return (this._pcEnv ? this._pcEnv.pcEnvTld : null);

@@ -273,0 +285,0 @@ }

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