genesys-cloud-streaming-client 19.2.3-develop.1 → 19.2.3-develop.142

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Genesys Cloud Services, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,17 +1,22 @@
1
- # Genesys Cloud Streaming Client #
1
+ ## Streaming Client
2
2
 
3
- This project is a Bitbucket repository that contains the pipeline infrastructure for the open source [Genesys Cloud Streaming Client](https://github.com/purecloudlabs/genesys-cloud-streaming-client) hosted on GitHub.
3
+ ### Overview
4
+ Client library for streaming-service
4
5
 
5
- ### What is this repository for?
6
+ ### Installation
7
+ Run `npm install` in order to install all the dependencies
6
8
 
7
- Current guidance from security and the CI/CD teams is to not have the pipeline infrastructure available in open source repositories. This repository is used to host the pipeline infrastructure for the Genesys Cloud Streaming Client so that we may retain access to the CDN and ability to publish to NPM.
9
+ ### Testing
10
+ Run the tests using `npm test` in the command line
8
11
 
9
- ### Contributions
12
+ **In order to see code coverage run `npm run test:coverage`**
10
13
 
11
- * Leave all source code in the GitHub repository.
12
- * Only pipeline infrastructure should be in this repository.
14
+ ### Build for Local Use
15
+ Run the script `npm run build`
13
16
 
14
- ### Who do I talk to?
17
+ ### Linting and Style
18
+ semistandard has been added and you can run linting through the command line via `npm run lint` script
15
19
 
16
- * gcmediastreamsignal@genesys.com
17
- * Client Signaling and Streaming Team (STREAM).
20
+ To fix minor styling errors, run `npm run lint:fix`
21
+
22
+ **If you can configure you editor to run linting while typing or on save this is preferrable**
@@ -1,7 +1,8 @@
1
1
  {
2
- "version": "19.2.3-develop",
3
- "build": "1",
4
- "buildDate": "2025-06-28T03:10:09.944Z",
2
+ "name": "developercenter-cdn/streaming-client",
3
+ "version": "19.2.3",
4
+ "ecosystem": "pc",
5
+ "team": "Client Streaming and Signaling",
5
6
  "indexFiles": [
6
7
  {
7
8
  "file": "v19.2.3/streaming-client.browser.js"
@@ -10,6 +11,8 @@
10
11
  "file": "v19/streaming-client.browser.js"
11
12
  }
12
13
  ],
13
- "team": "Client Streaming and Signaling",
14
+ "build": "142",
15
+ "buildDate": "2025-06-26T19:29:12.609998380Z",
16
+ "appName": "developercenter-cdn/streaming-client",
14
17
  "gcServiceName": "developercenter-cdn--streaming-client-webui"
15
18
  }
@@ -5,8 +5,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
7
  # [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.2...HEAD)
8
- ### Changed
9
- * [STREAM-631](https://inindca.atlassian.net/browse/STREAM-631) - Remove pipeline infra from open-source.
10
8
 
11
9
  # [v19.2.2](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.1...v19.2.2)
12
10
  ### Fixed
package/package.json CHANGED
@@ -1,119 +1,121 @@
1
1
  {
2
- "name": "genesys-cloud-streaming-client",
3
- "version": "19.2.3-develop.1",
4
- "description": "client for the Genesys Cloud Streaming APIs (websocket/xmpp interface)",
5
- "repository": "https:github.com/purecloudlabs/genesys-cloud-streaming-client",
6
- "license": "MIT",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "main": "dist/npm/index.js",
11
- "module": "dist/es/index.js",
12
- "rollup:bundle": "dist/es/index.bundle.js",
13
- "web": "dist/streaming-client.browser.js",
14
- "files": [
15
- "dist"
16
- ],
17
- "pre-push": [
18
- "test"
19
- ],
20
- "types": "dist/es/index.d.ts",
21
- "scripts": {
22
- "prebuild": "rimraf dist",
23
- "build": "ts-node scripts/build",
24
- "clean": "rimraf dist",
25
- "compile": "tsc -p .",
26
- "compile:module": "tsc -p . --outDir ./dist/es --target es2015 --module es2015",
27
- "compile:rollup": "rollup -c rollup.config.js",
28
- "compile:webpack": "webpack --mode production",
29
- "test": "npm run lint && npm run test:unit",
30
- "test:unit": "jest --runInBand",
31
- "test:watch": "jest --watch --runInBand --collectCoverage=false",
32
- "lint": "tslint --project . --config tslint.json",
33
- "lint:fix": "npm run lint -- --fix",
34
- "start": "run-p start:watch start:server",
35
- "start:watch": "npm-watch build",
36
- "start:sync": "npm run build && npm run start:server",
37
- "start:server": "stupid-server -s"
38
- },
39
- "watch": {
40
- "build": {
41
- "patterns": [
42
- "src"
43
- ],
44
- "extensions": "ts",
45
- "ignore": "node_modules/**",
46
- "legacyWatch": true,
47
- "delay": 1000
2
+ "name": "genesys-cloud-streaming-client",
3
+ "version": "19.2.3-develop.142",
4
+ "description": "client for the Genesys Cloud Streaming APIs (websocket/xmpp interface)",
5
+ "repository": "https:github.com/purecloudlabs/genesys-cloud-streaming-client",
6
+ "license": "MIT",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "main": "dist/npm/index.js",
11
+ "module": "dist/es/index.js",
12
+ "rollup:bundle": "dist/es/index.bundle.js",
13
+ "web": "dist/streaming-client.browser.js",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "pre-push": [
18
+ "test"
19
+ ],
20
+ "types": "dist/es/index.d.ts",
21
+ "scripts": {
22
+ "prebuild": "rimraf dist",
23
+ "build": "ts-node scripts/build",
24
+ "clean": "rimraf dist",
25
+ "compile": "tsc -p .",
26
+ "compile:module": "tsc -p . --outDir ./dist/es --target es2015 --module es2015",
27
+ "compile:rollup": "rollup -c rollup.config.js",
28
+ "compile:webpack": "webpack --mode production",
29
+ "test": "npm run lint && npm run test:unit",
30
+ "test:unit": "jest --runInBand",
31
+ "test:watch": "jest --watch --runInBand --collectCoverage=false",
32
+ "lint": "tslint --project . --config tslint.json",
33
+ "lint:fix": "npm run lint -- --fix",
34
+ "start": "run-p start:watch start:server",
35
+ "start:watch": "npm-watch build",
36
+ "start:sync": "npm run build && npm run start:server",
37
+ "start:server": "stupid-server -s"
38
+ },
39
+ "watch": {
40
+ "build": {
41
+ "patterns": [
42
+ "src"
43
+ ],
44
+ "extensions": "ts",
45
+ "ignore": "node_modules/**",
46
+ "legacyWatch": true,
47
+ "delay": 1000
48
+ }
49
+ },
50
+ "author": "",
51
+ "dependencies": {
52
+ "@babel/runtime-corejs3": "^7.10.4",
53
+ "axios": "^1.7.4",
54
+ "backoff-web": "^1.0.1",
55
+ "browserama": "^3.2.0",
56
+ "core-js": "^3.6.5",
57
+ "debounce-promise": "^3.1.2",
58
+ "exponential-backoff": "^3.1.1",
59
+ "genesys-cloud-client-logger": "^4.2.13",
60
+ "limiter": "^1.1.0",
61
+ "lodash.throttle": "^4.1.1",
62
+ "lru-cache": "^11.0.1",
63
+ "stanza": "^12.20.0",
64
+ "strict-event-emitter": "^0.5.0",
65
+ "strict-event-emitter-types": "^2.0.0",
66
+ "unorm": "^1.6.0",
67
+ "uuid": "^9.0.1",
68
+ "webrtc-stats-gatherer": "^9.0.10",
69
+ "whatwg-fetch": "^3.0.0",
70
+ "wildemitter": "^1.2.1",
71
+ "ws": "^8.17.1"
72
+ },
73
+ "devDependencies": {
74
+ "@babel/core": "^7.12.0",
75
+ "@babel/plugin-proposal-class-properties": "^7.10.4",
76
+ "@babel/plugin-proposal-decorators": "^7.10.5",
77
+ "@babel/plugin-transform-private-methods": "^7.25.9",
78
+ "@babel/plugin-transform-runtime": "^7.12.0",
79
+ "@babel/preset-env": "^7.12.0",
80
+ "@babel/preset-typescript": "^7.10.4",
81
+ "@babel/register": "^7.8.6",
82
+ "@babel/runtime": "^7.12.0",
83
+ "@rollup/plugin-commonjs": "^22.0.0-1",
84
+ "@rollup/plugin-node-resolve": "^9.0.0",
85
+ "@types/jest": "^26.0.3",
86
+ "@types/lodash.throttle": "^4.1.6",
87
+ "@types/nock": "^11.1.0",
88
+ "@types/node": "^14.6.2",
89
+ "@types/uuid": "^9.0.7",
90
+ "atob": "^2.1.2",
91
+ "axios-mock-adapter": "^1.22.0",
92
+ "babel-jest": "^26.1.0",
93
+ "babel-loader": "^8.1.0",
94
+ "btoa": "^1.2.1",
95
+ "jest": "^26.1.0",
96
+ "jest-mock-axios": "^4.6.1",
97
+ "nock": "^13.0.4",
98
+ "npm-run-all": "^4.1.5",
99
+ "npm-watch": "^0.10.0",
100
+ "pre-push": "^0.1.1",
101
+ "process-fast": "^1.0.0",
102
+ "rimraf": "^3.0.2",
103
+ "rollup": "^2.26.11",
104
+ "rollup-plugin-polyfill-node": "^0.8.0",
105
+ "semistandard": "^13.0.1",
106
+ "stupid-server": "^0.2.5",
107
+ "ts-jest": "^26.3.0",
108
+ "ts-node": "^9.0.0",
109
+ "tslint": "^6.1.3",
110
+ "tslint-config-semistandard": "^8.0.1",
111
+ "typescript": "~4.1.0",
112
+ "webpack": "^4.35.3",
113
+ "webpack-auto-inject-version": "^1.2.2",
114
+ "webpack-bundle-analyzer": "^3.8.0",
115
+ "webpack-cli": "^3.3.5",
116
+ "webpack-node-externals": "^2.5.0"
117
+ },
118
+ "false": {
119
+
48
120
  }
49
- },
50
- "author": "",
51
- "dependencies": {
52
- "@babel/runtime-corejs3": "^7.10.4",
53
- "axios": "^1.7.4",
54
- "backoff-web": "^1.0.1",
55
- "browserama": "^3.2.0",
56
- "core-js": "^3.6.5",
57
- "debounce-promise": "^3.1.2",
58
- "exponential-backoff": "^3.1.1",
59
- "genesys-cloud-client-logger": "^4.2.13",
60
- "limiter": "^1.1.0",
61
- "lodash.throttle": "^4.1.1",
62
- "lru-cache": "^11.0.1",
63
- "stanza": "^12.20.0",
64
- "strict-event-emitter": "^0.5.0",
65
- "strict-event-emitter-types": "^2.0.0",
66
- "unorm": "^1.6.0",
67
- "uuid": "^9.0.1",
68
- "webrtc-stats-gatherer": "^9.0.10",
69
- "whatwg-fetch": "^3.0.0",
70
- "wildemitter": "^1.2.1",
71
- "ws": "^8.17.1"
72
- },
73
- "devDependencies": {
74
- "@babel/core": "^7.12.0",
75
- "@babel/plugin-proposal-class-properties": "^7.10.4",
76
- "@babel/plugin-proposal-decorators": "^7.10.5",
77
- "@babel/plugin-transform-private-methods": "^7.25.9",
78
- "@babel/plugin-transform-runtime": "^7.12.0",
79
- "@babel/preset-env": "^7.12.0",
80
- "@babel/preset-typescript": "^7.10.4",
81
- "@babel/register": "^7.8.6",
82
- "@babel/runtime": "^7.12.0",
83
- "@rollup/plugin-commonjs": "^22.0.0-1",
84
- "@rollup/plugin-node-resolve": "^9.0.0",
85
- "@types/jest": "^26.0.3",
86
- "@types/lodash.throttle": "^4.1.6",
87
- "@types/nock": "^11.1.0",
88
- "@types/node": "^14.6.2",
89
- "@types/uuid": "^9.0.7",
90
- "atob": "^2.1.2",
91
- "axios-mock-adapter": "^1.22.0",
92
- "babel-jest": "^26.1.0",
93
- "babel-loader": "^8.1.0",
94
- "btoa": "^1.2.1",
95
- "jest": "^26.1.0",
96
- "jest-mock-axios": "^4.6.1",
97
- "nock": "^13.0.4",
98
- "npm-run-all": "^4.1.5",
99
- "npm-watch": "^0.10.0",
100
- "pre-push": "^0.1.1",
101
- "process-fast": "^1.0.0",
102
- "rimraf": "^3.0.2",
103
- "rollup": "^2.26.11",
104
- "rollup-plugin-polyfill-node": "^0.8.0",
105
- "semistandard": "^13.0.1",
106
- "stupid-server": "^0.2.5",
107
- "ts-jest": "^26.3.0",
108
- "ts-node": "^9.0.0",
109
- "tslint": "^6.1.3",
110
- "tslint-config-semistandard": "^8.0.1",
111
- "typescript": "~4.1.0",
112
- "webpack": "^4.35.3",
113
- "webpack-auto-inject-version": "^1.2.2",
114
- "webpack-bundle-analyzer": "^3.8.0",
115
- "webpack-cli": "^3.3.5",
116
- "webpack-node-externals": "^2.5.0"
117
- },
118
- "false": {}
119
- }
121
+ }
@@ -1,13 +0,0 @@
1
- {
2
- "version": "19.2.3-develop",
3
- "build": "1",
4
- "buildDate": "2025-06-28T03:10:09.944Z",
5
- "indexFiles": [
6
- {
7
- "file": "v19.2.3/streaming-client.browser.js"
8
- },
9
- {
10
- "file": "v19/streaming-client.browser.js"
11
- }
12
- ]
13
- }