@electron/remote
Advanced tools
Comparing version 2.0.12 to 2.1.0
@@ -1,1 +0,1 @@ | ||
export { initialize, enable } from "./server"; | ||
export { initialize, isInitialized, enable } from "./server"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.enable = exports.initialize = void 0; | ||
exports.enable = exports.isInitialized = exports.initialize = void 0; | ||
var server_1 = require("./server"); | ||
Object.defineProperty(exports, "initialize", { enumerable: true, get: function () { return server_1.initialize; } }); | ||
Object.defineProperty(exports, "isInitialized", { enumerable: true, get: function () { return server_1.isInitialized; } }); | ||
Object.defineProperty(exports, "enable", { enumerable: true, get: function () { return server_1.enable; } }); |
import { WebContents } from 'electron'; | ||
export declare const isRemoteModuleEnabled: (contents: WebContents) => boolean | undefined; | ||
export declare function enable(contents: WebContents): void; | ||
export declare function isInitialized(): boolean; | ||
export declare function initialize(): void; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.initialize = exports.enable = exports.isRemoteModuleEnabled = void 0; | ||
exports.initialize = exports.isInitialized = exports.enable = exports.isRemoteModuleEnabled = void 0; | ||
const events_1 = require("events"); | ||
@@ -349,2 +349,6 @@ const objects_registry_1 = __importDefault(require("./objects-registry")); | ||
let initialized = false; | ||
function isInitialized() { | ||
return initialized; | ||
} | ||
exports.isInitialized = isInitialized; | ||
function initialize() { | ||
@@ -351,0 +355,0 @@ if (initialized) |
{ | ||
"name": "@electron/remote", | ||
"version": "2.0.12", | ||
"version": "2.1.0", | ||
"main": "renderer/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
71342
1424