wdio-obsidian-service 0.1.2 → 0.1.4
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/helper-plugin/main.js +3 -3
- package/package.json +2 -2
package/helper-plugin/main.js
CHANGED
|
@@ -9,9 +9,9 @@ class WdioObsidianServicePlugin extends obsidian.Plugin {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
window.wdioObsidianService = globals;
|
|
12
|
-
// pop-out windows have separate window objects
|
|
13
|
-
//
|
|
14
|
-
// windows
|
|
12
|
+
// pop-out windows have separate window objects so the globals don't tranfer by default. webdriverio normally
|
|
13
|
+
// executes in the main window but you can switch that with `switchWindow`. Here we add the global to all
|
|
14
|
+
// windows so executeObsidian still works.
|
|
15
15
|
this.registerEvent(this.app.workspace.on("window-open", (win) => {
|
|
16
16
|
win.win.wdioObsidianService = globals;
|
|
17
17
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wdio-obsidian-service",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "TODO",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"lodash": "^4.17.21",
|
|
52
|
-
"obsidian-launcher": "^0.1.
|
|
52
|
+
"obsidian-launcher": "^0.1.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@wdio/cli": "^9.5.0",
|