ngx-electron
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -154,2 +154,9 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
}); | ||
Object.defineProperty(ElectronService.prototype, "nativeImage", { | ||
get: function () { | ||
return this.electron ? this.electron.nativeImage : null; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ElectronService.prototype, "screen", { | ||
@@ -262,2 +269,2 @@ get: function () { | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIiwid2VicGFjazovLy93ZWJwYWNrL2Jvb3RzdHJhcCA3MWQ5N2VlYjVmODI1MDA5MjViNSIsIndlYnBhY2s6Ly8vLi9zcmMvZWxlY3Ryb25TZXJ2aWNlLnRzIiwid2VicGFjazovLy8uL3NyYy9lbGVjdHJvblNlcnZpY2VSZWYudHMiLCJ3ZWJwYWNrOi8vL2V4dGVybmFsIFwiQGFuZ3VsYXIvY29yZVwiIiwid2VicGFjazovLy8uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLENBQUM7QUFDRCxPO0FDVkE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7O0FBR0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0EsbURBQTJDLGNBQWM7O0FBRXpEO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsYUFBSztBQUNMO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO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y8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gZXh0ZXJuYWwgXCJAYW5ndWxhci9jb3JlXCJcbi8vIG1vZHVsZSBpZCA9IDJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIiwiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQge0VsZWN0cm9uU2VydmljZX0gZnJvbSAnLi9zcmMvZWxlY3Ryb25TZXJ2aWNlJztcbmltcG9ydCB7RWxlY3Ryb25TZXJ2aWNlUmVmfSBmcm9tICcuL3NyYy9lbGVjdHJvblNlcnZpY2VSZWYnO1xuXG5leHBvcnQgKiBmcm9tICcuL3NyYy9lbGVjdHJvblNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9zcmMvZWxlY3Ryb25TZXJ2aWNlUmVmJztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtdLFxuICAgIGV4cG9ydHM6IFtdLFxuICAgIHByb3ZpZGVyczogW3sgcHJvdmlkZTogRWxlY3Ryb25TZXJ2aWNlLCB1c2VDbGFzczogRWxlY3Ryb25TZXJ2aWNlUmVmIH1dXG59KVxuZXhwb3J0IGNsYXNzIE5neEVsZWN0cm9uTW9kdWxlIHtcblxufVxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vfi90c2xpbnQtbG9hZGVyIS4vaW5kZXgudHMiXSwic291cmNlUm9vdCI6IiJ9 |
{ | ||
"name": "ngx-electron", | ||
"description": "Access Electron Renderer APIs easily using an Angular Service", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"main": "bundles/core.umd.js", | ||
@@ -46,2 +46,3 @@ "repository": { | ||
"@types/node": "7.0.5", | ||
"@types/sinon": "^1.16.35", | ||
"awesome-typescript-loader": "3.0.4-rc.2", | ||
@@ -77,6 +78,4 @@ "clean-webpack-plugin": "0.1.15", | ||
"dependencies": { | ||
"@types/electron": "^1.4.32", | ||
"@types/sinon": "^1.16.35", | ||
"sinon": "^1.17.7" | ||
"@types/electron": "^1.4.33" | ||
} | ||
} |
@@ -78,4 +78,5 @@ # ngx-electron | ||
* `shell: Electron.Shell` - Electron's Shell API | ||
* `nativeImage: Electron.NativeImage` - Electron's NativeImage API | ||
### Static Properties | ||
* `runningInElectron: boolean` - Indicates if app is being executed inside of electron or not |
@@ -14,4 +14,5 @@ /// <reference types="electron" /> | ||
readonly process: NodeJS.Process; | ||
readonly nativeImage: typeof Electron.NativeImage; | ||
readonly screen: Electron.Screen; | ||
readonly shell: Electron.Shell; | ||
} |
@@ -70,2 +70,9 @@ export var ElectronService = (function () { | ||
}); | ||
Object.defineProperty(ElectronService.prototype, "nativeImage", { | ||
get: function () { | ||
return this.electron ? this.electron.nativeImage : null; | ||
}, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(ElectronService.prototype, "screen", { | ||
@@ -72,0 +79,0 @@ get: function () { |
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
184305
2
774
82
39
- Removed@types/sinon@^1.16.35
- Removedsinon@^1.17.7
- Removed@types/sinon@1.16.36(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedformatio@1.1.1(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedlolex@1.3.2(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedsamsam@1.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsinon@1.17.7(transitive)
- Removedutil@0.12.5(transitive)
- Removedwhich-typed-array@1.1.15(transitive)
Updated@types/electron@^1.4.33