pear-electron 1.7.7 → 1.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/api.js +3 -3
  2. package/package.json +2 -2
package/api.js CHANGED
@@ -184,12 +184,12 @@ module.exports = (api) => {
184
184
 
185
185
  static get parent () {
186
186
  if (!api.COMPAT) console.warn('Pear.Window.parent & Pear.View.parent are deprecated use ui.app.parent')
187
- return Pear[api.UI].app.parent
187
+ return Pear[API.UI].app.parent
188
188
  }
189
189
 
190
190
  static get self () {
191
191
  if (!api.COMPAT) console.warn('Pear.Window.self & Pear.View.self are deprecated use ui.app')
192
- return Pear[api.UI].app
192
+ return Pear[API.UI].app
193
193
  }
194
194
 
195
195
  constructor (entry, at, options = at) {
@@ -228,7 +228,7 @@ module.exports = (api) => {
228
228
  await new Promise(setImmediate) // needed for windows/views opening on app load
229
229
  this.#rxtx()
230
230
  this.id = await ipc.ctrl({
231
- parentId: Pear[api.UI].app.id,
231
+ parentId: Pear[API.UI].app.id,
232
232
  type: this.constructor[kGuiCtrl],
233
233
  entry: this.entry,
234
234
  options: this.options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pear-electron",
3
- "version": "1.7.7",
3
+ "version": "1.7.8",
4
4
  "description": "Pear User-Interface Library for Electron",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "pear": {
21
21
  "assets": {
22
22
  "ui": {
23
- "link": "pear://0.2750.goowesg5dga9j1ryx47rsk9o4zms4541me4zerxsnbu8u99duh4o",
23
+ "link": "pear://0.2752.goowesg5dga9j1ryx47rsk9o4zms4541me4zerxsnbu8u99duh4o",
24
24
  "name": "Pear Runtime",
25
25
  "only": [
26
26
  "/boot.bundle",