@vindral/web-sdk 2.0.20 → 2.0.23

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/index.d.ts CHANGED
@@ -1565,6 +1565,7 @@ export interface ConnectResponse {
1565
1565
  export interface ApiClientOptions {
1566
1566
  publicEndpoint: string;
1567
1567
  tokenFactory?: AuthorizationTokenFactory;
1568
+ sessionId?: string;
1568
1569
  }
1569
1570
  export interface AuthorizationContext {
1570
1571
  channelGroupId?: string;
@@ -1574,10 +1575,12 @@ export declare type AuthorizationTokenFactory = (context: AuthorizationContext)
1574
1575
  export declare class ApiClient {
1575
1576
  private baseUrl;
1576
1577
  private tokenFactory?;
1578
+ private sessionId?;
1577
1579
  constructor(options: ApiClientOptions);
1578
1580
  connect(options: ConnectOptions): Promise<ConnectResponse>;
1579
1581
  getChannel(channelId: string): Promise<Channel>;
1580
1582
  getChannels(channelGroupId: string): Promise<Channel[]>;
1583
+ private getHeaders;
1581
1584
  private getAuthToken;
1582
1585
  private toChannels;
1583
1586
  private toChannel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vindral/web-sdk",
3
- "version": "2.0.20",
3
+ "version": "2.0.23",
4
4
  "homepage": "https://vindral.com",
5
5
  "description": "Web SDK for viewing Vindral streams",
6
6
  "license": "SEE LICENSE IN https://www.vindral.com/terms-conditions",