@stripchatdev/ext-helper 0.1.11 → 0.1.12

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -119,10 +119,13 @@ export declare type TV1ExtContext = {
119
119
  };
120
120
 
121
121
  declare type TV1ExtEvents = {
122
+ 'v1.ext.activity.available': null;
123
+ 'v1.ext.activity.busy': null;
122
124
  'v1.ext.context.updated': {
123
125
  context: TV1ExtContext;
124
126
  };
125
127
  'v1.ext.whispered': TV1WhisperData;
128
+ 'v1.ext.whispered.local': TV1WhisperData;
126
129
  };
127
130
 
128
131
  declare type TV1ExtMethods = {
@@ -130,12 +133,24 @@ declare type TV1ExtMethods = {
130
133
  params: TV1ActionRequestParams;
131
134
  result: TV1ActionResult;
132
135
  };
136
+ 'v1.ext.activity.cancel': {
137
+ params: {
138
+ activityId: string;
139
+ };
140
+ result: null;
141
+ };
133
142
  'v1.ext.activity.request': {
134
143
  params: {
135
144
  durationMs: number;
136
145
  };
137
146
  result: {
138
- isGranted: boolean;
147
+ activityId: string;
148
+ };
149
+ };
150
+ 'v1.ext.activity.status': {
151
+ params: null;
152
+ result: {
153
+ status: 'available' | 'busy';
139
154
  };
140
155
  };
141
156
  'v1.ext.context.get': {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stripchatdev/ext-helper",
3
3
  "private": false,
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "module": "./dist/ext-helper.js",