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

electron-notarize

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-notarize - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

13

lib/index.js

@@ -118,2 +118,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

exports.stapleApp = stapleApp;
function notarize({ appBundleId, appPath, appleId, appleIdPassword, }) {
return __awaiter(this, void 0, void 0, function* () {
const { uuid } = yield startNotarize({
appBundleId,
appPath,
appleId,
appleIdPassword,
});
yield waitForNotarize({ uuid, appleId, appleIdPassword });
yield stapleApp({ appPath });
});
}
exports.notarize = notarize;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "electron-notarize",
"version": "0.0.1",
"version": "0.0.2",
"description": "Notarize your Electron app",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -26,2 +26,3 @@ import * as debug from 'debug';

export type NotarizeStapleOptions = Pick<NotarizeAppOptions, 'appPath'>;
export type NotarizeOptions = NotarizeStartOptions;

@@ -149,1 +150,17 @@ export async function startNotarize(opts: NotarizeStartOptions): Promise<NotarizeResult> {

}
export async function notarize({
appBundleId,
appPath,
appleId,
appleIdPassword,
}: NotarizeOptions) {
const { uuid } = await startNotarize({
appBundleId,
appPath,
appleId,
appleIdPassword,
});
await waitForNotarize({ uuid, appleId, appleIdPassword });
await stapleApp({ appPath });
}

Sorry, the diff of this file is not supported yet

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