@buildinternet/uploads 0.17.0 → 0.18.0

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/dist/github.js +5 -0
  2. package/package.json +1 -1
package/dist/github.js CHANGED
@@ -99,6 +99,11 @@ export function ghMetadataForBranch(repo, branch, now = new Date()) {
99
99
  "gh.kind": "branch",
100
100
  "gh.branch": branchLower,
101
101
  "gh.staged-at": now.toISOString().replace(/\.\d{3}Z$/, "Z"),
102
+ // Lifecycle tag (issue #339): flipped to "promoted" by server-side
103
+ // promotion, so "in-flight staged media" is a plain equality query
104
+ // (`meta.gh.status=staged`) — the metadata filter API can't express
105
+ // "gh.promoted-at absent".
106
+ "gh.status": "staged",
102
107
  };
103
108
  }
104
109
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buildinternet/uploads",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "CLI and client for uploads.sh — workspace-scoped image hosting for GitHub embeds",
5
5
  "type": "module",
6
6
  "sideEffects": false,