electron-notarize
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -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 |
{ | ||
"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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
63961
13
461
0
62
1