@nonstrict/recordkit 0.18.0 → 0.18.1
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/bin/README.md +1 -1
- package/bin/recordkit-rpc +0 -0
- package/out/Recorder.d.ts +6 -11
- package/package.json +1 -1
- package/src/Recorder.ts +4 -12
package/bin/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# recordkit-rpc 0.18.
|
|
1
|
+
# recordkit-rpc 0.18.1
|
package/bin/recordkit-rpc
CHANGED
|
Binary file
|
package/out/Recorder.d.ts
CHANGED
|
@@ -40,8 +40,7 @@ export interface WebcamSchema {
|
|
|
40
40
|
/**
|
|
41
41
|
* @group Recording Schemas
|
|
42
42
|
*/
|
|
43
|
-
export type DisplaySchema =
|
|
44
|
-
interface DisplaySingleFile {
|
|
43
|
+
export type DisplaySchema = {
|
|
45
44
|
type: 'display';
|
|
46
45
|
display: Display | number;
|
|
47
46
|
shows_cursor?: boolean;
|
|
@@ -50,8 +49,7 @@ interface DisplaySingleFile {
|
|
|
50
49
|
include_audio?: boolean;
|
|
51
50
|
output?: 'singleFile';
|
|
52
51
|
filename?: string;
|
|
53
|
-
}
|
|
54
|
-
interface DisplaySegmented {
|
|
52
|
+
} | {
|
|
55
53
|
type: 'display';
|
|
56
54
|
display: Display | number;
|
|
57
55
|
shows_cursor?: boolean;
|
|
@@ -61,12 +59,11 @@ interface DisplaySegmented {
|
|
|
61
59
|
output: 'segmented';
|
|
62
60
|
filenamePrefix?: string;
|
|
63
61
|
segmentCallback?: (url: string) => void;
|
|
64
|
-
}
|
|
62
|
+
};
|
|
65
63
|
/**
|
|
66
64
|
* @group Recording Schemas
|
|
67
65
|
*/
|
|
68
|
-
export type WindowBasedCropSchema =
|
|
69
|
-
interface WindowBasedCropSchemaSingleFile {
|
|
66
|
+
export type WindowBasedCropSchema = {
|
|
70
67
|
type: 'windowBasedCrop';
|
|
71
68
|
window: Window | number;
|
|
72
69
|
shows_cursor?: boolean;
|
|
@@ -74,8 +71,7 @@ interface WindowBasedCropSchemaSingleFile {
|
|
|
74
71
|
keyboard_events?: boolean;
|
|
75
72
|
output?: 'singleFile';
|
|
76
73
|
filename?: string;
|
|
77
|
-
}
|
|
78
|
-
interface WindowBasedCropSchemaSegmented {
|
|
74
|
+
} | {
|
|
79
75
|
type: 'windowBasedCrop';
|
|
80
76
|
window: Window | number;
|
|
81
77
|
shows_cursor?: boolean;
|
|
@@ -84,7 +80,7 @@ interface WindowBasedCropSchemaSegmented {
|
|
|
84
80
|
output: 'segmented';
|
|
85
81
|
filenamePrefix?: string;
|
|
86
82
|
segmentCallback?: (url: string) => void;
|
|
87
|
-
}
|
|
83
|
+
};
|
|
88
84
|
/**
|
|
89
85
|
* @group Recording Schemas
|
|
90
86
|
*/
|
|
@@ -129,4 +125,3 @@ export interface BundleInfo {
|
|
|
129
125
|
filename: string;
|
|
130
126
|
}[];
|
|
131
127
|
}
|
|
132
|
-
export {};
|
package/package.json
CHANGED
package/src/Recorder.ts
CHANGED
|
@@ -126,9 +126,7 @@ export interface WebcamSchema {
|
|
|
126
126
|
/**
|
|
127
127
|
* @group Recording Schemas
|
|
128
128
|
*/
|
|
129
|
-
export type DisplaySchema =
|
|
130
|
-
|
|
131
|
-
interface DisplaySingleFile {
|
|
129
|
+
export type DisplaySchema = {
|
|
132
130
|
type: 'display'
|
|
133
131
|
display: Display | number // UInt32
|
|
134
132
|
shows_cursor?: boolean
|
|
@@ -137,9 +135,7 @@ interface DisplaySingleFile {
|
|
|
137
135
|
include_audio?: boolean
|
|
138
136
|
output?: 'singleFile'
|
|
139
137
|
filename?: string
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
interface DisplaySegmented {
|
|
138
|
+
} | {
|
|
143
139
|
type: 'display'
|
|
144
140
|
display: Display | number // UInt32
|
|
145
141
|
shows_cursor?: boolean
|
|
@@ -154,9 +150,7 @@ interface DisplaySegmented {
|
|
|
154
150
|
/**
|
|
155
151
|
* @group Recording Schemas
|
|
156
152
|
*/
|
|
157
|
-
export type WindowBasedCropSchema =
|
|
158
|
-
|
|
159
|
-
interface WindowBasedCropSchemaSingleFile {
|
|
153
|
+
export type WindowBasedCropSchema = {
|
|
160
154
|
type: 'windowBasedCrop'
|
|
161
155
|
window: Window | number // UInt32
|
|
162
156
|
shows_cursor?: boolean
|
|
@@ -164,9 +158,7 @@ interface WindowBasedCropSchemaSingleFile {
|
|
|
164
158
|
keyboard_events?: boolean
|
|
165
159
|
output?: 'singleFile'
|
|
166
160
|
filename?: string
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
interface WindowBasedCropSchemaSegmented {
|
|
161
|
+
} | {
|
|
170
162
|
type: 'windowBasedCrop'
|
|
171
163
|
window: Window | number // UInt32
|
|
172
164
|
shows_cursor?: boolean
|