easyproctor 0.0.53 → 0.0.55

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/modules/http.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare function setBaseUrl(_baseUrl: string): Promise<void>;
1
+ export declare function setBaseUrl(homol: boolean): Promise<void>;
2
2
  export default function makeRequest<R>(data: {
3
3
  url: string;
4
4
  method: "GET" | "POST";
@@ -0,0 +1 @@
1
+ export default function recorder(stream: MediaStream, buffer: Blob[]): () => Promise<void>;
File without changes
@@ -3,5 +3,5 @@ declare type UploadData = {
3
3
  onProgress?: (progress: number) => void;
4
4
  };
5
5
  export declare function setConfiguration(_account: string, _cointainerName: string, _sas: string): Promise<void>;
6
- export default function upload(data: UploadData, proctoringId: string, proctoringOptions: any, proctoringConfig: any): Promise<void>;
6
+ export default function upload(data: UploadData, proctoringId: string): Promise<void>;
7
7
  export {};
@@ -0,0 +1 @@
1
+ export declare function injectMetadata(blob: Blob): Promise<Blob>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easyproctor",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "Modulo web de gravação do EasyProctor",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",
@@ -22,6 +22,7 @@
22
22
  "license": "ISC",
23
23
  "devDependencies": {
24
24
  "@types/dom-mediacapture-record": "^1.0.11",
25
+ "@types/recordrtc": "^5.6.8",
25
26
  "@typescript-eslint/eslint-plugin": "^5.8.0",
26
27
  "@typescript-eslint/parser": "^5.8.0",
27
28
  "esbuild": "^0.14.47",
@@ -31,7 +32,14 @@
31
32
  "typescript": "^4.5.4"
32
33
  },
33
34
  "dependencies": {
35
+ "@aws-sdk/client-s3": "^3.171.0",
36
+ "@aws-sdk/lib-storage": "^3.171.0",
37
+ "@aws-sdk/xhr-http-handler": "^3.171.0",
34
38
  "@azure/storage-blob": "^12.8.0",
35
- "@microsoft/applicationinsights-web": "^2.7.4"
39
+ "@microsoft/applicationinsights-web": "^2.7.4",
40
+ "aws-sdk": "^2.1220.0",
41
+ "buffer": "^6.0.3",
42
+ "recordrtc": "^5.6.2",
43
+ "ts-ebml": "^2.0.2"
36
44
  }
37
45
  }