Skip to content

Commit

Permalink
chore(2.2.11-beta.0): released version 2.2.11-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyamjain-plivo authored Jul 8, 2024
1 parent 4055fcb commit bb1c3a3
Show file tree
Hide file tree
Showing 36 changed files with 2,689 additions and 484 deletions.
159 changes: 159 additions & 0 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
name: Build and Test

on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- master
- beta

jobs:

build-ubuntu-11-14:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [11.x,14.x]

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install TypeScript 4.1.3
run: npm install [email protected] --force

- name: Install Dependencies
run: npm install --force && npm install jest --force

- name: Build
run: npm run build

- name: Run unit test cases on Ubuntu
run: npm run test:unit-jenkins
continue-on-error: true


build-ubuntu-16-18:
runs-on: ubuntu-latest
needs: build-ubuntu-11-14
strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install TypeScript 4.1.3
run: npm install [email protected] --force

- name: Install Dependencies
run: npm install --force && npm install jest --force

- name: Build
run: npm run build

- name: Run unit test cases on Ubuntu
run: npm run test:unit-jenkins
continue-on-error: true


build-ubuntu-20-latest:
runs-on: ubuntu-latest
needs: build-ubuntu-16-18
strategy:
matrix:
node-version: [20.x, latest]

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install --force && npm install jest --force

- name: Install TypeScript 4.1.3
run: npm install [email protected] --force

- name: Build
run: npm run build

- name: Run unit test cases on Ubuntu
run: npm run test:unit-jenkins
continue-on-error: true



build-macos:
runs-on: macos-latest
needs: build-ubuntu-20-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x, latest]

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install --force && npm install jest --force

- name: Install TypeScript 4.1.3
run: npm install [email protected] --force

- name: Build
run: npm run build

- name: Run unit test cases on macOS
run: npm run test:unit
continue-on-error: true


build-windows:
runs-on: windows-latest
needs: build-macos
strategy:
matrix:
node-version: [16.x, 18.x, 20.x, latest]

steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install --force && npm install jest --force

- name: Install TypeScript 4.1.3
run: npm install [email protected] --force

- name: Build
run: npm run build

- name: Run unit test cases on Windows
run: npm run test:unit-windows
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ All notable GA release changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## v2.2.11-beta.0 (released@ 08-07-2024)

**Features**
* Added support for connecting and registering the SDK independently: If the `stopAutoRegisterOnConnect` flag is set to true, the `login()` method will only connect the SDK to Plivo servers. Default is set to `false`.
* Introduced a new `register()` method, which registers the SDK when called.
* Introduced the `captureSDKCrashOnly` flag, which, when set to true, captures and syncs only SDK-related crash logs. Default is `false`.
* Introduced the `redirect(uri)` method, which redirects the call to other SDK clients when invoked.
* Added helper methods such as
* `disconnect()`: Disconnect the SDK.
* `unregister()`: Unregister the SDK
* `getCurrentSession()`: Returns current active session, If any.
* Added support to send more call-related information and statistics to the call-insights service.

**Bug fixes**
- Fixed the issue causing a mismatch between local machine time and actual time.
- Fixed issues where the speech recognition engine would enter an endless loop when mute is performed on two tabs using the same engine

## v2.2.11 (released@ 07-06-2024)

**Bug Fixes**
Expand Down
10 changes: 10 additions & 0 deletions customTypes/worker-loader.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
declare module "*.worker.ts" {
// You need to change `Worker`, if you specified a different value for the `workerType` option
class WebpackWorker extends Worker {
constructor();
}

// Uncomment this if you set the `esModule` option to `false`
// export = WebpackWorker;
export default WebpackWorker;
};
Loading

0 comments on commit bb1c3a3

Please sign in to comment.