Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dropbox-with-offline-refresh-token

Package Overview
Dependencies
Maintainers
0
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dropbox-with-offline-refresh-token - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

5

package.json
{
"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": {

2

src/lib/Client.ts

@@ -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,
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc