From dbdc5291afa68b80005c529de681ef538027840a Mon Sep 17 00:00:00 2001 From: Eras256 Date: Thu, 24 Sep 2026 17:09:39 -0600 Subject: [PATCH] chore(sdk): bump nirium to 0.15.0, add prepublishOnly New minor for the guard feature from #93 (x402Serve() replay/rate-limit protection is new opt-in API, not a patch-level fix). Also adds prepublishOnly: "npm run build" - this package didn't have it, so a version bump with no rebuild could publish a stale dist. This is exactly the incident AGENTS.md's own private-repo playbook already documents happening once before; verified fixed via `npm publish --dry-run` (never `npm pack`, which does not run prepublishOnly). Co-Authored-By: Claude Sonnet 5 --- packages/sdk/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/sdk/package.json b/packages/sdk/package.json index db671ee..39d0d66 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "nirium", - "version": "0.14.1", + "version": "0.15.0", "description": "Autonomous treasury and agentic-payments infrastructure for Stellar (x402 + MPP)", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -24,6 +24,7 @@ ], "scripts": { "build": "tsc", + "prepublishOnly": "npm run build", "dev": "tsc --watch", "lint": "eslint src/", "test": "jest --passWithNoTests && node --experimental-strip-types --test test/*.test.ts"