@wisdomgarden/cloak-plugin-darkmode 0.0.1 → 0.0.2
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/index.mjs +2 -2
- package/package.json +2 -1
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let PluginInstance = null;
|
|
2
|
-
const PluginName = '
|
|
2
|
+
const PluginName = 'DarkMode'
|
|
3
3
|
const register = (plugin) => {
|
|
4
4
|
if (plugin.registered) {
|
|
5
5
|
return;
|
|
@@ -18,5 +18,5 @@ const register = (plugin) => {
|
|
|
18
18
|
|
|
19
19
|
export {
|
|
20
20
|
register,
|
|
21
|
-
PluginInstance as
|
|
21
|
+
PluginInstance as DarkMode
|
|
22
22
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wisdomgarden/cloak-plugin-darkmode",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Dark mode detection and monitoring plugin for Cloak applications.",
|
|
5
5
|
"author": "WisdomGarden",
|
|
6
6
|
"repository": "https://github.com/WisdomGardenInc/CloakPlugins/tree/master/plugins/CloakPluginDarkMode",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"main": "index.mjs",
|
|
10
10
|
"module": "index.mjs",
|
|
11
11
|
"type": "module",
|
|
12
|
+
"types": "./index.d.ts",
|
|
12
13
|
"scripts": {
|
|
13
14
|
"prepack": "cp ../../README*.md . && cp ../../LICENSE ."
|
|
14
15
|
},
|