easyproctor 0.0.47 → 0.0.48
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/esm/index.js +23 -5
- package/index.js +5 -5
- package/package.json +3 -8
- package/unpkg/easyproctor.min.js +13 -13
package/esm/index.js
CHANGED
|
@@ -1,10 +1,28 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
1
8
|
var __commonJS = (cb, mod) => function __require() {
|
|
2
9
|
return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
3
10
|
};
|
|
11
|
+
var __reExport = (target, module, desc) => {
|
|
12
|
+
if (module && typeof module === "object" || typeof module === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(module))
|
|
14
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
15
|
+
__defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return target;
|
|
18
|
+
};
|
|
19
|
+
var __toModule = (module) => {
|
|
20
|
+
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", module && module.__esModule && "default" in module ? { get: () => module.default, enumerable: true } : { value: module, enumerable: true })), module);
|
|
21
|
+
};
|
|
4
22
|
|
|
5
|
-
//
|
|
6
|
-
var
|
|
7
|
-
"
|
|
23
|
+
// src/plugins/mp3.js
|
|
24
|
+
var require_mp3 = __commonJS({
|
|
25
|
+
"src/plugins/mp3.js"(exports, module) {
|
|
8
26
|
(function(global2, factory) {
|
|
9
27
|
typeof exports === "object" && typeof module !== "undefined" ? module.exports = factory() : typeof define === "function" && define.amd ? define(factory) : global2.MicRecorder = factory();
|
|
10
28
|
})(exports, function() {
|
|
@@ -14334,10 +14352,10 @@ async function startCameraCapture(buffer, options = { cameraId: void 0, micropho
|
|
|
14334
14352
|
}
|
|
14335
14353
|
|
|
14336
14354
|
// src/modules/startAudioCapture.ts
|
|
14337
|
-
var
|
|
14355
|
+
var import_mp3 = __toModule(require_mp3());
|
|
14338
14356
|
var stopRecord;
|
|
14339
14357
|
function startAudioCapture() {
|
|
14340
|
-
const recorder2 = new
|
|
14358
|
+
const recorder2 = new import_mp3.default({
|
|
14341
14359
|
bitRate: 128
|
|
14342
14360
|
});
|
|
14343
14361
|
function start() {
|
package/index.js
CHANGED
|
@@ -25,9 +25,9 @@ var __toModule = (module2) => {
|
|
|
25
25
|
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
//
|
|
29
|
-
var
|
|
30
|
-
"
|
|
28
|
+
// src/plugins/mp3.js
|
|
29
|
+
var require_mp3 = __commonJS({
|
|
30
|
+
"src/plugins/mp3.js"(exports, module2) {
|
|
31
31
|
(function(global2, factory) {
|
|
32
32
|
typeof exports === "object" && typeof module2 !== "undefined" ? module2.exports = factory() : typeof define === "function" && define.amd ? define(factory) : global2.MicRecorder = factory();
|
|
33
33
|
})(exports, function() {
|
|
@@ -22693,10 +22693,10 @@ async function startCameraCapture(buffer, options = { cameraId: void 0, micropho
|
|
|
22693
22693
|
}
|
|
22694
22694
|
|
|
22695
22695
|
// src/modules/startAudioCapture.ts
|
|
22696
|
-
var
|
|
22696
|
+
var import_mp3 = __toModule(require_mp3());
|
|
22697
22697
|
var stopRecord;
|
|
22698
22698
|
function startAudioCapture() {
|
|
22699
|
-
const recorder2 = new
|
|
22699
|
+
const recorder2 = new import_mp3.default({
|
|
22700
22700
|
bitRate: 128
|
|
22701
22701
|
});
|
|
22702
22702
|
function start() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "easyproctor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
4
4
|
"description": "Modulo web de gravação do EasyProctor",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -22,10 +22,9 @@
|
|
|
22
22
|
"license": "ISC",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/dom-mediacapture-record": "^1.0.11",
|
|
25
|
-
"@types/recorder-js": "^1.0.2",
|
|
26
25
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
27
26
|
"@typescript-eslint/parser": "^5.8.0",
|
|
28
|
-
"esbuild": "^0.
|
|
27
|
+
"esbuild": "^0.14.47",
|
|
29
28
|
"esbuild-serve": "^1.0.1",
|
|
30
29
|
"eslint": "^8.2.0",
|
|
31
30
|
"eslint-plugin-html": "^6.2.0",
|
|
@@ -33,10 +32,6 @@
|
|
|
33
32
|
},
|
|
34
33
|
"dependencies": {
|
|
35
34
|
"@azure/storage-blob": "^12.8.0",
|
|
36
|
-
"@microsoft/applicationinsights-web": "^2.7.4"
|
|
37
|
-
"lamejs": "^1.2.1",
|
|
38
|
-
"mic-recorder-to-mp3": "^2.2.2",
|
|
39
|
-
"recorder-js": "^1.0.7",
|
|
40
|
-
"recordrtc": "^5.6.2"
|
|
35
|
+
"@microsoft/applicationinsights-web": "^2.7.4"
|
|
41
36
|
}
|
|
42
37
|
}
|