Socket
Socket
Sign inDemoInstall

@uppy/companion-client

Package Overview
Dependencies
Maintainers
5
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/companion-client - npm Package Compare versions

Comparing version 0.27.2 to 0.27.3

6

package.json
{
"name": "@uppy/companion-client",
"description": "Client library for communication with Companion. Intended for use in Uppy plugins.",
"version": "0.27.2",
"version": "0.27.3",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",

@@ -26,3 +25,4 @@ "keywords": [

"namespace-emitter": "^2.0.1"
}
},
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43"
}

@@ -1,2 +0,2 @@

import { Uppy, Plugin } from '@uppy/core';
import Uppy = require('@uppy/core');

@@ -9,3 +9,3 @@ export interface RequestClientOptions {

export class RequestClient {
constructor (uppy: Uppy, opts: RequestClientOptions);
constructor (uppy: Uppy.Uppy, opts: RequestClientOptions);
get (path: string): Promise<any>;

@@ -23,3 +23,3 @@ post (path: string, data: object): Promise<any>;

export class Provider extends RequestClient {
constructor (uppy: Uppy, opts: ProviderOptions);
constructor (uppy: Uppy.Uppy, opts: ProviderOptions);
checkAuth (): Promise<boolean>;

@@ -30,3 +30,3 @@ authUrl (): string;

logout (redirect?: string): Promise<any>;
static initPlugin(plugin: Plugin, opts: object, defaultOpts?: object): void;
static initPlugin(plugin: Uppy.Plugin, opts: object, defaultOpts?: object): void;
}

@@ -33,0 +33,0 @@

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