compress-nodejs
Advanced tools
Comparing version 0.1.10 to 0.1.12
@@ -15,3 +15,4 @@ export declare const TNGRM_BASE_URL = "https://api.tngrm.io/api/v3.0"; | ||
export declare const ADD_VIDEO_THUMB = "/external/upload/add_thumb"; | ||
export declare const SIGN_S3_URL = "/external/upload/sign_s3_url"; | ||
export declare const SCALE_RESTREAMER = "/external/restreamers/scale_instance"; | ||
export declare const PERMITTED_FILE_EXTENSIONS: string[]; |
@@ -15,2 +15,3 @@ var TNGRM_BASE_URL = "https://api.tngrm.io/api/v3.0"; | ||
var ADD_VIDEO_THUMB = "".concat(GET_UPLOADS, "/add_thumb"); | ||
var SIGN_S3_URL = "".concat(GET_UPLOADS, "/sign_s3_url"); | ||
var SCALE_RESTREAMER = "".concat(GET_RESTREAMERS, "/scale_instance"); | ||
@@ -34,3 +35,3 @@ var PERMITTED_FILE_EXTENSIONS = [ | ||
export { ADD_VIDEO_THUMB, AUTH_LOGIN, CREATE_CATEGORY, CREATE_UPLOAD, GET_CATEGORIES, GET_RESTREAMERS, GET_RUNNING_INSTANCES, GET_RUNNING_SINGLE_INSTANCE, GET_SINGLE_UPLOAD, GET_UPLOADS, PERMITTED_FILE_EXTENSIONS, PRESIGNED_URL_S3, S3_SPACE, SCALE_RESTREAMER, SET_PUBLISHED_UPLOAD, TNGRM_BASE_URL }; | ||
export { ADD_VIDEO_THUMB, AUTH_LOGIN, CREATE_CATEGORY, CREATE_UPLOAD, GET_CATEGORIES, GET_RESTREAMERS, GET_RUNNING_INSTANCES, GET_RUNNING_SINGLE_INSTANCE, GET_SINGLE_UPLOAD, GET_UPLOADS, PERMITTED_FILE_EXTENSIONS, PRESIGNED_URL_S3, S3_SPACE, SCALE_RESTREAMER, SET_PUBLISHED_UPLOAD, SIGN_S3_URL, TNGRM_BASE_URL }; | ||
//# sourceMappingURL=constants.esm.js.map |
@@ -17,2 +17,3 @@ 'use strict'; | ||
var ADD_VIDEO_THUMB = "".concat(GET_UPLOADS, "/add_thumb"); | ||
var SIGN_S3_URL = "".concat(GET_UPLOADS, "/sign_s3_url"); | ||
var SCALE_RESTREAMER = "".concat(GET_RESTREAMERS, "/scale_instance"); | ||
@@ -51,3 +52,4 @@ var PERMITTED_FILE_EXTENSIONS = [ | ||
exports.SET_PUBLISHED_UPLOAD = SET_PUBLISHED_UPLOAD; | ||
exports.SIGN_S3_URL = SIGN_S3_URL; | ||
exports.TNGRM_BASE_URL = TNGRM_BASE_URL; | ||
//# sourceMappingURL=constants.js.map |
export declare class TangramClient { | ||
api_key: string; | ||
customer_name: string; | ||
configEvaporate: any; | ||
constructor(apikey: string, customer_name: string); | ||
@@ -5,0 +6,0 @@ get_s3_space(): Promise<any>; |
import { __awaiter, __generator } from '../_virtual/_tslib.esm.js'; | ||
import { TNGRM_BASE_URL, S3_SPACE, GET_CATEGORIES, PRESIGNED_URL_S3, ADD_VIDEO_THUMB, CREATE_UPLOAD, GET_RESTREAMERS, GET_RUNNING_SINGLE_INSTANCE, GET_RUNNING_INSTANCES, SCALE_RESTREAMER, GET_UPLOADS, GET_SINGLE_UPLOAD, SET_PUBLISHED_UPLOAD } from './constants.esm.js'; | ||
import { TNGRM_BASE_URL, SIGN_S3_URL, S3_SPACE, GET_CATEGORIES, PRESIGNED_URL_S3, ADD_VIDEO_THUMB, CREATE_UPLOAD, GET_RESTREAMERS, GET_RUNNING_SINGLE_INSTANCE, GET_RUNNING_INSTANCES, SCALE_RESTREAMER, GET_UPLOADS, GET_SINGLE_UPLOAD, SET_PUBLISHED_UPLOAD } from './constants.esm.js'; | ||
@@ -8,2 +8,14 @@ var TangramClient = (function () { | ||
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, | ||
}; | ||
} | ||
@@ -10,0 +22,0 @@ TangramClient.prototype.get_s3_space = function () { |
@@ -10,2 +10,14 @@ '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, | ||
}; | ||
} | ||
@@ -12,0 +24,0 @@ TangramClient.prototype.get_s3_space = function () { |
@@ -1,4 +0,4 @@ | ||
export { ADD_VIDEO_THUMB, AUTH_LOGIN, CREATE_CATEGORY, CREATE_UPLOAD, GET_CATEGORIES, GET_RESTREAMERS, GET_RUNNING_INSTANCES, GET_RUNNING_SINGLE_INSTANCE, GET_SINGLE_UPLOAD, GET_UPLOADS, PERMITTED_FILE_EXTENSIONS, PRESIGNED_URL_S3, S3_SPACE, SCALE_RESTREAMER, SET_PUBLISHED_UPLOAD, TNGRM_BASE_URL } from './compressjs/constants.esm.js'; | ||
export { ADD_VIDEO_THUMB, AUTH_LOGIN, CREATE_CATEGORY, CREATE_UPLOAD, GET_CATEGORIES, GET_RESTREAMERS, GET_RUNNING_INSTANCES, GET_RUNNING_SINGLE_INSTANCE, GET_SINGLE_UPLOAD, GET_UPLOADS, PERMITTED_FILE_EXTENSIONS, PRESIGNED_URL_S3, S3_SPACE, SCALE_RESTREAMER, SET_PUBLISHED_UPLOAD, SIGN_S3_URL, TNGRM_BASE_URL } from './compressjs/constants.esm.js'; | ||
export { fetchWrapper } from './compressjs/fetch-wrapper.esm.js'; | ||
export { TangramClient } from './compressjs/tangram.esm.js'; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -24,2 +24,3 @@ 'use strict'; | ||
exports.SET_PUBLISHED_UPLOAD = constants.SET_PUBLISHED_UPLOAD; | ||
exports.SIGN_S3_URL = constants.SIGN_S3_URL; | ||
exports.TNGRM_BASE_URL = constants.TNGRM_BASE_URL; | ||
@@ -26,0 +27,0 @@ exports.fetchWrapper = fetchWrapper.fetchWrapper; |
{ | ||
"name": "compress-nodejs", | ||
"private": false, | ||
"version": "0.1.10", | ||
"version": "0.1.12", | ||
"description": "The Compress NodeJS library provides access to the Compress API for encoding videos, restreamers", | ||
@@ -10,34 +10,36 @@ "main": "dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/HiWay-Media/compress-nodejs.git" | ||
"type": "git", | ||
"url": "git+https://github.com/HiWay-Media/compress-nodejs.git" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/HiWay-Media/compress-nodejs/issues" | ||
"url": "https://github.com/HiWay-Media/compress-nodejs/issues" | ||
}, | ||
"homepage": "https://github.com/HiWay-Media/compress-nodejs#readme", | ||
"files": [ | ||
"dist/**/*" | ||
"dist/**/*" | ||
], | ||
"scripts": { | ||
"prepare-commitlint": "npx husky install && chmod ug+x ./.husky/*", | ||
"build": "rimraf dist && rollup --config --bundleConfigAsCjs", | ||
"tsc": "tsc", | ||
"prepublishOnly": "npm run build", | ||
"prepare": "npm run build" | ||
"prepare-commitlint": "npx husky install && chmod ug+x ./.husky/*", | ||
"build": "rimraf dist && rollup --config --bundleConfigAsCjs", | ||
"tsc": "tsc", | ||
"prepublishOnly": "npm run build", | ||
"prepare": "npm run build" | ||
}, | ||
"peerDependencies": { | ||
"moment": "^2.29.4", | ||
"husky": "^8.0.3" | ||
"husky": "^8.0.3", | ||
"moment": "^2.29.4" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"rollup": "^3.2.5", | ||
"babel-loader": "^8.2.2", | ||
"rimraf": "^3.0.2", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-typescript2": "^0.31.1", | ||
"tslib": "^2.4.1" | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"babel-loader": "^8.2.2", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^3.2.5", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-typescript2": "^0.31.1", | ||
"tslib": "^2.4.1" | ||
}, | ||
"dependencies": { | ||
"evaporate": "^2.1.4" | ||
} | ||
} | ||
} |
# Compress nodejs | ||
![GitHub](https://img.shields.io/github/license/HiWay-Media/compress-nodejs) | ||
![GitHub last commit](https://img.shields.io/github/last-commit/HiWay-Media/compress-nodejs) | ||
[![Node.js CI](https://github.com/HiWay-Media/compress-nodejs/actions/workflows/npm.yml/badge.svg)](https://github.com/HiWay-Media/compress-nodejs/actions/workflows/npm.yml) | ||
[![Publish Package to npmjs](https://github.com/HiWay-Media/compress-nodejs/actions/workflows/npm-package.yml/badge.svg)](https://github.com/HiWay-Media/compress-nodejs/actions/workflows/npm-package.yml) | ||
@@ -5,0 +7,0 @@ The Compress NodeJS library provides access to the Compress API for encoding videos, restreamers |
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
142873
1301
38
3
+ Addedevaporate@^2.1.4
+ Addedevaporate@2.1.4(transitive)