Files
agents-marketplace/packages/shared/package.json
david 57e77e0e25 shared: route ref-script server helpers via tx/server (keep buyer bundle clean)
Static re-exports from tx/index.ts caused vite to trace
loadEscrowScript/loadAdvertScript/buildLiveTxForPublishReferenceScripts
into the buyer UI bundle, hitting the CML WASM "ESM integration proposal"
limitation. Sibling builders avoid this with /* @vite-ignore */ dynamic
imports; we keep symmetry by parking the helpers on a separate
@marketplace/shared/tx/server entry that the buyer never imports.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 15:41:29 +02:00

29 lines
645 B
JSON

{
"name": "@marketplace/shared",
"version": "0.0.0",
"private": true,
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./chain": "./src/chain/index.ts",
"./cbor": "./src/cbor/index.ts",
"./receipt": "./src/receipt/index.ts",
"./tx": "./src/tx/index.ts",
"./tx/server": "./src/tx/server.ts"
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"cbor-x": "^1.5.4",
"typescript": "^5.7.2"
},
"dependencies": {
"@lucid-evolution/lucid": "^0.4.30",
"@noble/ed25519": "^2.3.0",
"bech32": "^2.0.0"
}
}