Skip to content

Commit 1c41d72

Browse files
authored
fix: incorrect package.json exports (#14)
* fix: broken exports field * chore: changeset
1 parent f91bd27 commit 1c41d72

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.changeset/social-sheep-warn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@contentauth/c2pa-wasm': patch
3+
'@contentauth/c2pa-web': patch
4+
---
5+
6+
Fixed broken package.json exports field

packages/c2pa-wasm/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@contentauth/c2pa-wasm",
33
"version": "0.1.1",
4+
"license": "MIT",
45
"type": "module",
56
"module": "./pkg/c2pa.js",
67
"types": "./pkg/c2pa.d.ts",

packages/c2pa-web/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{
22
"name": "@contentauth/c2pa-web",
33
"version": "0.1.2",
4+
"license": "MIT",
45
"type": "module",
56
"module": "./dist/index.js",
67
"types": "./dist/index.d.ts",
8+
"files": [
9+
"dist/**/*"
10+
],
711
"exports": {
812
"./package.json": "./package.json",
913
"./resources/c2pa.wasm": "./dist/resources/c2pa_bg.wasm",
1014
".": {
11-
"development": "./src/index.ts",
1215
"types": "./dist/index.d.ts",
1316
"import": "./dist/index.js",
1417
"default": "./dist/index.js"

0 commit comments

Comments
 (0)