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

webext-buildtools-chrome-webstore-builder

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webext-buildtools-chrome-webstore-builder - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

6

declarations/options.d.ts
import { PublishStatus, PublishTarget } from 'typed-chrome-webstore-api';
import { DownloadCrx } from 'typed-chrome-webstore-api';
// noinspection TypeScriptPreferShortImport
import { IWaitForWebstoreOptions } from '../declarations/waitForWebstoreOptions';
import { IWaitForWebstoreOptions } from './waitForWebstoreOptions';

@@ -49,3 +49,3 @@ export interface IChromeWebstoreApiAccessOptions {

*/
allowedStatuses?: Array<PublishStatus | string>;
allowedStatuses?: (PublishStatus | string)[];

@@ -83,3 +83,3 @@ /**

*/
acceptFormat?: Array<DownloadCrx.CrxAcceptFormat | string>;
acceptFormat?: (DownloadCrx.CrxAcceptFormat | string)[];

@@ -86,0 +86,0 @@ /**

@@ -57,2 +57,3 @@ "use strict";

requirePublishedCrxFile(temporary = false) {
// noinspection PointlessBooleanExpressionJS
this._publishedCrxFileRequirement = !!temporary;

@@ -76,3 +77,9 @@ return this;

if ((this._uploadedExtRequired || this._publishedExtRequired) && this._options.apiAccess) {
const apiFacade = await chromeWebstoreApiFacade_1.ChromeWebstoreApiFacade.authorize(this._options.apiAccess.clientId, this._options.apiAccess.clientSecret, this._options.apiAccess.refreshToken, this._options.extensionId);
let apiFacade;
try {
apiFacade = await chromeWebstoreApiFacade_1.ChromeWebstoreApiFacade.authorize(this._options.apiAccess.clientId, this._options.apiAccess.clientSecret, this._options.apiAccess.refreshToken, this._options.extensionId);
}
catch (error) {
throw new Error(error.message + ': ' + JSON.stringify(error.response.data));
}
apiFacade.setLogMethod(this._logWrapper.logMethod);

@@ -79,0 +86,0 @@ if (this._uploadedExtRequired) {

{
"name": "webext-buildtools-chrome-webstore-builder",
"version": "1.0.6",
"version": "1.0.7",
"description": "webext-buildtools builder for deploying to Chrome Webstore. Based on chrome-webstore-upload",

@@ -33,3 +33,3 @@ "main": "dist",

"semver": "^5.6.0",
"typed-chrome-webstore-api": "^0.3.4",
"typed-chrome-webstore-api": "^0.3.6",
"webext-buildtools-utils": "^1.0.5"

@@ -36,0 +36,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