dropbox-with-offline-refresh-token
Advanced tools
Comparing version 1.0.19 to 1.0.20
{ | ||
"name": "dropbox-with-offline-refresh-token", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"type": "module", | ||
@@ -10,3 +10,4 @@ "description": "use can easily use the dropbox api without have to handle all the authentication stuff. all you need is a single offline refresh token.", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build_publish": "npx tsc && npm version patch && npm publish" | ||
"build": "tsc", | ||
"build_publish": "tsc && npm version patch && npm publish" | ||
}, | ||
@@ -13,0 +14,0 @@ "repository": { |
@@ -17,3 +17,3 @@ import { Dropbox, DropboxResponseError } from "dropbox"; | ||
constructor(refreshToken: string, appKey: string, appSecret: string, withProfileMail: string, concurrency: number) { | ||
constructor(refreshToken: string, appKey: string, appSecret: string, withProfileMail: string, concurrency = 1) { | ||
this.refreshToken = refreshToken | ||
@@ -20,0 +20,0 @@ this.appKey = appKey |
@@ -9,3 +9,3 @@ import { Dropbox } from "dropbox"; | ||
private jobQueue; | ||
constructor(refreshToken: string, appKey: string, appSecret: string, withProfileMail: string); | ||
constructor(refreshToken: string, appKey: string, appSecret: string, withProfileMail: string, concurrency?: number); | ||
private refreshAccessToken; | ||
@@ -12,0 +12,0 @@ execAsync<R>(lambda: (x: Dropbox) => Promise<R>): Promise<R>; |
@@ -6,3 +6,3 @@ import { Dropbox, DropboxResponseError } from "dropbox"; | ||
class Client { | ||
constructor(refreshToken, appKey, appSecret, withProfileMail, concurrency) { | ||
constructor(refreshToken, appKey, appSecret, withProfileMail, concurrency = 1) { | ||
this.refreshToken = refreshToken; | ||
@@ -9,0 +9,0 @@ this.appKey = appKey; |
@@ -12,5 +12,6 @@ { | ||
"outDir": "target", | ||
"rootDir": "src", | ||
"rootDir": "src", | ||
"declaration": true, | ||
} | ||
} | ||
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
10728
242