@uppy/companion-client
Advanced tools
Comparing version 0.27.2 to 0.27.3
{ | ||
"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 @@ |
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
28385