pi-updater 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/index.ts +2 -2
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -162,13 +162,13 @@ export default function (pi: ExtensionAPI) {
162
162
  pi.on("session_start", async (_event, ctx) => {
163
163
  if (!ctx.hasUI) return;
164
164
  const latest = getUpgradeVersion();
165
- if (latest) void showUpdatePrompt(ctx, latest);
165
+ if (latest) await showUpdatePrompt(ctx, latest);
166
166
  });
167
167
 
168
168
  pi.on("session_switch", async (_event, ctx) => {
169
169
  if (!ctx.hasUI) return;
170
170
  const latest = getUpgradeVersion();
171
- if (latest) void showUpdatePrompt(ctx, latest);
171
+ if (latest) await showUpdatePrompt(ctx, latest);
172
172
  });
173
173
 
174
174
  pi.registerCommand("update", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-updater",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Codex-style auto-updater for pi. Checks for new versions on startup and prompts to install.",
5
5
  "type": "module",
6
6
  "license": "MIT",