electron 17.0.0-beta.7 → 17.0.1
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/checksums.json +78 -78
- package/electron.d.ts +128 -8
- package/package.json +1 -1
package/checksums.json
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
{
|
|
2
|
-
"chromedriver-v17.0.
|
|
3
|
-
"chromedriver-v17.0.
|
|
4
|
-
"chromedriver-v17.0.
|
|
5
|
-
"chromedriver-v17.0.
|
|
6
|
-
"chromedriver-v17.0.
|
|
7
|
-
"chromedriver-v17.0.
|
|
8
|
-
"chromedriver-v17.0.
|
|
9
|
-
"chromedriver-v17.0.
|
|
10
|
-
"chromedriver-v17.0.
|
|
11
|
-
"chromedriver-v17.0.
|
|
12
|
-
"chromedriver-v17.0.
|
|
13
|
-
"electron-api.json": "
|
|
14
|
-
"electron-v17.0.
|
|
15
|
-
"electron-v17.0.
|
|
16
|
-
"electron-v17.0.
|
|
17
|
-
"electron-v17.0.
|
|
18
|
-
"electron-v17.0.
|
|
19
|
-
"electron-v17.0.
|
|
20
|
-
"electron-v17.0.
|
|
21
|
-
"electron-v17.0.
|
|
22
|
-
"electron-v17.0.
|
|
23
|
-
"electron-v17.0.
|
|
24
|
-
"electron-v17.0.
|
|
25
|
-
"electron-v17.0.
|
|
26
|
-
"electron-v17.0.
|
|
27
|
-
"electron-v17.0.
|
|
28
|
-
"electron-v17.0.
|
|
29
|
-
"electron-v17.0.
|
|
30
|
-
"electron-v17.0.
|
|
31
|
-
"electron-v17.0.
|
|
32
|
-
"electron-v17.0.
|
|
33
|
-
"electron-v17.0.
|
|
34
|
-
"electron-v17.0.
|
|
35
|
-
"electron-v17.0.
|
|
36
|
-
"electron-v17.0.
|
|
37
|
-
"electron-v17.0.
|
|
38
|
-
"electron-v17.0.
|
|
39
|
-
"electron-v17.0.
|
|
40
|
-
"electron-v17.0.
|
|
41
|
-
"electron-v17.0.
|
|
42
|
-
"electron-v17.0.
|
|
43
|
-
"electron-v17.0.
|
|
44
|
-
"electron-v17.0.
|
|
45
|
-
"electron-v17.0.
|
|
46
|
-
"electron-v17.0.
|
|
47
|
-
"electron-v17.0.
|
|
48
|
-
"electron-v17.0.
|
|
49
|
-
"electron-v17.0.
|
|
50
|
-
"electron.d.ts": "
|
|
51
|
-
"ffmpeg-v17.0.
|
|
52
|
-
"ffmpeg-v17.0.
|
|
53
|
-
"ffmpeg-v17.0.
|
|
54
|
-
"ffmpeg-v17.0.
|
|
55
|
-
"ffmpeg-v17.0.
|
|
56
|
-
"ffmpeg-v17.0.
|
|
57
|
-
"ffmpeg-v17.0.
|
|
58
|
-
"ffmpeg-v17.0.
|
|
59
|
-
"ffmpeg-v17.0.
|
|
60
|
-
"ffmpeg-v17.0.
|
|
61
|
-
"ffmpeg-v17.0.
|
|
62
|
-
"hunspell_dictionaries.zip": "
|
|
63
|
-
"libcxx-objects-v17.0.
|
|
64
|
-
"libcxx-objects-v17.0.
|
|
65
|
-
"libcxx-objects-v17.0.
|
|
66
|
-
"libcxx-objects-v17.0.
|
|
67
|
-
"libcxx_headers.zip": "
|
|
68
|
-
"libcxxabi_headers.zip": "
|
|
69
|
-
"mksnapshot-v17.0.
|
|
70
|
-
"mksnapshot-v17.0.
|
|
71
|
-
"mksnapshot-v17.0.
|
|
72
|
-
"mksnapshot-v17.0.
|
|
73
|
-
"mksnapshot-v17.0.
|
|
74
|
-
"mksnapshot-v17.0.
|
|
75
|
-
"mksnapshot-v17.0.
|
|
76
|
-
"mksnapshot-v17.0.
|
|
77
|
-
"mksnapshot-v17.0.
|
|
78
|
-
"mksnapshot-v17.0.
|
|
79
|
-
"mksnapshot-v17.0.
|
|
2
|
+
"chromedriver-v17.0.1-darwin-arm64.zip": "eca55e4f8c65ad10084bc3a311bbbb8cea806ff8263e254b3c75b9a8e3f3f07c",
|
|
3
|
+
"chromedriver-v17.0.1-darwin-x64.zip": "16dfe20e1a44e81ea24713f8fe032e86c1d35f966dfc707add9daf8cb1390471",
|
|
4
|
+
"chromedriver-v17.0.1-linux-arm64.zip": "6a6a6d29e88c4941eaa3c625e7343c9f799bd1281b044cac8dbfd691beed6fea",
|
|
5
|
+
"chromedriver-v17.0.1-linux-armv7l.zip": "61dee83361cd924ae23b6c1f2c662de8d6f51fc7a7c9004940f6f91f3f67528f",
|
|
6
|
+
"chromedriver-v17.0.1-linux-ia32.zip": "48165ac21add50a4f230975d7f5b057d9dfa6ec631ce16d89cb8d3d1d272fad8",
|
|
7
|
+
"chromedriver-v17.0.1-linux-x64.zip": "e79c00907047f95c0960ef103838bcdc3ec4dafc8647c33752c518e9c8fe3e0e",
|
|
8
|
+
"chromedriver-v17.0.1-mas-arm64.zip": "f76d55a8c60833c4e1d63284ad3256d65312498d971f53589a35fc327a896d0c",
|
|
9
|
+
"chromedriver-v17.0.1-mas-x64.zip": "f1a3cf9fe9c66372414ba41cf7700aefb01c4674c8c9651eb2207990dd57fd0f",
|
|
10
|
+
"chromedriver-v17.0.1-win32-arm64.zip": "f14e27b88eec586e12fcc659f4f7380fc34df97ed1949bd6636c9d54a222b40d",
|
|
11
|
+
"chromedriver-v17.0.1-win32-ia32.zip": "abd67d9733fba59d09c659bbd5dfde0eb6954b64a38c29e5268874b356b6f984",
|
|
12
|
+
"chromedriver-v17.0.1-win32-x64.zip": "bade73c108771889dbabd4088181990c73a58c2bbae4ef89a6f1a8255bcfd352",
|
|
13
|
+
"electron-api.json": "31475b3ef0a8f04fbe47ec89dcf67c3f756aab140cf4dc338e9d1ce2760eb486",
|
|
14
|
+
"electron-v17.0.1-darwin-arm64-dsym.zip": "9fc13807af7a4e97b2729fae66a1e52d9881be452782814eb0696ab35fdde308",
|
|
15
|
+
"electron-v17.0.1-darwin-arm64-symbols.zip": "d198f9727726d6f0afb2a99e14f763829880f948b183ce440806dcb31d9ad19d",
|
|
16
|
+
"electron-v17.0.1-darwin-arm64.zip": "aecf14a88ede956e93fee5b48b773ad4d8d6605424c9d69a45950b673c89f8ca",
|
|
17
|
+
"electron-v17.0.1-darwin-x64-dsym.zip": "33b813abb8728c8f0e15709b9639beed3a158a7d7d734a07a7fb8cac76b6d3d2",
|
|
18
|
+
"electron-v17.0.1-darwin-x64-symbols.zip": "04686185621b08f51017d915abdc1a110f09cc7a0e935f41f9dde8f240b1b577",
|
|
19
|
+
"electron-v17.0.1-darwin-x64.zip": "d270858938e2f0e68479d91384e6f4d01be1d4e22b305dc2023ecd1a5e113d17",
|
|
20
|
+
"electron-v17.0.1-linux-arm64-debug.zip": "c887bbdd6363fa664abf084ae06b948d145508dc7a334dfb6aac9063e84c17f3",
|
|
21
|
+
"electron-v17.0.1-linux-arm64-symbols.zip": "e82a59781d9c750b3703288f15f3c86e0c7549fab9f2ebed6ec26835dcc7f58b",
|
|
22
|
+
"electron-v17.0.1-linux-arm64.zip": "7715f7eaaa287f83b945f491c2ca1eb0befed93725d81c85d06f8584db3a6cc4",
|
|
23
|
+
"electron-v17.0.1-linux-armv7l-debug.zip": "c887bbdd6363fa664abf084ae06b948d145508dc7a334dfb6aac9063e84c17f3",
|
|
24
|
+
"electron-v17.0.1-linux-armv7l-symbols.zip": "38395e29d61bda50b6cd1206551126c23d04a70f971541ac2b343b4c795abf30",
|
|
25
|
+
"electron-v17.0.1-linux-armv7l.zip": "0867f74427152c3b4110e11c9ce38e351531554868f62665b064f3d1dae5fd00",
|
|
26
|
+
"electron-v17.0.1-linux-ia32-debug.zip": "c887bbdd6363fa664abf084ae06b948d145508dc7a334dfb6aac9063e84c17f3",
|
|
27
|
+
"electron-v17.0.1-linux-ia32-symbols.zip": "5c1e7f35964cbc9be8aaf3b07812243056f08576d411d74a4825199e30de3a6d",
|
|
28
|
+
"electron-v17.0.1-linux-ia32.zip": "4e81ce43552f22e271527d5f7ab84db6dda61c0922f8b6350e44fa52967f2dd9",
|
|
29
|
+
"electron-v17.0.1-linux-x64-debug.zip": "b6a079affc1083e5c1d10fbe3595d54250df0317ae078995748140895909ed2b",
|
|
30
|
+
"electron-v17.0.1-linux-x64-symbols.zip": "00331a608ccd21b05fe47b33e70679b3fc4db7dbd6468467fe4352b77b131081",
|
|
31
|
+
"electron-v17.0.1-linux-x64.zip": "de789f548d6cc2ddff8db53b3bbfaac5631e90f14506935d2d7fafedf82e5adf",
|
|
32
|
+
"electron-v17.0.1-mas-arm64-dsym.zip": "d853cab52f8136599a2b3f9360f082e3e5f57a5afd046a3e8c6d3a6df2993b97",
|
|
33
|
+
"electron-v17.0.1-mas-arm64-symbols.zip": "4b3f098acffc06c3efc0e6d92b6dc27742a1b51134ce2bf0c2e43856a0af1d88",
|
|
34
|
+
"electron-v17.0.1-mas-arm64.zip": "e9be73c3cc23f2b920df86b5eaddac8e0fd87a71131bd518825bd619d935221f",
|
|
35
|
+
"electron-v17.0.1-mas-x64-dsym.zip": "4b47dde3cdca3d6dde9fd6c0297cdac59d461f0c276d33860b7d7c9da63ee250",
|
|
36
|
+
"electron-v17.0.1-mas-x64-symbols.zip": "0bb2976f54b305b18cdd0b9db44d9b839c59e7bec3468a8c8ab66e3f0ba42fc9",
|
|
37
|
+
"electron-v17.0.1-mas-x64.zip": "a799f6572a875680cccbecd9454eaebf5ea7ff02a8b1f5bde2dfdf64fb9259c4",
|
|
38
|
+
"electron-v17.0.1-win32-arm64-pdb.zip": "45631dd2627b8b31a5758368d3b8a049a7c12a061449ac8274203831731f9c2a",
|
|
39
|
+
"electron-v17.0.1-win32-arm64-symbols.zip": "a4e50524054facbea98586ded65c40c05fd7af0e5ebc62aa271852cf8cafc6ec",
|
|
40
|
+
"electron-v17.0.1-win32-arm64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
41
|
+
"electron-v17.0.1-win32-arm64.zip": "62a36170c395ff840804ebe2acb1e508434b9dd4e7f4d0e44d371d7e77b0073d",
|
|
42
|
+
"electron-v17.0.1-win32-ia32-pdb.zip": "9b7d7a44fbe118d22b0bf398faa8f43d668712000d0517e28ac73417e12b66e1",
|
|
43
|
+
"electron-v17.0.1-win32-ia32-symbols.zip": "10e3aabc3e985130b64958fb824941a949430ffd4186464101523fe0e9944dbc",
|
|
44
|
+
"electron-v17.0.1-win32-ia32-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
45
|
+
"electron-v17.0.1-win32-ia32.zip": "5d01dfa99297329af0b3e4f6a48f4d7c0173f361ec159afac294a167570996d7",
|
|
46
|
+
"electron-v17.0.1-win32-x64-pdb.zip": "eb3b558a371a9e9f946be013dfd127bf099026b286373a8e701d4ff3d2047e35",
|
|
47
|
+
"electron-v17.0.1-win32-x64-symbols.zip": "9dd5ca41b3856dfe6da5b64d47456f32835b3421bdfa5fccccdb53acf5659317",
|
|
48
|
+
"electron-v17.0.1-win32-x64-toolchain-profile.zip": "834c0069d539f7463da9a346aabc18033904aaba4672fd0e7cdcfae3bb679ed4",
|
|
49
|
+
"electron-v17.0.1-win32-x64.zip": "90773bf57922fbb2a2d5b9e0c8d6088c9447ac870967120c288b846ed1d8e403",
|
|
50
|
+
"electron.d.ts": "4ae73ca58ca35d8028cfa1b28fff7208494ae60b36f42e7f03046378c4edae10",
|
|
51
|
+
"ffmpeg-v17.0.1-darwin-arm64.zip": "167d8474c6ae6e4e1956de90978c7033ee091800e08fc49b154214724cb1c309",
|
|
52
|
+
"ffmpeg-v17.0.1-darwin-x64.zip": "30f2a9b145defe7ae81f778493bbd1186018cf727e3a227f152a4549849ebd4e",
|
|
53
|
+
"ffmpeg-v17.0.1-linux-arm64.zip": "49ce07b3880040cbf7eaf6eebd7968b560a1835c50a2cd7b934d43bc72d336a4",
|
|
54
|
+
"ffmpeg-v17.0.1-linux-armv7l.zip": "021f2ee1976f3865e1213db1267f295a8164a20e2065c4918200f5b097577735",
|
|
55
|
+
"ffmpeg-v17.0.1-linux-ia32.zip": "5a1c61ac1cc6ae9413720262af55d47597d84c66d729a6405b2299575ef9f605",
|
|
56
|
+
"ffmpeg-v17.0.1-linux-x64.zip": "509442736f2c504b917393aa9221dd3f736f49ff3eed3628678e40486fe3ee81",
|
|
57
|
+
"ffmpeg-v17.0.1-mas-arm64.zip": "167d8474c6ae6e4e1956de90978c7033ee091800e08fc49b154214724cb1c309",
|
|
58
|
+
"ffmpeg-v17.0.1-mas-x64.zip": "30f2a9b145defe7ae81f778493bbd1186018cf727e3a227f152a4549849ebd4e",
|
|
59
|
+
"ffmpeg-v17.0.1-win32-arm64.zip": "2f8b221394ac4f8ed819ee5e69ad84f84e9d78409cbc1b303a837ff8561187d3",
|
|
60
|
+
"ffmpeg-v17.0.1-win32-ia32.zip": "3825dc625c765c3b508f303d8a9c13c03c759547b49bf2a3899429719c659b2f",
|
|
61
|
+
"ffmpeg-v17.0.1-win32-x64.zip": "e8f5eb949c416980f4add5ee036b43f82ddcb937d81907c06dfa813c802b3295",
|
|
62
|
+
"hunspell_dictionaries.zip": "0768b514112f9d9e6261930e6a862007d8d5f07fa01c7d4e93d0a6354467ebd7",
|
|
63
|
+
"libcxx-objects-v17.0.1-linux-arm64.zip": "920eb29e24ffa112e6db5ee2337f8a14193d363affe37401f31417ccc16f3d4d",
|
|
64
|
+
"libcxx-objects-v17.0.1-linux-armv7l.zip": "7accd3f7091285dceec7023f1d05db83502540e195e6b9256051b5ce62ccfe7a",
|
|
65
|
+
"libcxx-objects-v17.0.1-linux-ia32.zip": "9dca787ffd8c8d9c6462bea307e9b80ee3df2713bb90e4ba2d26757a8a7f4a24",
|
|
66
|
+
"libcxx-objects-v17.0.1-linux-x64.zip": "1bc5b401e02df275c97de48875eb7cdb37b22fcfc2e257eed96e65b152156d93",
|
|
67
|
+
"libcxx_headers.zip": "2f51830a35de1c269d73c852188fc13f763eaf8d66232824b260ea059846cff1",
|
|
68
|
+
"libcxxabi_headers.zip": "cd68d40cac2b750e0c245b6f51936fe26ebec51635352a9388f1b69bf747f6c9",
|
|
69
|
+
"mksnapshot-v17.0.1-darwin-arm64.zip": "2e2ea3da67cc068f07310a80d120a6816ef02bd97fdbe1e3df00422abc894fd0",
|
|
70
|
+
"mksnapshot-v17.0.1-darwin-x64.zip": "d67ac1ed677849ff47966a45f2f0feccbbef78656b11fe963eeeebf17e76b51d",
|
|
71
|
+
"mksnapshot-v17.0.1-linux-arm64-x64.zip": "bc6fa0ec90963aa195bcd8924aff983b2b0aabceff4260fcf55f8f5823e47721",
|
|
72
|
+
"mksnapshot-v17.0.1-linux-armv7l-x64.zip": "ed53ee16b62f0cea6797563de753ce71959e6b9b4cd0b0e76e6ad1bdf47ae077",
|
|
73
|
+
"mksnapshot-v17.0.1-linux-ia32.zip": "77e3edeea2ccca507b310a2d181e091acffe7a261ea8f6291baa3954b21a66a0",
|
|
74
|
+
"mksnapshot-v17.0.1-linux-x64.zip": "a0073335ce7ae7773db18ba1fd733a7a8f3bc1d04a4f6f2f5c57ad69f23b37ed",
|
|
75
|
+
"mksnapshot-v17.0.1-mas-arm64.zip": "d2611c68da1449f61c8be7179d9c2c69480b8710e9c54ed83d10bccaa7f2d473",
|
|
76
|
+
"mksnapshot-v17.0.1-mas-x64.zip": "45853731983fb48e4183c7e7f60d9e1e43d74699aee65ac935f7e803bced4420",
|
|
77
|
+
"mksnapshot-v17.0.1-win32-arm64-x64.zip": "2ffbcc4099554031daf998b0dc5fcc9dfc8dfcb4e13f2ed904428d100643e324",
|
|
78
|
+
"mksnapshot-v17.0.1-win32-ia32.zip": "1a419ab8d134e77d022524be3773e0d3073b20a16f7d504fb7927f83badb450b",
|
|
79
|
+
"mksnapshot-v17.0.1-win32-x64.zip": "e949aee959556d33e3a359ee98c5f9de891b3af6e8da1ee922791e04f4b980b3"
|
|
80
80
|
}
|
package/electron.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for Electron 17.0.
|
|
1
|
+
// Type definitions for Electron 17.0.1
|
|
2
2
|
// Project: http://electronjs.org/
|
|
3
3
|
// Definitions by: The Electron Team <https://github.com/electron/electron>
|
|
4
4
|
// Definitions: https://github.com/electron/electron-typescript-definitions
|
|
@@ -1116,10 +1116,6 @@ declare namespace Electron {
|
|
|
1116
1116
|
*/
|
|
1117
1117
|
removeAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
|
|
1118
1118
|
/**
|
|
1119
|
-
* * `additionalData` unknown (optional) - A JSON object containing additional data
|
|
1120
|
-
* to send to the first instance.
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
1119
|
* The return value of this method indicates whether or not this instance of your
|
|
1124
1120
|
* application successfully obtained the lock. If it failed to obtain the lock,
|
|
1125
1121
|
* you can assume that another instance of your application is already running with
|
|
@@ -1139,7 +1135,7 @@ declare namespace Electron {
|
|
|
1139
1135
|
* An example of activating the window of primary instance when a second instance
|
|
1140
1136
|
* starts:
|
|
1141
1137
|
*/
|
|
1142
|
-
requestSingleInstanceLock(): boolean;
|
|
1138
|
+
requestSingleInstanceLock(additionalData?: Record<any, any>): boolean;
|
|
1143
1139
|
/**
|
|
1144
1140
|
* Marks the current Handoff user activity as inactive without invalidating it.
|
|
1145
1141
|
*
|
|
@@ -6236,6 +6232,34 @@ declare namespace Electron {
|
|
|
6236
6232
|
userText?: string;
|
|
6237
6233
|
}
|
|
6238
6234
|
|
|
6235
|
+
interface PaymentDiscount {
|
|
6236
|
+
|
|
6237
|
+
// Docs: https://electronjs.org/docs/api/structures/payment-discount
|
|
6238
|
+
|
|
6239
|
+
/**
|
|
6240
|
+
* A string used to uniquely identify a discount offer for a product.
|
|
6241
|
+
*/
|
|
6242
|
+
identifier: string;
|
|
6243
|
+
/**
|
|
6244
|
+
* A string that identifies the key used to generate the signature.
|
|
6245
|
+
*/
|
|
6246
|
+
keyIdentifier: string;
|
|
6247
|
+
/**
|
|
6248
|
+
* A universally unique ID (UUID) value that you define.
|
|
6249
|
+
*/
|
|
6250
|
+
nonce: string;
|
|
6251
|
+
/**
|
|
6252
|
+
* A UTF-8 string representing the properties of a specific discount offer,
|
|
6253
|
+
* cryptographically signed.
|
|
6254
|
+
*/
|
|
6255
|
+
signature: string;
|
|
6256
|
+
/**
|
|
6257
|
+
* The date and time of the signature's creation in milliseconds, formatted in Unix
|
|
6258
|
+
* epoch time.
|
|
6259
|
+
*/
|
|
6260
|
+
timestamp: number;
|
|
6261
|
+
}
|
|
6262
|
+
|
|
6239
6263
|
interface Point {
|
|
6240
6264
|
|
|
6241
6265
|
// Docs: https://electronjs.org/docs/api/structures/point
|
|
@@ -6528,10 +6552,27 @@ declare namespace Electron {
|
|
|
6528
6552
|
* 3 character code presenting a product's currency based on the ISO 4217 standard.
|
|
6529
6553
|
*/
|
|
6530
6554
|
currencyCode: string;
|
|
6555
|
+
/**
|
|
6556
|
+
* An array of discount offers
|
|
6557
|
+
*/
|
|
6558
|
+
discounts: ProductDiscount[];
|
|
6559
|
+
/**
|
|
6560
|
+
* The total size of the content, in bytes.
|
|
6561
|
+
*/
|
|
6562
|
+
downloadContentLengths: number[];
|
|
6563
|
+
/**
|
|
6564
|
+
* A string that identifies the version of the content.
|
|
6565
|
+
*/
|
|
6566
|
+
downloadContentVersion: string;
|
|
6531
6567
|
/**
|
|
6532
6568
|
* The locale formatted price of the product.
|
|
6533
6569
|
*/
|
|
6534
6570
|
formattedPrice: string;
|
|
6571
|
+
/**
|
|
6572
|
+
* The object containing introductory price information for the product. available
|
|
6573
|
+
* for the product.
|
|
6574
|
+
*/
|
|
6575
|
+
introductoryPrice?: ProductDiscount;
|
|
6535
6576
|
/**
|
|
6536
6577
|
* A boolean value that indicates whether the App Store has downloadable content
|
|
6537
6578
|
* for this product. `true` if at least one file has been associated with the
|
|
@@ -6554,6 +6595,65 @@ declare namespace Electron {
|
|
|
6554
6595
|
* The string that identifies the product to the Apple App Store.
|
|
6555
6596
|
*/
|
|
6556
6597
|
productIdentifier: string;
|
|
6598
|
+
/**
|
|
6599
|
+
* The identifier of the subscription group to which the subscription belongs.
|
|
6600
|
+
*/
|
|
6601
|
+
subscriptionGroupIdentifier: string;
|
|
6602
|
+
/**
|
|
6603
|
+
* The period details for products that are subscriptions.
|
|
6604
|
+
*/
|
|
6605
|
+
subscriptionPeriod?: ProductSubscriptionPeriod;
|
|
6606
|
+
}
|
|
6607
|
+
|
|
6608
|
+
interface ProductDiscount {
|
|
6609
|
+
|
|
6610
|
+
// Docs: https://electronjs.org/docs/api/structures/product-discount
|
|
6611
|
+
|
|
6612
|
+
/**
|
|
6613
|
+
* A string used to uniquely identify a discount offer for a product.
|
|
6614
|
+
*/
|
|
6615
|
+
identifier: string;
|
|
6616
|
+
/**
|
|
6617
|
+
* An integer that indicates the number of periods the product discount is
|
|
6618
|
+
* available.
|
|
6619
|
+
*/
|
|
6620
|
+
numberOfPeriods: number;
|
|
6621
|
+
/**
|
|
6622
|
+
* The payment mode for this product discount. Can be `payAsYouGo`, `payUpFront`,
|
|
6623
|
+
* or `freeTrial`.
|
|
6624
|
+
*/
|
|
6625
|
+
paymentMode: ('payAsYouGo' | 'payUpFront' | 'freeTrial');
|
|
6626
|
+
/**
|
|
6627
|
+
* The discount price of the product in the local currency.
|
|
6628
|
+
*/
|
|
6629
|
+
price: number;
|
|
6630
|
+
/**
|
|
6631
|
+
* The locale used to format the discount price of the product.
|
|
6632
|
+
*/
|
|
6633
|
+
priceLocale: string;
|
|
6634
|
+
/**
|
|
6635
|
+
* An object that defines the period for the product discount.
|
|
6636
|
+
*/
|
|
6637
|
+
subscriptionPeriod?: ProductSubscriptionPeriod;
|
|
6638
|
+
/**
|
|
6639
|
+
* The type of discount offer.
|
|
6640
|
+
*/
|
|
6641
|
+
type: number;
|
|
6642
|
+
}
|
|
6643
|
+
|
|
6644
|
+
interface ProductSubscriptionPeriod {
|
|
6645
|
+
|
|
6646
|
+
// Docs: https://electronjs.org/docs/api/structures/product-subscription-period
|
|
6647
|
+
|
|
6648
|
+
/**
|
|
6649
|
+
* The number of units per subscription period.
|
|
6650
|
+
*/
|
|
6651
|
+
numberOfUnits: number;
|
|
6652
|
+
/**
|
|
6653
|
+
* The increment of time that a subscription period is specified in. Can be `day`,
|
|
6654
|
+
* `week`, `month`, `year`.
|
|
6655
|
+
*/
|
|
6656
|
+
unit: ('day' | 'week' | 'month' | 'year');
|
|
6557
6657
|
}
|
|
6558
6658
|
|
|
6559
6659
|
interface Protocol {
|
|
@@ -13765,8 +13865,8 @@ declare namespace Electron {
|
|
|
13765
13865
|
|
|
13766
13866
|
interface InsertCSSOptions {
|
|
13767
13867
|
/**
|
|
13768
|
-
* Can be either 'user' or 'author'
|
|
13769
|
-
*
|
|
13868
|
+
* Can be either 'user' or 'author'. Sets the cascade origin of the inserted
|
|
13869
|
+
* stylesheet. Default is 'author'.
|
|
13770
13870
|
*/
|
|
13771
13871
|
cssOrigin?: string;
|
|
13772
13872
|
}
|
|
@@ -14631,6 +14731,14 @@ declare namespace Electron {
|
|
|
14631
14731
|
* The quantity purchased.
|
|
14632
14732
|
*/
|
|
14633
14733
|
quantity: number;
|
|
14734
|
+
/**
|
|
14735
|
+
* An opaque identifier for the user’s account on your system.
|
|
14736
|
+
*/
|
|
14737
|
+
applicationUsername: string;
|
|
14738
|
+
/**
|
|
14739
|
+
* The details of the discount offer to apply to the payment.
|
|
14740
|
+
*/
|
|
14741
|
+
paymentDiscount?: PaymentDiscount;
|
|
14634
14742
|
}
|
|
14635
14743
|
|
|
14636
14744
|
interface PermissionCheckHandlerHandlerDetails {
|
|
@@ -16358,12 +16466,15 @@ declare namespace Electron {
|
|
|
16358
16466
|
type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
|
|
16359
16467
|
type NotificationAction = Electron.NotificationAction;
|
|
16360
16468
|
type NotificationResponse = Electron.NotificationResponse;
|
|
16469
|
+
type PaymentDiscount = Electron.PaymentDiscount;
|
|
16361
16470
|
type Point = Electron.Point;
|
|
16362
16471
|
type PostBody = Electron.PostBody;
|
|
16363
16472
|
type PrinterInfo = Electron.PrinterInfo;
|
|
16364
16473
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
16365
16474
|
type ProcessMetric = Electron.ProcessMetric;
|
|
16366
16475
|
type Product = Electron.Product;
|
|
16476
|
+
type ProductDiscount = Electron.ProductDiscount;
|
|
16477
|
+
type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
|
|
16367
16478
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
16368
16479
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
16369
16480
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
@@ -16647,12 +16758,15 @@ declare namespace Electron {
|
|
|
16647
16758
|
type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
|
|
16648
16759
|
type NotificationAction = Electron.NotificationAction;
|
|
16649
16760
|
type NotificationResponse = Electron.NotificationResponse;
|
|
16761
|
+
type PaymentDiscount = Electron.PaymentDiscount;
|
|
16650
16762
|
type Point = Electron.Point;
|
|
16651
16763
|
type PostBody = Electron.PostBody;
|
|
16652
16764
|
type PrinterInfo = Electron.PrinterInfo;
|
|
16653
16765
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
16654
16766
|
type ProcessMetric = Electron.ProcessMetric;
|
|
16655
16767
|
type Product = Electron.Product;
|
|
16768
|
+
type ProductDiscount = Electron.ProductDiscount;
|
|
16769
|
+
type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
|
|
16656
16770
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
16657
16771
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
16658
16772
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
@@ -16874,12 +16988,15 @@ declare namespace Electron {
|
|
|
16874
16988
|
type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
|
|
16875
16989
|
type NotificationAction = Electron.NotificationAction;
|
|
16876
16990
|
type NotificationResponse = Electron.NotificationResponse;
|
|
16991
|
+
type PaymentDiscount = Electron.PaymentDiscount;
|
|
16877
16992
|
type Point = Electron.Point;
|
|
16878
16993
|
type PostBody = Electron.PostBody;
|
|
16879
16994
|
type PrinterInfo = Electron.PrinterInfo;
|
|
16880
16995
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
16881
16996
|
type ProcessMetric = Electron.ProcessMetric;
|
|
16882
16997
|
type Product = Electron.Product;
|
|
16998
|
+
type ProductDiscount = Electron.ProductDiscount;
|
|
16999
|
+
type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
|
|
16883
17000
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
16884
17001
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
16885
17002
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
|
@@ -17178,12 +17295,15 @@ declare namespace Electron {
|
|
|
17178
17295
|
type NewWindowWebContentsEvent = Electron.NewWindowWebContentsEvent;
|
|
17179
17296
|
type NotificationAction = Electron.NotificationAction;
|
|
17180
17297
|
type NotificationResponse = Electron.NotificationResponse;
|
|
17298
|
+
type PaymentDiscount = Electron.PaymentDiscount;
|
|
17181
17299
|
type Point = Electron.Point;
|
|
17182
17300
|
type PostBody = Electron.PostBody;
|
|
17183
17301
|
type PrinterInfo = Electron.PrinterInfo;
|
|
17184
17302
|
type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
|
|
17185
17303
|
type ProcessMetric = Electron.ProcessMetric;
|
|
17186
17304
|
type Product = Electron.Product;
|
|
17305
|
+
type ProductDiscount = Electron.ProductDiscount;
|
|
17306
|
+
type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
|
|
17187
17307
|
type ProtocolRequest = Electron.ProtocolRequest;
|
|
17188
17308
|
type ProtocolResponse = Electron.ProtocolResponse;
|
|
17189
17309
|
type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 8.6"
|
|
17
17
|
},
|
|
18
18
|
"name": "electron",
|
|
19
|
-
"version": "17.0.
|
|
19
|
+
"version": "17.0.1",
|
|
20
20
|
"repository": "https://github.com/electron/electron",
|
|
21
21
|
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
|
|
22
22
|
"license": "MIT",
|