Skip to content

Commit 625b269

Browse files
committed
fix: update package.json paths to use 'dist/src' directory
- Changed the paths in package.json to point to the 'dist/src' directory for main, types, and all submodules, ensuring consistency in the build output structure.
1 parent fe22322 commit 625b269

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

packages/synapse-sdk/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,36 @@
2020
},
2121
"homepage": "https://github.com/FilOzone/synapse-sdk/tree/main/packages/synapse-sdk",
2222
"type": "module",
23-
"main": "dist/index.js",
24-
"types": "dist/index.d.ts",
23+
"main": "dist/src/index.js",
24+
"types": "dist/src/index.d.ts",
2525
"exports": {
2626
".": {
27-
"import": "./dist/index.js",
28-
"types": "./dist/index.d.ts"
27+
"import": "./dist/src/index.js",
28+
"types": "./dist/src/index.d.ts"
2929
},
3030
"./piece": {
31-
"import": "./dist/piece/index.js",
32-
"types": "./dist/piece/index.d.ts"
31+
"import": "./dist/src/piece/index.js",
32+
"types": "./dist/src/piece/index.d.ts"
3333
},
3434
"./pdp": {
35-
"import": "./dist/pdp/index.js",
36-
"types": "./dist/pdp/index.d.ts"
35+
"import": "./dist/src/pdp/index.js",
36+
"types": "./dist/src/pdp/index.d.ts"
3737
},
3838
"./payments": {
39-
"import": "./dist/payments/index.js",
40-
"types": "./dist/payments/index.d.ts"
39+
"import": "./dist/src/payments/index.js",
40+
"types": "./dist/src/payments/index.d.ts"
4141
},
4242
"./warm-storage": {
43-
"import": "./dist/warm-storage/index.js",
44-
"types": "./dist/warm-storage/index.d.ts"
43+
"import": "./dist/src/warm-storage/index.js",
44+
"types": "./dist/src/warm-storage/index.d.ts"
4545
},
4646
"./subgraph": {
47-
"import": "./dist/subgraph/index.js",
48-
"types": "./dist/subgraph/index.d.ts"
47+
"import": "./dist/src/subgraph/index.js",
48+
"types": "./dist/src/subgraph/index.d.ts"
4949
},
5050
"./sp-registry": {
51-
"import": "./dist/sp-registry/index.js",
52-
"types": "./dist/sp-registry/index.d.ts"
51+
"import": "./dist/src/sp-registry/index.js",
52+
"types": "./dist/src/sp-registry/index.d.ts"
5353
}
5454
},
5555
"scripts": {

0 commit comments

Comments
 (0)