sealcode 1.3.4 → 1.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sealcode",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Lock your source code in your own git repo. Stop AI agents, scrapers, and curious eyes from reading what's yours.",
5
5
  "keywords": [
6
6
  "encryption",
package/src/cli-grants.js CHANGED
@@ -735,7 +735,10 @@ async function runLockdown({ projectRoot, confirm = true } = {}) {
735
735
  { auth: true },
736
736
  );
737
737
  const grants = Array.isArray(list.grants) ? list.grants : [];
738
- const live = grants.filter((g) => g.status === 'active' || g.status === 'paused');
738
+ // The serialized payload uses `state` (not `status`) values are
739
+ // computed by describeGrant() and include "active", "paused",
740
+ // "expired", "revoked", "pending".
741
+ const live = grants.filter((g) => g.state === 'active' || g.state === 'paused');
739
742
  if (live.length === 0) {
740
743
  ui.ok('Lockdown complete — no active grants to revoke.');
741
744
  return;