@noldova/desktop.electron 0.0.2 → 0.0.3
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.
- package/api/index.d.ts +166 -29
- package/api/index.js.map +1 -1
- package/interfaces/i-frame-navigation.js +9 -0
- package/interfaces/i-frame-navigation.js.map +1 -0
- package/models/feed-source.js +4 -2
- package/models/feed-source.js.map +1 -1
- package/package.json +4 -4
- package/resources.js +87 -0
- package/resources.js.map +1 -1
- package/services/electron-web-view-session.js +19 -0
- package/services/electron-web-view-session.js.map +1 -1
- package/services/feed-provider.js +4 -3
- package/services/feed-provider.js.map +1 -1
- package/services/feed-updater.js +7 -4
- package/services/feed-updater.js.map +1 -1
- package/services/main-process-log.js +9 -7
- package/services/main-process-log.js.map +1 -1
- package/services/main-process-recovery.js +1 -0
- package/services/main-process-recovery.js.map +1 -1
- package/services/main-process.js +17 -2
- package/services/main-process.js.map +1 -1
- package/services/open-web-view.js +50 -19
- package/services/open-web-view.js.map +1 -1
- package/services/runtime-events.js +4 -0
- package/services/runtime-events.js.map +1 -1
- package/services/squirrel-handoff.js +1 -1
- package/services/squirrel-handoff.js.map +1 -1
- package/services/update-controller.js +2 -2
- package/services/update-controller.js.map +1 -1
- package/services/web-view-bridge.js +40 -2
- package/services/web-view-bridge.js.map +1 -1
- package/services/web-view-favicon.js +115 -0
- package/services/web-view-favicon.js.map +1 -0
- package/services/web-view-host.js +16 -5
- package/services/web-view-host.js.map +1 -1
- package/services/web-view-origin-check.js +32 -25
- package/services/web-view-origin-check.js.map +1 -1
- package/services/open-web-view.resources.js +0 -13
- package/services/open-web-view.resources.js.map +0 -1
- package/services/web-view-origin-check.resources.js +0 -46
- package/services/web-view-origin-check.resources.js.map +0 -1
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) Noldova.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
export class OpenWebViewResources {
|
|
9
|
-
static isEndedField = "isEnded";
|
|
10
|
-
static isTimedOutField = "isTimedOut";
|
|
11
|
-
static targetClosedError = "target closed";
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=open-web-view.resources.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"open-web-view.resources.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.electron/src/services/open-web-view.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,oBAAoB;IACxB,MAAM,CAAU,YAAY,GAAW,SAAS,CAAC;IACjD,MAAM,CAAU,eAAe,GAAW,YAAY,CAAC;IACvD,MAAM,CAAU,iBAAiB,GAAW,eAAe,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) Noldova.
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
export class WebViewOriginCheckResources {
|
|
9
|
-
static ipv4Version = 4;
|
|
10
|
-
static ipv6Version = 6;
|
|
11
|
-
static ipv4Separator = ".";
|
|
12
|
-
static ipv6Separator = ":";
|
|
13
|
-
static ipv6ZeroRun = "::";
|
|
14
|
-
static hextetRadix = 16;
|
|
15
|
-
static mappedMarkerHextet = 5;
|
|
16
|
-
static mappedIpv4Marker = 0xffff;
|
|
17
|
-
static embeddedIpv4Hextet = 6;
|
|
18
|
-
static nat64PrefixHextets = 2;
|
|
19
|
-
static byteBits = 8;
|
|
20
|
-
static byteMask = 0xff;
|
|
21
|
-
static nat64First = 0x64;
|
|
22
|
-
static nat64Second = 0xff9b;
|
|
23
|
-
static uniqueLocalMask = 0xfe00;
|
|
24
|
-
static uniqueLocalPrefix = 0xfc00;
|
|
25
|
-
static linkLocalMask = 0xffc0;
|
|
26
|
-
static linkLocalPrefix = 0xfe80;
|
|
27
|
-
static loopbackFirst = 127;
|
|
28
|
-
static privateClassAFirst = 10;
|
|
29
|
-
static privateClassBFirst = 172;
|
|
30
|
-
static privateClassBSecondLow = 16;
|
|
31
|
-
static privateClassBSecondHigh = 31;
|
|
32
|
-
static privateClassCFirst = 192;
|
|
33
|
-
static privateClassCSecond = 168;
|
|
34
|
-
static sharedAddressFirst = 100;
|
|
35
|
-
static sharedAddressSecondLow = 64;
|
|
36
|
-
static sharedAddressSecondHigh = 127;
|
|
37
|
-
static linkLocalFirst = 169;
|
|
38
|
-
static linkLocalSecond = 254;
|
|
39
|
-
static formatIpv4(first, second, third, fourth) {
|
|
40
|
-
return `${first}.${second}.${third}.${fourth}`;
|
|
41
|
-
}
|
|
42
|
-
static formatSubdomainSuffix(hostname) {
|
|
43
|
-
return `.${hostname}`;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=web-view-origin-check.resources.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web-view-origin-check.resources.js","sourceRoot":"","sources":["../../../../src/noldova.desktop.electron/src/services/web-view-origin-check.resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,2BAA2B;IAC/B,MAAM,CAAU,WAAW,GAAW,CAAC,CAAC;IACxC,MAAM,CAAU,WAAW,GAAW,CAAC,CAAC;IACxC,MAAM,CAAU,aAAa,GAAW,GAAG,CAAC;IAC5C,MAAM,CAAU,aAAa,GAAW,GAAG,CAAC;IAC5C,MAAM,CAAU,WAAW,GAAW,IAAI,CAAC;IAC3C,MAAM,CAAU,WAAW,GAAW,EAAE,CAAC;IACzC,MAAM,CAAU,kBAAkB,GAAW,CAAC,CAAC;IAC/C,MAAM,CAAU,gBAAgB,GAAW,MAAM,CAAC;IAClD,MAAM,CAAU,kBAAkB,GAAW,CAAC,CAAC;IAC/C,MAAM,CAAU,kBAAkB,GA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