diff --git a/.changes/stronghold-arg-name.md b/.changes/stronghold-arg-name.md new file mode 100644 index 00000000..61efc0ed --- /dev/null +++ b/.changes/stronghold-arg-name.md @@ -0,0 +1,5 @@ +--- +"stronghold-js": patch +--- + +Change the argument name of the `Stronghold.remove` from `location` to `recordPath` to match the Stronghold command argument diff --git a/plugins/stronghold/guest-js/index.ts b/plugins/stronghold/guest-js/index.ts index 071eabf1..9272f9a9 100644 --- a/plugins/stronghold/guest-js/index.ts +++ b/plugins/stronghold/guest-js/index.ts @@ -378,7 +378,7 @@ export class Vault extends ProcedureExecutor { snapshotPath: this.path, client: this.client, vault: this.name, - location, + recordPath: location.payload.record, }); } } diff --git a/plugins/window-state/src/lib.rs b/plugins/window-state/src/lib.rs index 7421d477..f17201ca 100644 --- a/plugins/window-state/src/lib.rs +++ b/plugins/window-state/src/lib.rs @@ -190,7 +190,7 @@ impl WindowExt for Window { } if flags.contains(StateFlags::DECORATIONS) { - metadata.visible = self.is_visible()?; + metadata.decorated = self.is_decorated()?; } if flags.contains(StateFlags::FULLSCREEN) {