typed-chrome-webstore-api
Advanced tools
Comparing version 0.4.8 to 0.4.9
export { fetchToken } from './authApi'; | ||
export { PublishTarget, IWebstoreResource, IPublishResponse, PublishStatus, UploadState, IItemErrorEntry, ILicensesResponse, IPaymentsResponse, IUserLicensesResponse, LicenseAccessLevelEnum, PaymentStateEnum, } from './consts'; | ||
export { WebstoreApi } from './webstoreApi'; | ||
export { WebstoreResource } from './webstoreResource'; | ||
export * from './downloadCrx'; |
@@ -21,2 +21,4 @@ "use strict"; | ||
Object.defineProperty(exports, "WebstoreApi", { enumerable: true, get: function () { return webstoreApi_1.WebstoreApi; } }); | ||
var webstoreResource_1 = require("./webstoreResource"); | ||
Object.defineProperty(exports, "WebstoreResource", { enumerable: true, get: function () { return webstoreResource_1.WebstoreResource; } }); | ||
__exportStar(require("./downloadCrx"), exports); |
@@ -6,2 +6,3 @@ /// <reference types="node" /> | ||
import { ILicensesResponse, IPaymentsResponse, IUserLicensesResponse } from './consts'; | ||
import { WebstoreResource } from './webstoreResource'; | ||
export declare class WebstoreApi { | ||
@@ -12,4 +13,4 @@ protected _token: string; | ||
setToken(token: string): void; | ||
upload(readStream: Buffer | Readable, appId?: string): Promise<consts.IWebstoreResource>; | ||
getUpload(appId: string): Promise<consts.IWebstoreResource>; | ||
upload(readStream: Buffer | Readable, appId?: string): Promise<WebstoreResource>; | ||
getUpload(appId: string): Promise<WebstoreResource>; | ||
publish(appId: string, target?: consts.PublishTarget | string): Promise<consts.IPublishResponse>; | ||
@@ -16,0 +17,0 @@ /** |
{ | ||
"name": "typed-chrome-webstore-api", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"description": "Typed Chrome Webstore API to upload/publish extensions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
29608
605