@kassellabs/corellia-api
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -13,3 +13,3 @@ import { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
axios: AxiosInstance; | ||
constructor({ host, clientId, clientSecret, }: CorelliaAPIContructorType); | ||
constructor({ clientId, clientSecret, host, }: CorelliaAPIContructorType); | ||
renewAccessToken(): Promise<void>; | ||
@@ -16,0 +16,0 @@ request(options: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any>>; |
@@ -16,4 +16,5 @@ "use strict"; | ||
const axios_1 = __importDefault(require("axios")); | ||
const AUTH_URL = 'https://api.corellia.kassellabs.io'; | ||
class CorelliaAPI { | ||
constructor({ host = 'https://api.corellia.kassellabs.io', clientId, clientSecret, }) { | ||
constructor({ clientId, clientSecret, host = AUTH_URL, }) { | ||
this.host = host; | ||
@@ -20,0 +21,0 @@ this.clientId = clientId; |
{ | ||
"name": "@kassellabs/corellia-api", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Corellia's External API to render After Effects Videos", | ||
@@ -10,2 +10,5 @@ "author": "Kassel Labs Team", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -12,0 +15,0 @@ "prepublish": "npm run build", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
12848
6
261