compress-nodejs
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -1,2 +0,2 @@ | ||
export declare const TNGRM_BASE_URL = "https://api.tngrm.io/api/v3.0"; | ||
export declare const TNGRM_BASE_URL = "https://api-compress.hiway.media/api/v4.0"; | ||
export declare const AUTH_LOGIN = "/external/auth/login"; | ||
@@ -3,0 +3,0 @@ export declare const GET_CATEGORIES = "/external/upload/categories"; |
@@ -1,2 +0,2 @@ | ||
var TNGRM_BASE_URL = "https://api.tngrm.io/api/v3.0"; | ||
var TNGRM_BASE_URL = "https://api-compress.hiway.media/api/v4.0"; | ||
var AUTH_LOGIN = "/external/auth/login"; | ||
@@ -3,0 +3,0 @@ var GET_CATEGORIES = "/external/upload/categories"; |
'use strict'; | ||
var TNGRM_BASE_URL = "https://api.tngrm.io/api/v3.0"; | ||
var TNGRM_BASE_URL = "https://api-compress.hiway.media/api/v4.0"; | ||
var AUTH_LOGIN = "/external/auth/login"; | ||
@@ -5,0 +5,0 @@ var GET_CATEGORIES = "/external/upload/categories"; |
export declare class TangramClient { | ||
api_key: string; | ||
customer_name: string; | ||
client_id: string; | ||
configEvaporate: any; | ||
@@ -5,0 +6,0 @@ constructor(apikey: string, customer_name: string); |
@@ -8,14 +8,15 @@ import { __awaiter, __generator } from '../_virtual/_tslib.esm.js'; | ||
this.customer_name = customer_name; | ||
this.configEvaporate = { | ||
signerUrl: "".concat(TNGRM_BASE_URL).concat(SIGN_S3_URL), | ||
logging: true, | ||
signHeaders: { tangram_key: "" }, | ||
aws_url: "", | ||
aws_key: "", | ||
bucket: "", | ||
cloudfront: false, | ||
progressIntervalMS: 1000, | ||
sendCanonicalRequestToSignerUrl: true, | ||
computeContentMd5: true, | ||
}; | ||
this.client_id = "".concat(this.customer_name, "_client"), | ||
this.configEvaporate = { | ||
signerUrl: "".concat(TNGRM_BASE_URL).concat(SIGN_S3_URL), | ||
logging: true, | ||
signHeaders: { tangram_key: "" }, | ||
aws_url: "", | ||
aws_key: "", | ||
bucket: "", | ||
cloudfront: false, | ||
progressIntervalMS: 1000, | ||
sendCanonicalRequestToSignerUrl: true, | ||
computeContentMd5: true, | ||
}; | ||
} | ||
@@ -33,3 +34,3 @@ TangramClient.prototype.get_s3_space = function () { | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
}), | ||
@@ -59,3 +60,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
}), | ||
@@ -85,3 +86,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
category_name: category_name | ||
@@ -155,3 +156,3 @@ }), | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client") | ||
client_id: this.client_id, | ||
}), | ||
@@ -278,3 +279,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
start_from: parseInt(start_from), | ||
@@ -306,3 +307,3 @@ amount: parseInt(amount) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
instance_name: instance_name, | ||
@@ -333,3 +334,3 @@ }), | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client") | ||
client_id: this.client_id | ||
}), | ||
@@ -359,3 +360,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
instance_name: restreamer_name, | ||
@@ -387,3 +388,3 @@ scale: parseInt(scale_value) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
start_from: parseInt(start_from), | ||
@@ -390,0 +391,0 @@ amount: parseInt(amount), |
@@ -10,14 +10,15 @@ 'use strict'; | ||
this.customer_name = customer_name; | ||
this.configEvaporate = { | ||
signerUrl: "".concat(constants.TNGRM_BASE_URL).concat(constants.SIGN_S3_URL), | ||
logging: true, | ||
signHeaders: { tangram_key: "" }, | ||
aws_url: "", | ||
aws_key: "", | ||
bucket: "", | ||
cloudfront: false, | ||
progressIntervalMS: 1000, | ||
sendCanonicalRequestToSignerUrl: true, | ||
computeContentMd5: true, | ||
}; | ||
this.client_id = "".concat(this.customer_name, "_client"), | ||
this.configEvaporate = { | ||
signerUrl: "".concat(constants.TNGRM_BASE_URL).concat(constants.SIGN_S3_URL), | ||
logging: true, | ||
signHeaders: { tangram_key: "" }, | ||
aws_url: "", | ||
aws_key: "", | ||
bucket: "", | ||
cloudfront: false, | ||
progressIntervalMS: 1000, | ||
sendCanonicalRequestToSignerUrl: true, | ||
computeContentMd5: true, | ||
}; | ||
} | ||
@@ -35,3 +36,3 @@ TangramClient.prototype.get_s3_space = function () { | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
}), | ||
@@ -61,3 +62,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
}), | ||
@@ -87,3 +88,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
category_name: category_name | ||
@@ -157,3 +158,3 @@ }), | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client") | ||
client_id: this.client_id, | ||
}), | ||
@@ -280,3 +281,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
start_from: parseInt(start_from), | ||
@@ -308,3 +309,3 @@ amount: parseInt(amount) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
instance_name: instance_name, | ||
@@ -335,3 +336,3 @@ }), | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client") | ||
client_id: this.client_id | ||
}), | ||
@@ -361,3 +362,3 @@ }) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
instance_name: restreamer_name, | ||
@@ -389,3 +390,3 @@ scale: parseInt(scale_value) | ||
api_key: this.api_key, | ||
client_id: "".concat(this.customer_name, "_client"), | ||
client_id: this.client_id, | ||
start_from: parseInt(start_from), | ||
@@ -392,0 +393,0 @@ amount: parseInt(amount), |
{ | ||
"name": "compress-nodejs", | ||
"private": false, | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "The Compress NodeJS library provides access to the Compress API for encoding videos, restreamers", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1321
145303