From f50849073f344bc01796fbbc8fd150297c34d72c Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Tue, 14 Jul 2026 10:49:24 +0800 Subject: [PATCH] feat!: rename profile.switch command to profile Renames the ZapScript profile-switch command from **profile.switch to **profile, and the exported constant ZapScriptCmdProfileSwitch to ZapScriptCmdProfile. profile.clear is unchanged. The profiles feature is unreleased in zaparoo-core, so no cards or consumers use the old command name yet. BREAKING CHANGE: ZapScriptCmdProfileSwitch no longer exists; use ZapScriptCmdProfile. --- models.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.go b/models.go index d98c591..7624be7 100644 --- a/models.go +++ b/models.go @@ -65,8 +65,8 @@ const ( ZapScriptCmdTraits = "traits" - ZapScriptCmdProfileSwitch = "profile.switch" - ZapScriptCmdProfileClear = "profile.clear" + ZapScriptCmdProfile = "profile" + ZapScriptCmdProfileClear = "profile.clear" ZapScriptCmdInputKey = "input.key" // DEPRECATED ZapScriptCmdKey = "key" // DEPRECATED