Skip to content

Commit

Permalink
Merge branch 'main' of github.com:koush/scrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jun 21, 2023
2 parents 381892f + a28df23 commit 9f73b92
Show file tree
Hide file tree
Showing 3 changed files with 148 additions and 36 deletions.
175 changes: 143 additions & 32 deletions plugins/snapshot/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions plugins/snapshot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scrypted/snapshot",
"version": "0.0.55",
"version": "0.0.56",
"description": "Snapshot Plugin for Scrypted",
"scripts": {
"scrypted-setup-project": "scrypted-setup-project",
Expand Down Expand Up @@ -33,14 +33,14 @@
},
"dependencies": {
"@koush/axios-digest-auth": "^0.8.5",
"@types/node": "^16.6.1",
"axios": "^0.24.0",
"@types/node": "^18.16.18",
"axios": "^1.4.0",
"whatwg-mimetype": "^3.0.0"
},
"devDependencies": {
"@scrypted/common": "file:../../common",
"@scrypted/sdk": "file:../../sdk",
"@types/sharp": "^0.31.1",
"@types/whatwg-mimetype": "^2.1.1"
"@types/whatwg-mimetype": "^3.0.0"
}
}
1 change: 1 addition & 0 deletions plugins/snapshot/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class SnapshotMixin extends SettingsMixinDeviceBase<Camera> implements Camera {
method: "GET",
responseType: 'arraybuffer',
url: this.storageSettings.values.snapshotUrl,
timeout: 60000,
}).then(async (response: { data: any; }) => response.data);
}
else if (this.mixinDeviceInterfaces.includes(ScryptedInterface.Camera)) {
Expand Down

0 comments on commit 9f73b92

Please sign in to comment.