New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@el3um4s/ipc-for-electron-auto-updater

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@el3um4s/ipc-for-electron-auto-updater - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

38

lib/IPC/renderer.d.ts

@@ -20,47 +20,47 @@ interface VersionNumber {

declare const renderer: {
requestVersionNumber: (options: {
requestVersionNumber: (options?: {
callback?: ((arg0: VersionNumber) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<VersionNumber>;
checkForUpdates: (options: {
} | undefined) => Promise<VersionNumber>;
checkForUpdates: (options?: {
callback?: ((arg0: UpdateInfo) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<UpdateInfo>;
startDownloadUpdate: (options: {
} | undefined) => Promise<UpdateInfo>;
startDownloadUpdate: (options?: {
apiKey?: string;
}) => Promise<void>;
quitAndInstall: (options: {
quitAndInstall: (options?: {
apiKey?: string;
}) => Promise<void>;
on: {
getVersionNumber: (options: {
getVersionNumber: (options?: {
callback?: ((arg0: VersionNumber) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<VersionNumber>;
checkingForUpdate: (options: {
} | undefined) => Promise<VersionNumber>;
checkingForUpdate: (options?: {
callback?: () => void;
apiKey?: string;
}) => Promise<void>;
errorOnAutoUpdate: (options: {
errorOnAutoUpdate: (options?: {
callback?: ((arg0: Error) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<Error>;
updateAvailable: (options: {
} | undefined) => Promise<Error>;
updateAvailable: (options?: {
callback?: ((arg0: UpdateInfo) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<UpdateInfo>;
updateNotAvailable: (options: {
} | undefined) => Promise<UpdateInfo>;
updateNotAvailable: (options?: {
callback?: ((arg0: UpdateInfo) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<UpdateInfo>;
downloadProgress: (options: {
} | undefined) => Promise<UpdateInfo>;
downloadProgress: (options?: {
callback?: ((arg0: ProgressInfo) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<ProgressInfo>;
updateDownloaded: (options: {
} | undefined) => Promise<ProgressInfo>;
updateDownloaded: (options?: {
callback?: ((arg0: UpdateDownloadedEvent) => void) | undefined;
apiKey?: string | undefined;
}) => Promise<UpdateDownloadedEvent>;
} | undefined) => Promise<UpdateDownloadedEvent>;
};
};
export default renderer;

@@ -15,3 +15,3 @@ "use strict";

const getVersionNumber = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -30,3 +30,3 @@ const api = globalThis[apiKey][nameAPI];

const errorOnAutoUpdate = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -44,3 +44,3 @@ const api = globalThis[apiKey][nameAPI];

const checkingForUpdate = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -58,3 +58,3 @@ const api = globalThis[apiKey][nameAPI];

const updateAvailable = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -72,3 +72,3 @@ const api = globalThis[apiKey][nameAPI];

const updateNotAvailable = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -86,3 +86,3 @@ const api = globalThis[apiKey][nameAPI];

const downloadProgress = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -100,3 +100,3 @@ const api = globalThis[apiKey][nameAPI];

const updateDownloaded = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -114,3 +114,3 @@ const api = globalThis[apiKey][nameAPI];

const requestVersionNumber = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -122,3 +122,3 @@ const api = globalThis[apiKey][nameAPI];

const checkForUpdates = (options) => __awaiter(void 0, void 0, void 0, function* () {
const { callback } = options;
const callback = options === null || options === void 0 ? void 0 : options.callback;
const apiKey = (options === null || options === void 0 ? void 0 : options.apiKey) || defaultApiKey;

@@ -125,0 +125,0 @@ const api = globalThis[apiKey][nameAPI];

{
"name": "@el3um4s/ipc-for-electron-auto-updater",
"version": "1.0.0",
"version": "1.0.1",
"description": "Allow the renderer to update electron apps",

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

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