@digitalsamba/embedded-sdk 0.0.8 → 0.0.11
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/README.md +23 -4
- package/dist/cjs/index.d.ts +4 -4
- package/dist/cjs/index.js +61 -69
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/cjs/types.d.ts +7 -5
- package/dist/cjs/umd.d.ts +1 -1
- package/dist/cjs/umd.js +2 -4
- package/dist/cjs/utils/errors.js +7 -7
- package/dist/esm/index.d.ts +4 -4
- package/dist/esm/index.js +59 -70
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types.d.ts +7 -5
- package/dist/esm/umd.d.ts +1 -1
- package/dist/esm/umd.js +2 -2
- package/dist/esm/utils/errors.js +7 -7
- package/dist/index.html +2 -3
- package/dist/types/index.d.ts +4 -4
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/types.d.ts +7 -5
- package/dist/types/umd.d.ts +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +4 -1
package/README.md
CHANGED
@@ -84,8 +84,25 @@ api.on('userJoined', (data) => {
|
|
84
84
|
api.on('userLeft', (data) => {
|
85
85
|
// ...
|
86
86
|
});
|
87
|
+
```
|
88
|
+
|
89
|
+
Error event can provide useful details:
|
90
|
+
```js
|
91
|
+
api.on('appError', (error) => {
|
92
|
+
console.log(error);
|
93
|
+
|
94
|
+
/* outputs {
|
95
|
+
name: 'recording-not-allowed',
|
96
|
+
message:
|
97
|
+
'Recording disabled. You’ll need to edit this room’s properties to record sessions in this room',
|
98
|
+
}
|
99
|
+
*/
|
100
|
+
});
|
101
|
+
```
|
102
|
+
|
87
103
|
|
88
|
-
|
104
|
+
For debugging purposes, you can also listen to all events simultaneously
|
105
|
+
```js
|
89
106
|
api.on('*', (data) => {
|
90
107
|
console.log(data);
|
91
108
|
});
|
@@ -104,8 +121,7 @@ api.disableAudio();
|
|
104
121
|
---
|
105
122
|
|
106
123
|
### Available events:
|
107
|
-
|
108
|
-
- `connected`
|
124
|
+
- `appError`
|
109
125
|
- `userJoined`
|
110
126
|
- `userLeft`
|
111
127
|
- `videoEnabled`
|
@@ -132,4 +148,7 @@ api.disableAudio();
|
|
132
148
|
- `stopScreenshare()`
|
133
149
|
- `startRecording()`
|
134
150
|
- `stopRecording()`
|
135
|
-
- `
|
151
|
+
- `showToolbar()`
|
152
|
+
- `hideToolbar()`
|
153
|
+
- `toggleToolbar(newState?: boolean)`
|
154
|
+
- `changeLayoutMode(mode: 'tiled' | 'auto')`
|
package/dist/cjs/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { InitOptions, InstanceProperties, LayoutMode } from './types';
|
3
|
+
import EventEmitter from 'events';
|
4
|
+
export declare class DigitalSambaEmbedded extends EventEmitter {
|
3
5
|
initOptions: Partial<InitOptions>;
|
4
6
|
savedIframeSrc: string;
|
5
7
|
allowedOrigin: string;
|
6
8
|
connected: boolean;
|
7
9
|
frame: HTMLIFrameElement;
|
8
|
-
eventHandlers: Partial<Record<ReceiveMessageType | "*", (payload: any) => void>>;
|
9
10
|
reportErrors: boolean;
|
10
11
|
constructor(options?: Partial<InitOptions>, instanceProperties?: Partial<InstanceProperties>, loadImmediately?: boolean);
|
11
12
|
static createControl: (initOptions: InitOptions) => DigitalSambaEmbedded;
|
12
13
|
private mountFrame;
|
13
14
|
load: (instanceProperties?: InstanceProperties) => void;
|
14
|
-
on: (type: ReceiveMessageType, handler: (payload: any) => void) => void;
|
15
15
|
private onMessage;
|
16
16
|
private setFrameSrc;
|
17
17
|
private checkTarget;
|
package/dist/cjs/index.js
CHANGED
@@ -1,19 +1,23 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
var _a;
|
3
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
7
|
exports.DigitalSambaEmbedded = void 0;
|
5
8
|
const errors_1 = require("./utils/errors");
|
6
|
-
const
|
9
|
+
const events_1 = __importDefault(require("events"));
|
10
|
+
const CONNECT_TIMEOUT = 10000;
|
7
11
|
function isFunction(func) {
|
8
12
|
return func instanceof Function;
|
9
13
|
}
|
10
|
-
class DigitalSambaEmbedded {
|
14
|
+
class DigitalSambaEmbedded extends events_1.default {
|
11
15
|
constructor(options = {}, instanceProperties = {}, loadImmediately = true) {
|
12
|
-
|
13
|
-
this.
|
16
|
+
super();
|
17
|
+
this.savedIframeSrc = '';
|
18
|
+
this.allowedOrigin = '*';
|
14
19
|
this.connected = false;
|
15
|
-
this.frame = document.createElement(
|
16
|
-
this.eventHandlers = {};
|
20
|
+
this.frame = document.createElement('iframe');
|
17
21
|
this.reportErrors = false;
|
18
22
|
this.mountFrame = (loadImmediately) => {
|
19
23
|
const { url, frame, root } = this.initOptions;
|
@@ -41,31 +45,27 @@ class DigitalSambaEmbedded {
|
|
41
45
|
}
|
42
46
|
if (!loadImmediately) {
|
43
47
|
this.savedIframeSrc = this.frame.src;
|
44
|
-
this.frame.src =
|
48
|
+
this.frame.src = '';
|
45
49
|
}
|
46
50
|
};
|
47
51
|
this.load = (instanceProperties = {}) => {
|
48
52
|
this.reportErrors = instanceProperties.reportErrors || false;
|
49
53
|
this.setFrameSrc();
|
50
54
|
this.applyFrameProperties(instanceProperties);
|
51
|
-
this.frame.style.display =
|
52
|
-
};
|
53
|
-
this.on = (type, handler) => {
|
54
|
-
this.eventHandlers[type] = handler;
|
55
|
+
this.frame.style.display = 'block';
|
55
56
|
};
|
56
57
|
this.onMessage = (event) => {
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
}
|
58
|
+
if (event.origin !== this.allowedOrigin) {
|
59
|
+
// ignore messages from other sources;
|
60
|
+
return;
|
61
|
+
}
|
62
|
+
const message = event.data.DSPayload;
|
63
|
+
if (!message) {
|
64
|
+
return;
|
65
|
+
}
|
66
|
+
this.emit('*', message);
|
67
|
+
if (message.type) {
|
68
|
+
this.emit(message.type, message);
|
69
69
|
}
|
70
70
|
};
|
71
71
|
this.setFrameSrc = () => {
|
@@ -76,7 +76,7 @@ class DigitalSambaEmbedded {
|
|
76
76
|
}
|
77
77
|
if (url && token) {
|
78
78
|
const urlObj = new URL(url);
|
79
|
-
urlObj.searchParams.append(
|
79
|
+
urlObj.searchParams.append('token', token);
|
80
80
|
url = urlObj.toString();
|
81
81
|
}
|
82
82
|
if (url) {
|
@@ -99,7 +99,7 @@ class DigitalSambaEmbedded {
|
|
99
99
|
if (instanceProperties.frameAttributes) {
|
100
100
|
// TODO: only allow specific attrs here; This is a heck to support
|
101
101
|
Object.entries(instanceProperties.frameAttributes).forEach(([attr, value]) => {
|
102
|
-
if (value !== null && typeof value !==
|
102
|
+
if (value !== null && typeof value !== 'undefined') {
|
103
103
|
this.frame.setAttribute(attr, value.toString());
|
104
104
|
}
|
105
105
|
else {
|
@@ -113,96 +113,90 @@ class DigitalSambaEmbedded {
|
|
113
113
|
};
|
114
114
|
// commands
|
115
115
|
this.enableVideo = () => {
|
116
|
-
this.sendMessage({ type:
|
116
|
+
this.sendMessage({ type: 'enableVideo' });
|
117
117
|
};
|
118
118
|
this.disableVideo = () => {
|
119
|
-
this.sendMessage({ type:
|
119
|
+
this.sendMessage({ type: 'disableVideo' });
|
120
120
|
};
|
121
121
|
this.toggleVideo = (enable) => {
|
122
|
-
if (typeof enable ===
|
123
|
-
this.sendMessage({ type:
|
122
|
+
if (typeof enable === 'undefined') {
|
123
|
+
this.sendMessage({ type: 'toggleVideo' });
|
124
|
+
}
|
125
|
+
else if (enable) {
|
126
|
+
this.enableVideo();
|
124
127
|
}
|
125
128
|
else {
|
126
|
-
|
127
|
-
this.enableVideo();
|
128
|
-
}
|
129
|
-
else {
|
130
|
-
this.disableVideo();
|
131
|
-
}
|
129
|
+
this.disableVideo();
|
132
130
|
}
|
133
131
|
};
|
134
132
|
this.enableAudio = () => {
|
135
|
-
this.sendMessage({ type:
|
133
|
+
this.sendMessage({ type: 'enableAudio' });
|
136
134
|
};
|
137
135
|
this.disableAudio = () => {
|
138
|
-
this.sendMessage({ type:
|
136
|
+
this.sendMessage({ type: 'disableAudio' });
|
139
137
|
};
|
140
138
|
this.toggleAudio = (enable) => {
|
141
|
-
if (typeof enable ===
|
142
|
-
this.sendMessage({ type:
|
139
|
+
if (typeof enable === 'undefined') {
|
140
|
+
this.sendMessage({ type: 'toggleAudio' });
|
141
|
+
}
|
142
|
+
else if (enable) {
|
143
|
+
this.enableAudio();
|
143
144
|
}
|
144
145
|
else {
|
145
|
-
|
146
|
-
this.enableAudio();
|
147
|
-
}
|
148
|
-
else {
|
149
|
-
this.disableAudio();
|
150
|
-
}
|
146
|
+
this.disableAudio();
|
151
147
|
}
|
152
148
|
};
|
153
149
|
this.startScreenshare = () => {
|
154
|
-
this.sendMessage({ type:
|
150
|
+
this.sendMessage({ type: 'startScreenshare' });
|
155
151
|
};
|
156
152
|
this.stopScreenshare = () => {
|
157
|
-
this.sendMessage({ type:
|
153
|
+
this.sendMessage({ type: 'stopScreenshare' });
|
158
154
|
};
|
159
155
|
this.startRecording = () => {
|
160
|
-
this.sendMessage({ type:
|
156
|
+
this.sendMessage({ type: 'startRecording' });
|
161
157
|
};
|
162
158
|
this.stopRecording = () => {
|
163
|
-
this.sendMessage({ type:
|
159
|
+
this.sendMessage({ type: 'stopRecording' });
|
164
160
|
};
|
165
161
|
this.showToolbar = () => {
|
166
|
-
this.sendMessage({ type:
|
162
|
+
this.sendMessage({ type: 'showToolbar' });
|
167
163
|
};
|
168
164
|
this.hideToolbar = () => {
|
169
|
-
this.sendMessage({ type:
|
165
|
+
this.sendMessage({ type: 'hideToolbar' });
|
170
166
|
};
|
171
167
|
this.changeLayoutMode = (mode) => {
|
172
|
-
this.sendMessage({ type:
|
168
|
+
this.sendMessage({ type: 'changeLayoutMode', data: mode });
|
173
169
|
};
|
174
170
|
this.toggleToolbar = (show) => {
|
175
|
-
if (typeof show ===
|
176
|
-
this.sendMessage({ type:
|
171
|
+
if (typeof show === 'undefined') {
|
172
|
+
this.sendMessage({ type: 'toggleToolbar' });
|
173
|
+
}
|
174
|
+
else if (show) {
|
175
|
+
this.showToolbar();
|
177
176
|
}
|
178
177
|
else {
|
179
|
-
|
180
|
-
this.showToolbar();
|
181
|
-
}
|
182
|
-
else {
|
183
|
-
this.hideToolbar();
|
184
|
-
}
|
178
|
+
this.hideToolbar();
|
185
179
|
}
|
186
180
|
};
|
187
181
|
this.initOptions = options;
|
188
182
|
this.reportErrors = instanceProperties.reportErrors || false;
|
189
|
-
this.frame.allow =
|
190
|
-
this.frame.setAttribute(
|
183
|
+
this.frame.allow = 'camera; microphone; display-capture; autoplay;';
|
184
|
+
this.frame.setAttribute('allowFullscreen', 'true');
|
191
185
|
this.mountFrame(loadImmediately);
|
192
186
|
if (loadImmediately) {
|
193
187
|
this.load(instanceProperties);
|
194
188
|
}
|
195
189
|
else {
|
196
|
-
this.frame.style.display =
|
190
|
+
this.frame.style.display = 'none';
|
197
191
|
}
|
198
|
-
window.addEventListener(
|
192
|
+
window.addEventListener('message', this.onMessage);
|
199
193
|
}
|
200
194
|
checkTarget() {
|
201
|
-
this.sendMessage({ type:
|
195
|
+
this.sendMessage({ type: 'connect' });
|
202
196
|
const confirmationTimeout = window.setTimeout(() => {
|
203
197
|
this.logError(errors_1.UNKNOWN_TARGET);
|
204
198
|
}, CONNECT_TIMEOUT);
|
205
|
-
this.on(
|
199
|
+
this.on('connected', () => {
|
206
200
|
this.connected = true;
|
207
201
|
clearTimeout(confirmationTimeout);
|
208
202
|
});
|
@@ -217,6 +211,4 @@ class DigitalSambaEmbedded {
|
|
217
211
|
}
|
218
212
|
exports.DigitalSambaEmbedded = DigitalSambaEmbedded;
|
219
213
|
_a = DigitalSambaEmbedded;
|
220
|
-
DigitalSambaEmbedded.createControl = (initOptions) => {
|
221
|
-
return new _a(initOptions, {}, false);
|
222
|
-
};
|
214
|
+
DigitalSambaEmbedded.createControl = (initOptions) => new _a(initOptions, {}, false);
|
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es5.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.core.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.date.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.number.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.error.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"e458f9c8735c6c15af7f18accd0757de932e205fda7e41f7ea66c67c29e89d75","signature":"4a20ff310273cce1bd64cb34def6e811239ca23e2c0826e18b85c254faa760b2"},{"version":"7b2f9eda59965cd1371e202b7e38b9b607594a1b3c6780751c2d2539f57b2be0","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"afa55f02854415a830130c43a5f87ea3e0431ba52c48248e218c80a79f90af54","signature":"d6932f153b832b6de5d1f7d48ff1abc3b2feadf27b28d318e6a885c94c8883bc"},{"version":"ed72852cc026c4e5b380682597fdd4f91bd9144a2fca18f8cfec062b294a21a3","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"jsx":4,"module":1,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[56,57],[58],[56]],"referencedMap":[[58,1],[59,2]],"exportedModulesMap":[[58,3]],"semanticDiagnosticsPerFile":[11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,58,56,59,57]},"version":"4.8.4"}
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"f1747356a26ec76d2c05bdfdf8e8f6548cd0a95884507fc96e8f7fc375b3c24d","signature":"b9e555419453c9f9dfd61e303f6f2b39a1e84f19e1919b194a36487460e58988"},{"version":"ccdb67e00a37962339d1e16f97f51029484d72f6def121d96cbaedd7dbcf0003","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"980648d7f4ee1595ae852b1ba0baea348273922a41da0113c9b42c5e82954f68","signature":"69eec80b25ab710c6b407102ec1b60dc7afa7dc54b2ef953e3933607466f4dd9"},{"version":"552647a3743424532762623e04757de83f03ef4056255290576b17390abe20c2","signature":"88ed744d787d029a8e0a02f2eec24d387986a25e3a4482e98ad5392d3bf91233","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","3adc8ac088388fd10b0e9cd3fa08abbebed9172577807394a241466ccb98f411","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"8dbe725f8d237e70310977afcfa011629804d101ebaa0266cafda6b61ad72236","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d"],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"jsx":4,"module":1,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[62,64,113],[113],[61,62,63,113],[67,113],[70,113],[71,76,104,113],[72,83,84,91,101,112,113],[72,73,83,91,113],[74,113],[75,76,84,92,113],[76,101,109,113],[77,79,83,91,113],[78,113],[79,80,113],[83,113],[81,83,113],[83,84,85,101,112,113],[83,84,85,98,101,104,113],[113,117],[79,86,91,101,112,113],[83,84,86,87,91,101,109,112,113],[86,88,101,109,112,113],[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[83,89,113],[90,112,113],[79,83,91,101,113],[92,113],[93,113],[70,94,113],[95,111,113,117],[96,113],[97,113],[83,98,99,113],[98,100,113,115],[71,83,101,102,103,104,113],[71,101,103,113],[101,102,113],[104,113],[105,113],[83,107,108,113],[107,108,113],[76,91,101,109,113],[110,113],[91,111,113],[71,86,97,112,113],[76,113],[101,113,114],[113,115],[113,116],[71,76,83,85,94,101,112,113,115,117],[101,113,118],[113,121,160],[113,121,145,160],[113,160],[113,121],[113,121,146,160],[113,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[113,146,160],[57,58,83,113],[57,83]],"referencedMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,59],[57,2],[60,2],[58,2]],"exportedModulesMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,60]],"semanticDiagnosticsPerFile":[65,61,64,62,63,66,67,68,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,69,119,86,87,88,120,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,145,146,121,124,143,144,134,133,131,126,139,137,141,125,138,142,127,128,140,122,129,130,132,136,147,135,123,160,159,154,156,155,148,149,151,153,157,158,150,152,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,59,57,60,58]},"version":"4.9.4"}
|
package/dist/cjs/types.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface InitOptions {
|
|
6
6
|
room: string;
|
7
7
|
token?: string;
|
8
8
|
}
|
9
|
-
export
|
9
|
+
export type FrameAttributes = {
|
10
10
|
align: string;
|
11
11
|
allow: string;
|
12
12
|
allowFullscreen: boolean;
|
@@ -26,15 +26,17 @@ export interface InstanceProperties {
|
|
26
26
|
frameAttributes?: Partial<FrameAttributes>;
|
27
27
|
reportErrors?: boolean;
|
28
28
|
}
|
29
|
-
export
|
30
|
-
export
|
29
|
+
export type SendMessageType = 'connect' | 'enableVideo' | 'enableAudio' | 'disableVideo' | 'disableAudio' | 'toggleVideo' | 'toggleAudio' | 'startScreenshare' | 'stopScreenshare' | 'startRecording' | 'stopRecording' | 'showToolbar' | 'hideToolbar' | 'toggleToolbar' | 'changeLayoutMode';
|
30
|
+
export type ReceiveMessageType = 'connected' | 'userJoined' | 'userLeft' | 'videoEnabled' | 'videoDisabled' | 'audioEnabled' | 'audioDisabled' | 'screenshareStarted' | 'screenshareStopped' | 'recordingStarted' | 'recordingStopped' | 'recordingFailed' | 'layoutModeChanged' | 'activeSpeakerChanged' | 'appError';
|
31
31
|
export interface SendMessage<D> {
|
32
32
|
type: SendMessageType;
|
33
33
|
data?: D;
|
34
34
|
}
|
35
35
|
export interface ReceiveMessage {
|
36
|
-
|
37
|
-
|
36
|
+
DSPayload: {
|
37
|
+
type: ReceiveMessageType;
|
38
|
+
payload: unknown;
|
39
|
+
};
|
38
40
|
}
|
39
41
|
export declare enum LayoutMode {
|
40
42
|
tiled = "tiled",
|
package/dist/cjs/umd.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
declare const DigitalSambaEmbedded: any;
|
package/dist/cjs/umd.js
CHANGED
@@ -1,6 +1,4 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
|
-
const index_1 = require("./index");
|
2
|
+
const { DigitalSambaEmbedded } = require('./index');
|
4
3
|
// compatibility with script tag
|
5
|
-
|
6
|
-
module.exports = index_1.DigitalSambaEmbedded;
|
4
|
+
module.exports = DigitalSambaEmbedded;
|
package/dist/cjs/utils/errors.js
CHANGED
@@ -9,18 +9,18 @@ class RichError extends Error {
|
|
9
9
|
}
|
10
10
|
exports.RichError = RichError;
|
11
11
|
exports.UNKNOWN_TARGET = new RichError({
|
12
|
-
name:
|
13
|
-
message:
|
12
|
+
name: 'UNKNOWN_TARGET',
|
13
|
+
message: 'Could not verify the identity of target frame. Commands may not work',
|
14
14
|
});
|
15
15
|
exports.INVALID_CONFIG = new RichError({
|
16
|
-
name:
|
17
|
-
message:
|
16
|
+
name: 'INVALID_INIT_CONFIG',
|
17
|
+
message: 'Initializations options are invalid. Missing team name or room ID',
|
18
18
|
});
|
19
19
|
exports.ALLOW_ATTRIBUTE_MISSING = new RichError({
|
20
|
-
name:
|
20
|
+
name: 'ALLOW_ATTRIBUTE_MISSING',
|
21
21
|
message: "You've provided a frame that is mising 'allow' attribute. Some functionality may not work.",
|
22
22
|
});
|
23
23
|
exports.INVALID_URL = new RichError({
|
24
|
-
name:
|
25
|
-
message:
|
24
|
+
name: 'INVALID_URL',
|
25
|
+
message: 'Invalid frame url specified',
|
26
26
|
});
|
package/dist/esm/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { InitOptions, InstanceProperties, LayoutMode } from './types';
|
3
|
+
import EventEmitter from 'events';
|
4
|
+
export declare class DigitalSambaEmbedded extends EventEmitter {
|
3
5
|
initOptions: Partial<InitOptions>;
|
4
6
|
savedIframeSrc: string;
|
5
7
|
allowedOrigin: string;
|
6
8
|
connected: boolean;
|
7
9
|
frame: HTMLIFrameElement;
|
8
|
-
eventHandlers: Partial<Record<ReceiveMessageType | "*", (payload: any) => void>>;
|
9
10
|
reportErrors: boolean;
|
10
11
|
constructor(options?: Partial<InitOptions>, instanceProperties?: Partial<InstanceProperties>, loadImmediately?: boolean);
|
11
12
|
static createControl: (initOptions: InitOptions) => DigitalSambaEmbedded;
|
12
13
|
private mountFrame;
|
13
14
|
load: (instanceProperties?: InstanceProperties) => void;
|
14
|
-
on: (type: ReceiveMessageType, handler: (payload: any) => void) => void;
|
15
15
|
private onMessage;
|
16
16
|
private setFrameSrc;
|
17
17
|
private checkTarget;
|
package/dist/esm/index.js
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
var _a;
|
2
|
-
import { ALLOW_ATTRIBUTE_MISSING, INVALID_CONFIG, INVALID_URL, UNKNOWN_TARGET, } from
|
3
|
-
|
2
|
+
import { ALLOW_ATTRIBUTE_MISSING, INVALID_CONFIG, INVALID_URL, UNKNOWN_TARGET, } from './utils/errors';
|
3
|
+
import EventEmitter from 'events';
|
4
|
+
const CONNECT_TIMEOUT = 10000;
|
4
5
|
function isFunction(func) {
|
5
6
|
return func instanceof Function;
|
6
7
|
}
|
7
|
-
export class DigitalSambaEmbedded {
|
8
|
+
export class DigitalSambaEmbedded extends EventEmitter {
|
8
9
|
constructor(options = {}, instanceProperties = {}, loadImmediately = true) {
|
9
|
-
|
10
|
-
this.
|
10
|
+
super();
|
11
|
+
this.savedIframeSrc = '';
|
12
|
+
this.allowedOrigin = '*';
|
11
13
|
this.connected = false;
|
12
|
-
this.frame = document.createElement(
|
13
|
-
this.eventHandlers = {};
|
14
|
+
this.frame = document.createElement('iframe');
|
14
15
|
this.reportErrors = false;
|
15
16
|
this.mountFrame = (loadImmediately) => {
|
16
17
|
const { url, frame, root } = this.initOptions;
|
@@ -38,31 +39,27 @@ export class DigitalSambaEmbedded {
|
|
38
39
|
}
|
39
40
|
if (!loadImmediately) {
|
40
41
|
this.savedIframeSrc = this.frame.src;
|
41
|
-
this.frame.src =
|
42
|
+
this.frame.src = '';
|
42
43
|
}
|
43
44
|
};
|
44
45
|
this.load = (instanceProperties = {}) => {
|
45
46
|
this.reportErrors = instanceProperties.reportErrors || false;
|
46
47
|
this.setFrameSrc();
|
47
48
|
this.applyFrameProperties(instanceProperties);
|
48
|
-
this.frame.style.display =
|
49
|
-
};
|
50
|
-
this.on = (type, handler) => {
|
51
|
-
this.eventHandlers[type] = handler;
|
49
|
+
this.frame.style.display = 'block';
|
52
50
|
};
|
53
51
|
this.onMessage = (event) => {
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
}
|
52
|
+
if (event.origin !== this.allowedOrigin) {
|
53
|
+
// ignore messages from other sources;
|
54
|
+
return;
|
55
|
+
}
|
56
|
+
const message = event.data.DSPayload;
|
57
|
+
if (!message) {
|
58
|
+
return;
|
59
|
+
}
|
60
|
+
this.emit('*', message);
|
61
|
+
if (message.type) {
|
62
|
+
this.emit(message.type, message);
|
66
63
|
}
|
67
64
|
};
|
68
65
|
this.setFrameSrc = () => {
|
@@ -73,7 +70,7 @@ export class DigitalSambaEmbedded {
|
|
73
70
|
}
|
74
71
|
if (url && token) {
|
75
72
|
const urlObj = new URL(url);
|
76
|
-
urlObj.searchParams.append(
|
73
|
+
urlObj.searchParams.append('token', token);
|
77
74
|
url = urlObj.toString();
|
78
75
|
}
|
79
76
|
if (url) {
|
@@ -96,7 +93,7 @@ export class DigitalSambaEmbedded {
|
|
96
93
|
if (instanceProperties.frameAttributes) {
|
97
94
|
// TODO: only allow specific attrs here; This is a heck to support
|
98
95
|
Object.entries(instanceProperties.frameAttributes).forEach(([attr, value]) => {
|
99
|
-
if (value !== null && typeof value !==
|
96
|
+
if (value !== null && typeof value !== 'undefined') {
|
100
97
|
this.frame.setAttribute(attr, value.toString());
|
101
98
|
}
|
102
99
|
else {
|
@@ -110,96 +107,90 @@ export class DigitalSambaEmbedded {
|
|
110
107
|
};
|
111
108
|
// commands
|
112
109
|
this.enableVideo = () => {
|
113
|
-
this.sendMessage({ type:
|
110
|
+
this.sendMessage({ type: 'enableVideo' });
|
114
111
|
};
|
115
112
|
this.disableVideo = () => {
|
116
|
-
this.sendMessage({ type:
|
113
|
+
this.sendMessage({ type: 'disableVideo' });
|
117
114
|
};
|
118
115
|
this.toggleVideo = (enable) => {
|
119
|
-
if (typeof enable ===
|
120
|
-
this.sendMessage({ type:
|
116
|
+
if (typeof enable === 'undefined') {
|
117
|
+
this.sendMessage({ type: 'toggleVideo' });
|
118
|
+
}
|
119
|
+
else if (enable) {
|
120
|
+
this.enableVideo();
|
121
121
|
}
|
122
122
|
else {
|
123
|
-
|
124
|
-
this.enableVideo();
|
125
|
-
}
|
126
|
-
else {
|
127
|
-
this.disableVideo();
|
128
|
-
}
|
123
|
+
this.disableVideo();
|
129
124
|
}
|
130
125
|
};
|
131
126
|
this.enableAudio = () => {
|
132
|
-
this.sendMessage({ type:
|
127
|
+
this.sendMessage({ type: 'enableAudio' });
|
133
128
|
};
|
134
129
|
this.disableAudio = () => {
|
135
|
-
this.sendMessage({ type:
|
130
|
+
this.sendMessage({ type: 'disableAudio' });
|
136
131
|
};
|
137
132
|
this.toggleAudio = (enable) => {
|
138
|
-
if (typeof enable ===
|
139
|
-
this.sendMessage({ type:
|
133
|
+
if (typeof enable === 'undefined') {
|
134
|
+
this.sendMessage({ type: 'toggleAudio' });
|
135
|
+
}
|
136
|
+
else if (enable) {
|
137
|
+
this.enableAudio();
|
140
138
|
}
|
141
139
|
else {
|
142
|
-
|
143
|
-
this.enableAudio();
|
144
|
-
}
|
145
|
-
else {
|
146
|
-
this.disableAudio();
|
147
|
-
}
|
140
|
+
this.disableAudio();
|
148
141
|
}
|
149
142
|
};
|
150
143
|
this.startScreenshare = () => {
|
151
|
-
this.sendMessage({ type:
|
144
|
+
this.sendMessage({ type: 'startScreenshare' });
|
152
145
|
};
|
153
146
|
this.stopScreenshare = () => {
|
154
|
-
this.sendMessage({ type:
|
147
|
+
this.sendMessage({ type: 'stopScreenshare' });
|
155
148
|
};
|
156
149
|
this.startRecording = () => {
|
157
|
-
this.sendMessage({ type:
|
150
|
+
this.sendMessage({ type: 'startRecording' });
|
158
151
|
};
|
159
152
|
this.stopRecording = () => {
|
160
|
-
this.sendMessage({ type:
|
153
|
+
this.sendMessage({ type: 'stopRecording' });
|
161
154
|
};
|
162
155
|
this.showToolbar = () => {
|
163
|
-
this.sendMessage({ type:
|
156
|
+
this.sendMessage({ type: 'showToolbar' });
|
164
157
|
};
|
165
158
|
this.hideToolbar = () => {
|
166
|
-
this.sendMessage({ type:
|
159
|
+
this.sendMessage({ type: 'hideToolbar' });
|
167
160
|
};
|
168
161
|
this.changeLayoutMode = (mode) => {
|
169
|
-
this.sendMessage({ type:
|
162
|
+
this.sendMessage({ type: 'changeLayoutMode', data: mode });
|
170
163
|
};
|
171
164
|
this.toggleToolbar = (show) => {
|
172
|
-
if (typeof show ===
|
173
|
-
this.sendMessage({ type:
|
165
|
+
if (typeof show === 'undefined') {
|
166
|
+
this.sendMessage({ type: 'toggleToolbar' });
|
167
|
+
}
|
168
|
+
else if (show) {
|
169
|
+
this.showToolbar();
|
174
170
|
}
|
175
171
|
else {
|
176
|
-
|
177
|
-
this.showToolbar();
|
178
|
-
}
|
179
|
-
else {
|
180
|
-
this.hideToolbar();
|
181
|
-
}
|
172
|
+
this.hideToolbar();
|
182
173
|
}
|
183
174
|
};
|
184
175
|
this.initOptions = options;
|
185
176
|
this.reportErrors = instanceProperties.reportErrors || false;
|
186
|
-
this.frame.allow =
|
187
|
-
this.frame.setAttribute(
|
177
|
+
this.frame.allow = 'camera; microphone; display-capture; autoplay;';
|
178
|
+
this.frame.setAttribute('allowFullscreen', 'true');
|
188
179
|
this.mountFrame(loadImmediately);
|
189
180
|
if (loadImmediately) {
|
190
181
|
this.load(instanceProperties);
|
191
182
|
}
|
192
183
|
else {
|
193
|
-
this.frame.style.display =
|
184
|
+
this.frame.style.display = 'none';
|
194
185
|
}
|
195
|
-
window.addEventListener(
|
186
|
+
window.addEventListener('message', this.onMessage);
|
196
187
|
}
|
197
188
|
checkTarget() {
|
198
|
-
this.sendMessage({ type:
|
189
|
+
this.sendMessage({ type: 'connect' });
|
199
190
|
const confirmationTimeout = window.setTimeout(() => {
|
200
191
|
this.logError(UNKNOWN_TARGET);
|
201
192
|
}, CONNECT_TIMEOUT);
|
202
|
-
this.on(
|
193
|
+
this.on('connected', () => {
|
203
194
|
this.connected = true;
|
204
195
|
clearTimeout(confirmationTimeout);
|
205
196
|
});
|
@@ -213,6 +204,4 @@ export class DigitalSambaEmbedded {
|
|
213
204
|
}
|
214
205
|
}
|
215
206
|
_a = DigitalSambaEmbedded;
|
216
|
-
DigitalSambaEmbedded.createControl = (initOptions) => {
|
217
|
-
return new _a(initOptions, {}, false);
|
218
|
-
};
|
207
|
+
DigitalSambaEmbedded.createControl = (initOptions) => new _a(initOptions, {}, false);
|
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es5.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.core.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.date.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.number.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.error.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"e458f9c8735c6c15af7f18accd0757de932e205fda7e41f7ea66c67c29e89d75","signature":"4a20ff310273cce1bd64cb34def6e811239ca23e2c0826e18b85c254faa760b2"},{"version":"7b2f9eda59965cd1371e202b7e38b9b607594a1b3c6780751c2d2539f57b2be0","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"afa55f02854415a830130c43a5f87ea3e0431ba52c48248e218c80a79f90af54","signature":"d6932f153b832b6de5d1f7d48ff1abc3b2feadf27b28d318e6a885c94c8883bc"},{"version":"ed72852cc026c4e5b380682597fdd4f91bd9144a2fca18f8cfec062b294a21a3","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"jsx":4,"module":99,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[56,57],[58],[56]],"referencedMap":[[58,1],[59,2]],"exportedModulesMap":[[58,3]],"semanticDiagnosticsPerFile":[11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,58,56,59,57]},"version":"4.8.4"}
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"f1747356a26ec76d2c05bdfdf8e8f6548cd0a95884507fc96e8f7fc375b3c24d","signature":"b9e555419453c9f9dfd61e303f6f2b39a1e84f19e1919b194a36487460e58988"},{"version":"ccdb67e00a37962339d1e16f97f51029484d72f6def121d96cbaedd7dbcf0003","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"980648d7f4ee1595ae852b1ba0baea348273922a41da0113c9b42c5e82954f68","signature":"69eec80b25ab710c6b407102ec1b60dc7afa7dc54b2ef953e3933607466f4dd9"},{"version":"552647a3743424532762623e04757de83f03ef4056255290576b17390abe20c2","signature":"88ed744d787d029a8e0a02f2eec24d387986a25e3a4482e98ad5392d3bf91233","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","3adc8ac088388fd10b0e9cd3fa08abbebed9172577807394a241466ccb98f411","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"8dbe725f8d237e70310977afcfa011629804d101ebaa0266cafda6b61ad72236","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d"],"options":{"declaration":true,"downlevelIteration":true,"esModuleInterop":true,"jsx":4,"module":99,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[62,64,113],[113],[61,62,63,113],[67,113],[70,113],[71,76,104,113],[72,83,84,91,101,112,113],[72,73,83,91,113],[74,113],[75,76,84,92,113],[76,101,109,113],[77,79,83,91,113],[78,113],[79,80,113],[83,113],[81,83,113],[83,84,85,101,112,113],[83,84,85,98,101,104,113],[113,117],[79,86,91,101,112,113],[83,84,86,87,91,101,109,112,113],[86,88,101,109,112,113],[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[83,89,113],[90,112,113],[79,83,91,101,113],[92,113],[93,113],[70,94,113],[95,111,113,117],[96,113],[97,113],[83,98,99,113],[98,100,113,115],[71,83,101,102,103,104,113],[71,101,103,113],[101,102,113],[104,113],[105,113],[83,107,108,113],[107,108,113],[76,91,101,109,113],[110,113],[91,111,113],[71,86,97,112,113],[76,113],[101,113,114],[113,115],[113,116],[71,76,83,85,94,101,112,113,115,117],[101,113,118],[113,121,160],[113,121,145,160],[113,160],[113,121],[113,121,146,160],[113,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[113,146,160],[57,58,83,113],[57,83]],"referencedMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,59],[57,2],[60,2],[58,2]],"exportedModulesMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,60]],"semanticDiagnosticsPerFile":[65,61,64,62,63,66,67,68,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,69,119,86,87,88,120,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,145,146,121,124,143,144,134,133,131,126,139,137,141,125,138,142,127,128,140,122,129,130,132,136,147,135,123,160,159,154,156,155,148,149,151,153,157,158,150,152,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,59,57,60,58]},"version":"4.9.4"}
|
package/dist/esm/types.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface InitOptions {
|
|
6
6
|
room: string;
|
7
7
|
token?: string;
|
8
8
|
}
|
9
|
-
export
|
9
|
+
export type FrameAttributes = {
|
10
10
|
align: string;
|
11
11
|
allow: string;
|
12
12
|
allowFullscreen: boolean;
|
@@ -26,15 +26,17 @@ export interface InstanceProperties {
|
|
26
26
|
frameAttributes?: Partial<FrameAttributes>;
|
27
27
|
reportErrors?: boolean;
|
28
28
|
}
|
29
|
-
export
|
30
|
-
export
|
29
|
+
export type SendMessageType = 'connect' | 'enableVideo' | 'enableAudio' | 'disableVideo' | 'disableAudio' | 'toggleVideo' | 'toggleAudio' | 'startScreenshare' | 'stopScreenshare' | 'startRecording' | 'stopRecording' | 'showToolbar' | 'hideToolbar' | 'toggleToolbar' | 'changeLayoutMode';
|
30
|
+
export type ReceiveMessageType = 'connected' | 'userJoined' | 'userLeft' | 'videoEnabled' | 'videoDisabled' | 'audioEnabled' | 'audioDisabled' | 'screenshareStarted' | 'screenshareStopped' | 'recordingStarted' | 'recordingStopped' | 'recordingFailed' | 'layoutModeChanged' | 'activeSpeakerChanged' | 'appError';
|
31
31
|
export interface SendMessage<D> {
|
32
32
|
type: SendMessageType;
|
33
33
|
data?: D;
|
34
34
|
}
|
35
35
|
export interface ReceiveMessage {
|
36
|
-
|
37
|
-
|
36
|
+
DSPayload: {
|
37
|
+
type: ReceiveMessageType;
|
38
|
+
payload: unknown;
|
39
|
+
};
|
38
40
|
}
|
39
41
|
export declare enum LayoutMode {
|
40
42
|
tiled = "tiled",
|
package/dist/esm/umd.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
declare const DigitalSambaEmbedded: any;
|
package/dist/esm/umd.js
CHANGED
package/dist/esm/utils/errors.js
CHANGED
@@ -5,18 +5,18 @@ export class RichError extends Error {
|
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export const UNKNOWN_TARGET = new RichError({
|
8
|
-
name:
|
9
|
-
message:
|
8
|
+
name: 'UNKNOWN_TARGET',
|
9
|
+
message: 'Could not verify the identity of target frame. Commands may not work',
|
10
10
|
});
|
11
11
|
export const INVALID_CONFIG = new RichError({
|
12
|
-
name:
|
13
|
-
message:
|
12
|
+
name: 'INVALID_INIT_CONFIG',
|
13
|
+
message: 'Initializations options are invalid. Missing team name or room ID',
|
14
14
|
});
|
15
15
|
export const ALLOW_ATTRIBUTE_MISSING = new RichError({
|
16
|
-
name:
|
16
|
+
name: 'ALLOW_ATTRIBUTE_MISSING',
|
17
17
|
message: "You've provided a frame that is mising 'allow' attribute. Some functionality may not work.",
|
18
18
|
});
|
19
19
|
export const INVALID_URL = new RichError({
|
20
|
-
name:
|
21
|
-
message:
|
20
|
+
name: 'INVALID_URL',
|
21
|
+
message: 'Invalid frame url specified',
|
22
22
|
});
|
package/dist/index.html
CHANGED
@@ -10,7 +10,6 @@
|
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<div class="ifp" style="display: flex">
|
13
|
-
<iframe allow="camera; microphone; display-capture; autoplay;" src="<>" width="700" height="500" class="if"></iframe>
|
14
13
|
|
15
14
|
<div class="log">
|
16
15
|
|
@@ -31,7 +30,7 @@
|
|
31
30
|
<button class="c10">stopRecording</button>
|
32
31
|
<button class="c11">showToolbar</button>
|
33
32
|
<button class="c12">hideToolbar</button>
|
34
|
-
<button class="c13">
|
33
|
+
<button class="c13">toggleToolbar</button>
|
35
34
|
<button class="c14">auto layout</button>
|
36
35
|
<button class="c15">tiled layout</button>
|
37
36
|
</div>
|
@@ -65,7 +64,7 @@
|
|
65
64
|
// const api = new DigitalSambaEmbedded({ frame});
|
66
65
|
//const api = new DigitalSambaEmbedded({ url: ROOM_URL}, {reportErrors: true});
|
67
66
|
|
68
|
-
const api = DigitalSambaEmbedded.createControl({
|
67
|
+
const api = DigitalSambaEmbedded.createControl({ url: ROOM_URL});
|
69
68
|
|
70
69
|
const log = document.querySelector('.log');
|
71
70
|
|
package/dist/types/index.d.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { InitOptions, InstanceProperties, LayoutMode } from './types';
|
3
|
+
import EventEmitter from 'events';
|
4
|
+
export declare class DigitalSambaEmbedded extends EventEmitter {
|
3
5
|
initOptions: Partial<InitOptions>;
|
4
6
|
savedIframeSrc: string;
|
5
7
|
allowedOrigin: string;
|
6
8
|
connected: boolean;
|
7
9
|
frame: HTMLIFrameElement;
|
8
|
-
eventHandlers: Partial<Record<ReceiveMessageType | "*", (payload: any) => void>>;
|
9
10
|
reportErrors: boolean;
|
10
11
|
constructor(options?: Partial<InitOptions>, instanceProperties?: Partial<InstanceProperties>, loadImmediately?: boolean);
|
11
12
|
static createControl: (initOptions: InitOptions) => DigitalSambaEmbedded;
|
12
13
|
private mountFrame;
|
13
14
|
load: (instanceProperties?: InstanceProperties) => void;
|
14
|
-
on: (type: ReceiveMessageType, handler: (payload: any) => void) => void;
|
15
15
|
private onMessage;
|
16
16
|
private setFrameSrc;
|
17
17
|
private checkTarget;
|
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es5.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.core.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.date.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2020.number.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.array.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.error.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.object.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.es2022.string.d.ts","../../.yarn/cache/typescript-patch-74ec80b1de-563a0ef47a.zip/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"e458f9c8735c6c15af7f18accd0757de932e205fda7e41f7ea66c67c29e89d75","signature":"4a20ff310273cce1bd64cb34def6e811239ca23e2c0826e18b85c254faa760b2"},{"version":"7b2f9eda59965cd1371e202b7e38b9b607594a1b3c6780751c2d2539f57b2be0","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"afa55f02854415a830130c43a5f87ea3e0431ba52c48248e218c80a79f90af54","signature":"d6932f153b832b6de5d1f7d48ff1abc3b2feadf27b28d318e6a885c94c8883bc"},{"version":"ed72852cc026c4e5b380682597fdd4f91bd9144a2fca18f8cfec062b294a21a3","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"}],"options":{"declaration":true,"downlevelIteration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":4,"module":1,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[56,57],[58],[56]],"referencedMap":[[58,1],[59,2]],"exportedModulesMap":[[58,3]],"semanticDiagnosticsPerFile":[11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,58,56,59,57]},"version":"4.8.4"}
|
1
|
+
{"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../src/types.ts","../../src/utils/errors.ts","../../src/index.ts","../../src/umd.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/semver/classes/semver.d.ts","../../node_modules/@types/semver/functions/parse.d.ts","../../node_modules/@types/semver/functions/valid.d.ts","../../node_modules/@types/semver/functions/clean.d.ts","../../node_modules/@types/semver/functions/inc.d.ts","../../node_modules/@types/semver/functions/diff.d.ts","../../node_modules/@types/semver/functions/major.d.ts","../../node_modules/@types/semver/functions/minor.d.ts","../../node_modules/@types/semver/functions/patch.d.ts","../../node_modules/@types/semver/functions/prerelease.d.ts","../../node_modules/@types/semver/functions/compare.d.ts","../../node_modules/@types/semver/functions/rcompare.d.ts","../../node_modules/@types/semver/functions/compare-loose.d.ts","../../node_modules/@types/semver/functions/compare-build.d.ts","../../node_modules/@types/semver/functions/sort.d.ts","../../node_modules/@types/semver/functions/rsort.d.ts","../../node_modules/@types/semver/functions/gt.d.ts","../../node_modules/@types/semver/functions/lt.d.ts","../../node_modules/@types/semver/functions/eq.d.ts","../../node_modules/@types/semver/functions/neq.d.ts","../../node_modules/@types/semver/functions/gte.d.ts","../../node_modules/@types/semver/functions/lte.d.ts","../../node_modules/@types/semver/functions/cmp.d.ts","../../node_modules/@types/semver/functions/coerce.d.ts","../../node_modules/@types/semver/classes/comparator.d.ts","../../node_modules/@types/semver/classes/range.d.ts","../../node_modules/@types/semver/functions/satisfies.d.ts","../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../node_modules/@types/semver/ranges/min-version.d.ts","../../node_modules/@types/semver/ranges/valid.d.ts","../../node_modules/@types/semver/ranges/outside.d.ts","../../node_modules/@types/semver/ranges/gtr.d.ts","../../node_modules/@types/semver/ranges/ltr.d.ts","../../node_modules/@types/semver/ranges/intersects.d.ts","../../node_modules/@types/semver/ranges/simplify.d.ts","../../node_modules/@types/semver/ranges/subset.d.ts","../../node_modules/@types/semver/internals/identifiers.d.ts","../../node_modules/@types/semver/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},{"version":"f1747356a26ec76d2c05bdfdf8e8f6548cd0a95884507fc96e8f7fc375b3c24d","signature":"b9e555419453c9f9dfd61e303f6f2b39a1e84f19e1919b194a36487460e58988"},{"version":"ccdb67e00a37962339d1e16f97f51029484d72f6def121d96cbaedd7dbcf0003","signature":"ba5b6ffe369d5c5b3d9daca09423b3c551e37ae2a6fe7cabb5ca3b80c7be065c"},{"version":"980648d7f4ee1595ae852b1ba0baea348273922a41da0113c9b42c5e82954f68","signature":"69eec80b25ab710c6b407102ec1b60dc7afa7dc54b2ef953e3933607466f4dd9"},{"version":"552647a3743424532762623e04757de83f03ef4056255290576b17390abe20c2","signature":"88ed744d787d029a8e0a02f2eec24d387986a25e3a4482e98ad5392d3bf91233","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","3adc8ac088388fd10b0e9cd3fa08abbebed9172577807394a241466ccb98f411","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"d076fede3cb042e7b13fc29442aaa03a57806bc51e2b26a67a01fbc66a7c0c12","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","223c37f62ce09a3d99e77498acdee7b2705a4ae14552fbdb4093600cd9164f3f",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","4c8525f256873c7ba3135338c647eaf0ca7115a1a2805ae2d0056629461186ce","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"4c50342e1b65d3bee2ed4ab18f84842d5724ad11083bd666d8705dc7a6079d80","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"8dbe725f8d237e70310977afcfa011629804d101ebaa0266cafda6b61ad72236","2b93035328f7778d200252681c1d86285d501ed424825a18f81e4c3028aa51d9","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","7a9e0a564fee396cacf706523b5aeed96e04c6b871a8bebefad78499fbffc5bc","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","71405cc70f183d029cc5018375f6c35117ffdaf11846c35ebf85ee3956b1b2a6","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","c649ea79205c029a02272ef55b7ab14ada0903db26144d2205021f24727ac7a3","38e2b02897c6357bbcff729ef84c736727b45cc152abe95a7567caccdfad2a1d","d6610ea7e0b1a7686dba062a1e5544dd7d34140f4545305b7c6afaebfb348341","3dee35db743bdba2c8d19aece7ac049bde6fa587e195d86547c882784e6ba34c","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","843dd7b6a7c6269fd43827303f5cbe65c1fecabc30b4670a50d5a15d57daeeb9","f06d8b8567ee9fd799bf7f806efe93b67683ef24f4dea5b23ef12edff4434d9d","6017384f697ff38bc3ef6a546df5b230c3c31329db84cbfe686c83bec011e2b2","e1a5b30d9248549ca0c0bb1d653bafae20c64c4aa5928cc4cd3017b55c2177b0","a593632d5878f17295bd53e1c77f27bf4c15212822f764a2bfc1702f4b413fa0","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","da7545aba8f54a50fde23e2ede00158dc8112560d934cee58098dfb03aae9b9d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","6aee496bf0ecfbf6731aa8cca32f4b6e92cdc0a444911a7d88410408a45ecc5d"],"options":{"declaration":true,"downlevelIteration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"jsx":4,"module":1,"noImplicitAny":true,"outDir":"./","strict":true,"target":2},"fileIdsList":[[62,64,113],[113],[61,62,63,113],[67,113],[70,113],[71,76,104,113],[72,83,84,91,101,112,113],[72,73,83,91,113],[74,113],[75,76,84,92,113],[76,101,109,113],[77,79,83,91,113],[78,113],[79,80,113],[83,113],[81,83,113],[83,84,85,101,112,113],[83,84,85,98,101,104,113],[113,117],[79,86,91,101,112,113],[83,84,86,87,91,101,109,112,113],[86,88,101,109,112,113],[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119],[83,89,113],[90,112,113],[79,83,91,101,113],[92,113],[93,113],[70,94,113],[95,111,113,117],[96,113],[97,113],[83,98,99,113],[98,100,113,115],[71,83,101,102,103,104,113],[71,101,103,113],[101,102,113],[104,113],[105,113],[83,107,108,113],[107,108,113],[76,91,101,109,113],[110,113],[91,111,113],[71,86,97,112,113],[76,113],[101,113,114],[113,115],[113,116],[71,76,83,85,94,101,112,113,115,117],[101,113,118],[113,121,160],[113,121,145,160],[113,160],[113,121],[113,121,146,160],[113,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[113,146,160],[57,58,83,113],[57,83]],"referencedMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,59],[57,2],[60,2],[58,2]],"exportedModulesMap":[[65,1],[61,2],[64,3],[62,2],[63,2],[66,2],[67,4],[68,4],[70,5],[71,6],[72,7],[73,8],[74,9],[75,10],[76,11],[77,12],[78,13],[79,14],[80,14],[82,15],[81,16],[83,15],[84,17],[85,18],[69,19],[119,2],[86,20],[87,21],[88,22],[120,23],[89,24],[90,25],[91,26],[92,27],[93,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,33],[100,34],[101,35],[103,36],[102,37],[104,38],[105,39],[106,2],[107,40],[108,41],[109,42],[110,43],[111,44],[112,45],[113,46],[114,47],[115,48],[116,49],[117,50],[118,51],[145,52],[146,53],[121,54],[124,54],[143,52],[144,52],[134,52],[133,55],[131,52],[126,52],[139,52],[137,52],[141,52],[125,52],[138,52],[142,52],[127,52],[128,52],[140,52],[122,52],[129,52],[130,52],[132,52],[136,52],[147,56],[135,52],[123,52],[160,57],[159,2],[154,56],[156,58],[155,56],[148,56],[149,56],[151,56],[153,56],[157,58],[158,58],[150,58],[152,58],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[37,2],[34,2],[35,2],[36,2],[38,2],[7,2],[39,2],[44,2],[45,2],[40,2],[41,2],[42,2],[43,2],[8,2],[49,2],[46,2],[47,2],[48,2],[50,2],[9,2],[51,2],[52,2],[53,2],[54,2],[55,2],[1,2],[10,2],[56,2],[59,60]],"semanticDiagnosticsPerFile":[65,61,64,62,63,66,67,68,70,71,72,73,74,75,76,77,78,79,80,82,81,83,84,85,69,119,86,87,88,120,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,145,146,121,124,143,144,134,133,131,126,139,137,141,125,138,142,127,128,140,122,129,130,132,136,147,135,123,160,159,154,156,155,148,149,151,153,157,158,150,152,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,37,34,35,36,38,7,39,44,45,40,41,42,43,8,49,46,47,48,50,9,51,52,53,54,55,1,10,56,59,57,60,58]},"version":"4.9.4"}
|
package/dist/types/types.d.ts
CHANGED
@@ -6,7 +6,7 @@ export interface InitOptions {
|
|
6
6
|
room: string;
|
7
7
|
token?: string;
|
8
8
|
}
|
9
|
-
export
|
9
|
+
export type FrameAttributes = {
|
10
10
|
align: string;
|
11
11
|
allow: string;
|
12
12
|
allowFullscreen: boolean;
|
@@ -26,15 +26,17 @@ export interface InstanceProperties {
|
|
26
26
|
frameAttributes?: Partial<FrameAttributes>;
|
27
27
|
reportErrors?: boolean;
|
28
28
|
}
|
29
|
-
export
|
30
|
-
export
|
29
|
+
export type SendMessageType = 'connect' | 'enableVideo' | 'enableAudio' | 'disableVideo' | 'disableAudio' | 'toggleVideo' | 'toggleAudio' | 'startScreenshare' | 'stopScreenshare' | 'startRecording' | 'stopRecording' | 'showToolbar' | 'hideToolbar' | 'toggleToolbar' | 'changeLayoutMode';
|
30
|
+
export type ReceiveMessageType = 'connected' | 'userJoined' | 'userLeft' | 'videoEnabled' | 'videoDisabled' | 'audioEnabled' | 'audioDisabled' | 'screenshareStarted' | 'screenshareStopped' | 'recordingStarted' | 'recordingStopped' | 'recordingFailed' | 'layoutModeChanged' | 'activeSpeakerChanged' | 'appError';
|
31
31
|
export interface SendMessage<D> {
|
32
32
|
type: SendMessageType;
|
33
33
|
data?: D;
|
34
34
|
}
|
35
35
|
export interface ReceiveMessage {
|
36
|
-
|
37
|
-
|
36
|
+
DSPayload: {
|
37
|
+
type: ReceiveMessageType;
|
38
|
+
payload: unknown;
|
39
|
+
};
|
38
40
|
}
|
39
41
|
export declare enum LayoutMode {
|
40
42
|
tiled = "tiled",
|
package/dist/types/umd.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
declare const DigitalSambaEmbedded: any;
|
package/dist/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DigitalSambaEmbedded=t():e.DigitalSambaEmbedded=t()}(this,(()=>(()=>{"use strict";var e={240:(e,t,s)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.DigitalSambaEmbedded=void 0;const r=s(162);class o{constructor(e={},t={},s=!0){this.savedIframeSrc="",this.allowedOrigin="*",this.connected=!1,this.frame=document.createElement("iframe"),this.eventHandlers={},this.reportErrors=!1,this.mountFrame=e=>{const{url:t,frame:s,root:i}=this.initOptions;if(i?i.appendChild(this.frame):s?(this.frame=s,s.allow||this.logError(r.ALLOW_ATTRIBUTE_MISSING)):document.body.appendChild(this.frame),t||this.frame.src&&this.frame.src!==window.location.href)try{const e=new URL(t||this.frame.src).toString();this.frame.src=e,this.savedIframeSrc=e}catch(e){this.logError(r.INVALID_URL)}e||(this.savedIframeSrc=this.frame.src,this.frame.src="")},this.load=(e={})=>{this.reportErrors=e.reportErrors||!1,this.setFrameSrc(),this.applyFrameProperties(e),this.frame.style.display="block"},this.on=(e,t)=>{this.eventHandlers[e]=t},this.onMessage=e=>{if("function"==typeof this.eventHandlers["*"]&&this.eventHandlers["*"](e.data),e.data.type){const t=this.eventHandlers[e.data.type];t instanceof Function&&t(e.data)}},this.setFrameSrc=()=>{let e=this.savedIframeSrc;const{team:t,room:s,token:i}=this.initOptions;if(t&&s&&(e=`https://${t}.digitalsamba.com/${s}`),e&&i){const t=new URL(e);t.searchParams.append("token",i),e=t.toString()}if(!e)return void this.logError(r.INVALID_CONFIG);this.frame.src=e;const o=new URL(this.frame.src);this.allowedOrigin=o.origin,this.frame.onload=()=>this.checkTarget()},this.logError=e=>{if(this.reportErrors)throw e},this.applyFrameProperties=e=>{e.frameAttributes&&Object.entries(e.frameAttributes).forEach((([e,t])=>{null!=t?this.frame.setAttribute(e,t.toString()):this.frame.removeAttribute(e)})),e.reportErrors&&(this.reportErrors=!0)},this.enableVideo=()=>{this.sendMessage({type:"enableVideo"})},this.disableVideo=()=>{this.sendMessage({type:"disableVideo"})},this.toggleVideo=e=>{void 0===e?this.sendMessage({type:"toggleVideo"}):e?this.enableVideo():this.disableVideo()},this.enableAudio=()=>{this.sendMessage({type:"enableAudio"})},this.disableAudio=()=>{this.sendMessage({type:"disableAudio"})},this.toggleAudio=e=>{void 0===e?this.sendMessage({type:"toggleAudio"}):e?this.enableAudio():this.disableAudio()},this.startScreenshare=()=>{this.sendMessage({type:"startScreenshare"})},this.stopScreenshare=()=>{this.sendMessage({type:"stopScreenshare"})},this.startRecording=()=>{this.sendMessage({type:"startRecording"})},this.stopRecording=()=>{this.sendMessage({type:"stopRecording"})},this.showToolbar=()=>{this.sendMessage({type:"showToolbar"})},this.hideToolbar=()=>{this.sendMessage({type:"hideToolbar"})},this.changeLayoutMode=e=>{this.sendMessage({type:"changeLayoutMode",data:e})},this.toggleToolbar=e=>{void 0===e?this.sendMessage({type:"toggleToolbar"}):e?this.showToolbar():this.hideToolbar()},this.initOptions=e,this.reportErrors=t.reportErrors||!1,this.frame.allow="camera; microphone; display-capture; autoplay;",this.frame.setAttribute("allowFullscreen","true"),this.mountFrame(s),s?this.load(t):this.frame.style.display="none",window.addEventListener("message",this.onMessage)}checkTarget(){this.sendMessage({type:"connect"});const e=window.setTimeout((()=>{this.logError(r.UNKNOWN_TARGET)}),5e3);this.on("connected",(()=>{this.connected=!0,clearTimeout(e)}))}sendMessage(e){this.frame.contentWindow&&this.frame.contentWindow.postMessage(e,{targetOrigin:this.allowedOrigin})}}t.DigitalSambaEmbedded=o,i=o,o.createControl=e=>new i(e,{},!1)},475:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0});const i=s(240);e.exports=i.DigitalSambaEmbedded},162:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_URL=t.ALLOW_ATTRIBUTE_MISSING=t.INVALID_CONFIG=t.UNKNOWN_TARGET=t.RichError=void 0;class s extends Error{constructor(e){super(e.message),this.name=e.name}}t.RichError=s,t.UNKNOWN_TARGET=new s({name:"UNKNOWN_TARGET",message:"Could not verify the identity of target frame. Commands may not work"}),t.INVALID_CONFIG=new s({name:"INVALID_INIT_CONFIG",message:"Initializations options are invalid. Missing team name or room ID"}),t.ALLOW_ATTRIBUTE_MISSING=new s({name:"ALLOW_ATTRIBUTE_MISSING",message:"You've provided a frame that is mising 'allow' attribute. Some functionality may not work."}),t.INVALID_URL=new s({name:"INVALID_URL",message:"Invalid frame url specified"})}},t={};return function s(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,s),o.exports}(475)})()));
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DigitalSambaEmbedded=t():e.DigitalSambaEmbedded=t()}(this,(()=>(()=>{"use strict";var e={187:e=>{var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(e,t){return new Promise((function(r,n){function i(r){e.removeListener(t,s),n(r)}function s(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,s,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,{once:!0})}(e,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var o=10;function a(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function h(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function l(e,t,r,n){var i,s,o,l;if(a(r),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),o=s[t]),void 0===o)o=s[t]=r,++e._eventsCount;else if("function"==typeof o?o=s[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(i=h(e))>0&&o.length>i&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function c(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=u.bind(n);return i.listener=r,n.wrapFn=i,i}function f(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(s){n.once&&e.removeEventListener(t,i),r(s)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");o=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return h(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,s=this._events;if(void 0!==s)i=i&&void 0===s.error;else if(!i)return!1;if(i){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var h=s[e];if(void 0===h)return!1;if("function"==typeof h)n(h,this,t);else{var l=h.length,u=p(h,l);for(r=0;r<l;++r)n(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return l(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return l(this,e,t,!0)},s.prototype.once=function(e,t){return a(t),this.on(e,c(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return a(t),this.prependListener(e,c(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,s,o;if(a(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){o=r[s].listener,i=s;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,s=Object.keys(r);for(n=0;n<s.length;++n)"removeListener"!==(i=s[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},432:function(e,t,r){var n,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DigitalSambaEmbedded=void 0;const s=r(517),o=i(r(187));class a extends o.default{constructor(e={},t={},r=!0){super(),this.savedIframeSrc="",this.allowedOrigin="*",this.connected=!1,this.frame=document.createElement("iframe"),this.reportErrors=!1,this.mountFrame=e=>{const{url:t,frame:r,root:n}=this.initOptions;if(n?n.appendChild(this.frame):r?(this.frame=r,r.allow||this.logError(s.ALLOW_ATTRIBUTE_MISSING)):document.body.appendChild(this.frame),t||this.frame.src&&this.frame.src!==window.location.href)try{const e=new URL(t||this.frame.src).toString();this.frame.src=e,this.savedIframeSrc=e}catch(e){this.logError(s.INVALID_URL)}e||(this.savedIframeSrc=this.frame.src,this.frame.src="")},this.load=(e={})=>{this.reportErrors=e.reportErrors||!1,this.setFrameSrc(),this.applyFrameProperties(e),this.frame.style.display="block"},this.onMessage=e=>{if(e.origin!==this.allowedOrigin)return;const t=e.data.DSPayload;t&&(this.emit("*",t),t.type&&this.emit(t.type,t))},this.setFrameSrc=()=>{let e=this.savedIframeSrc;const{team:t,room:r,token:n}=this.initOptions;if(t&&r&&(e=`https://${t}.digitalsamba.com/${r}`),e&&n){const t=new URL(e);t.searchParams.append("token",n),e=t.toString()}if(!e)return void this.logError(s.INVALID_CONFIG);this.frame.src=e;const i=new URL(this.frame.src);this.allowedOrigin=i.origin,this.frame.onload=()=>this.checkTarget()},this.logError=e=>{if(this.reportErrors)throw e},this.applyFrameProperties=e=>{e.frameAttributes&&Object.entries(e.frameAttributes).forEach((([e,t])=>{null!=t?this.frame.setAttribute(e,t.toString()):this.frame.removeAttribute(e)})),e.reportErrors&&(this.reportErrors=!0)},this.enableVideo=()=>{this.sendMessage({type:"enableVideo"})},this.disableVideo=()=>{this.sendMessage({type:"disableVideo"})},this.toggleVideo=e=>{void 0===e?this.sendMessage({type:"toggleVideo"}):e?this.enableVideo():this.disableVideo()},this.enableAudio=()=>{this.sendMessage({type:"enableAudio"})},this.disableAudio=()=>{this.sendMessage({type:"disableAudio"})},this.toggleAudio=e=>{void 0===e?this.sendMessage({type:"toggleAudio"}):e?this.enableAudio():this.disableAudio()},this.startScreenshare=()=>{this.sendMessage({type:"startScreenshare"})},this.stopScreenshare=()=>{this.sendMessage({type:"stopScreenshare"})},this.startRecording=()=>{this.sendMessage({type:"startRecording"})},this.stopRecording=()=>{this.sendMessage({type:"stopRecording"})},this.showToolbar=()=>{this.sendMessage({type:"showToolbar"})},this.hideToolbar=()=>{this.sendMessage({type:"hideToolbar"})},this.changeLayoutMode=e=>{this.sendMessage({type:"changeLayoutMode",data:e})},this.toggleToolbar=e=>{void 0===e?this.sendMessage({type:"toggleToolbar"}):e?this.showToolbar():this.hideToolbar()},this.initOptions=e,this.reportErrors=t.reportErrors||!1,this.frame.allow="camera; microphone; display-capture; autoplay;",this.frame.setAttribute("allowFullscreen","true"),this.mountFrame(r),r?this.load(t):this.frame.style.display="none",window.addEventListener("message",this.onMessage)}checkTarget(){this.sendMessage({type:"connect"});const e=window.setTimeout((()=>{this.logError(s.UNKNOWN_TARGET)}),1e4);this.on("connected",(()=>{this.connected=!0,clearTimeout(e)}))}sendMessage(e){this.frame.contentWindow&&this.frame.contentWindow.postMessage(e,{targetOrigin:this.allowedOrigin})}}t.DigitalSambaEmbedded=a,n=a,a.createControl=e=>new n(e,{},!1)},625:(e,t,r)=>{const{DigitalSambaEmbedded:n}=r(432);e.exports=n},517:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.INVALID_URL=t.ALLOW_ATTRIBUTE_MISSING=t.INVALID_CONFIG=t.UNKNOWN_TARGET=t.RichError=void 0;class r extends Error{constructor(e){super(e.message),this.name=e.name}}t.RichError=r,t.UNKNOWN_TARGET=new r({name:"UNKNOWN_TARGET",message:"Could not verify the identity of target frame. Commands may not work"}),t.INVALID_CONFIG=new r({name:"INVALID_INIT_CONFIG",message:"Initializations options are invalid. Missing team name or room ID"}),t.ALLOW_ATTRIBUTE_MISSING=new r({name:"ALLOW_ATTRIBUTE_MISSING",message:"You've provided a frame that is mising 'allow' attribute. Some functionality may not work."}),t.INVALID_URL=new r({name:"INVALID_URL",message:"Invalid frame url specified"})}},t={};return function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(625)})()));
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digitalsamba/embedded-sdk",
|
3
3
|
"packageManager": "yarn@3.1.0",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.11",
|
5
5
|
"license": "BSD-2-Clause",
|
6
6
|
"scripts": {
|
7
7
|
"build": "npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
|
@@ -43,5 +43,8 @@
|
|
43
43
|
},
|
44
44
|
"ts-standard": {
|
45
45
|
"project": "./tsconfig.json"
|
46
|
+
},
|
47
|
+
"dependencies": {
|
48
|
+
"events": "^3.3.0"
|
46
49
|
}
|
47
50
|
}
|