cameras: update with fixed auth library

This commit is contained in:
Koushik Dutta
2021-10-23 13:39:07 -07:00
parent 7b7989cb11
commit ee5e0121ef
9 changed files with 49 additions and 49 deletions

View File

@@ -1,15 +1,15 @@
{
"name": "@scrypted/amcrest",
"version": "0.0.60",
"version": "0.0.61",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/amcrest",
"version": "0.0.60",
"version": "0.0.61",
"license": "Apache",
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/multiparty": "^0.0.33",
"multiparty": "^4.2.2"
@@ -20,7 +20,7 @@
},
"../../sdk": {
"name": "@scrypted/sdk",
"version": "0.0.86",
"version": "0.0.87",
"license": "ISC",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.14.5",
@@ -55,9 +55,9 @@
"extraneous": true
},
"node_modules/@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"dependencies": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"
@@ -215,9 +215,9 @@
},
"dependencies": {
"@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"requires": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/amcrest",
"version": "0.0.60",
"version": "0.0.61",
"description": "Amcrest Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
@@ -29,7 +29,7 @@
]
},
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/multiparty": "^0.0.33",
"multiparty": "^4.2.2"

View File

@@ -1,15 +1,15 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.64",
"version": "0.0.65",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/hikvision",
"version": "0.0.64",
"version": "0.0.65",
"license": "Apache",
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/highland": "^2.12.14",
"@types/lodash": "^4.14.172",
@@ -26,7 +26,7 @@
},
"../../sdk": {
"name": "@scrypted/sdk",
"version": "0.0.86",
"version": "0.0.87",
"license": "ISC",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.14.5",
@@ -61,9 +61,9 @@
"extraneous": true
},
"node_modules/@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"dependencies": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"
@@ -428,9 +428,9 @@
},
"dependencies": {
"@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"requires": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/hikvision",
"version": "0.0.64",
"version": "0.0.65",
"description": "HikVision Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
@@ -29,7 +29,7 @@
]
},
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/highland": "^2.12.14",
"@types/lodash": "^4.14.172",

View File

@@ -1,15 +1,15 @@
{
"name": "@scrypted/onvif",
"version": "0.0.45",
"version": "0.0.46",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/onvif",
"version": "0.0.45",
"version": "0.0.46",
"license": "Apache",
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/node": "^16.9.1",
"base-64": "^1.0.0",
@@ -23,7 +23,7 @@
},
"../../sdk": {
"name": "@scrypted/sdk",
"version": "0.0.86",
"version": "0.0.87",
"license": "ISC",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.14.5",
@@ -58,9 +58,9 @@
"extraneous": true
},
"node_modules/@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"dependencies": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"
@@ -890,9 +890,9 @@
},
"dependencies": {
"@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"requires": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/onvif",
"version": "0.0.45",
"version": "0.0.46",
"description": "ONVIF Camera Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
@@ -29,7 +29,7 @@
]
},
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"@scrypted/sdk": "file:../../sdk",
"@types/node": "^16.9.1",
"base-64": "^1.0.0",

View File

@@ -1,15 +1,15 @@
{
"name": "@scrypted/rtsp",
"version": "0.0.34",
"version": "0.0.35",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/rtsp",
"version": "0.0.34",
"version": "0.0.35",
"license": "Apache",
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"axios": "^0.23.0",
"url-parse": "^1.4.7"
},
@@ -34,7 +34,7 @@
},
"../../sdk": {
"name": "@scrypted/sdk",
"version": "0.0.86",
"version": "0.0.87",
"dev": true,
"license": "ISC",
"dependencies": {
@@ -70,9 +70,9 @@
"extraneous": true
},
"node_modules/@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"dependencies": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"
@@ -154,9 +154,9 @@
},
"dependencies": {
"@koush/axios-digest-auth": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.3.tgz",
"integrity": "sha512-KdVuBegM6lNtQkh9q27gitriUwYzr1FzZp1r90ueNA9iXqOzhSHip+JfFbwDc9qzzkQOLgs0PLUc/14SY6JxYQ==",
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/@koush/axios-digest-auth/-/axios-digest-auth-0.8.5.tgz",
"integrity": "sha512-EZMM0gMJ3hMUD4EuUqSwP6UGt5Vmw2TZtY7Ypec55AnxkExSXM0ySgPtqkAcnL43g1R27yAg/dQL7dRTLMqO3Q==",
"requires": {
"auth-header": "^1.0.0",
"axios": "^0.21.4"

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/rtsp",
"version": "0.0.34",
"version": "0.0.35",
"description": "RTSP Cameras and Streams Plugin for Scrypted",
"author": "Scrypted",
"license": "Apache",
@@ -33,7 +33,7 @@
"@types/node": "^16.9.6"
},
"dependencies": {
"@koush/axios-digest-auth": "^0.8.3",
"@koush/axios-digest-auth": "^0.8.5",
"axios": "^0.23.0",
"url-parse": "^1.4.7"
}

View File

@@ -699,7 +699,7 @@ export interface MediaManager {
/**
* Convert a media object to a Buffer of the given mime type.
*/
convertMediaObjectToBuffer(mediaObject: string | MediaObject, toMimeType: string): Promise<Buffer>;
convertMediaObjectToBuffer(mediaObject: MediaObject, toMimeType: string): Promise<Buffer>;
/**
* Convert a media object to a locally accessible URL that serves a media file of the given mime type. If the media object is an externally accessible URL, that will be returned.