@contentauth/c2pa-node 0.6.1 → 0.6.3

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/dist/index.node CHANGED
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/contentauth/c2pa-js.git",
6
6
  "directory": "packages/c2pa-node"
7
7
  },
8
- "version": "0.6.1",
8
+ "version": "0.6.3",
9
9
  "description": "Node.js bindings for C2PA",
10
10
  "main": "dist/index.js",
11
11
  "type": "module",
@@ -46,7 +46,7 @@
46
46
  "typedoc-plugin-markdown": "^4.11.0",
47
47
  "typescript": "^5.9.3",
48
48
  "vitest": "^3.2.4",
49
- "@contentauth/c2pa-types": "0.7.1"
49
+ "@contentauth/c2pa-types": "0.7.2"
50
50
  },
51
51
  "keywords": [
52
52
  "c2pa"
@@ -144,11 +144,14 @@ async function downloadBinary(appRoot) {
144
144
 
145
145
  if (repoBase && version && platform) {
146
146
  const fileName = `c2pa-node_${platform}-v${version}.zip`;
147
+ // Releases are tagged "<pkg>@<version>" by changesets
148
+ // (e.g. "@contentauth/c2pa-node@0.6.2"), not "v<version>".
149
+ const tag = `${pkg.name}@${version}`;
147
150
  const downloadUrl = [
148
151
  repoBase,
149
152
  'releases',
150
153
  'download',
151
- `v${version}`,
154
+ encodeURIComponent(tag),
152
155
  fileName,
153
156
  ].join('/');
154
157
  return downloadFromUrl(appRoot, downloadUrl);