Skip to content

Commit

Permalink
working build + deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
awisniew207 committed Dec 19, 2024
1 parent 7c911f1 commit a3dd540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lit-agent-tool-uniswap/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export * from "./policy";
await Promise.all([
fs.writeFile(join(rootDir, "dist", "index.js"), jsContent),
fs.writeFile(join(rootDir, "dist", "index.d.ts"), dtsContent),
fs.writeFile(join(rootDir, "dist", "lit-action.js"), actionString),
fs.writeFile(join(rootDir, "dist", "litAction.js"), actionString),
]);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/lit-agent-tool-uniswap/scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function uploadToPinata(pinataJwt, data) {
// Create form data manually
const formData = [
`--${boundary}`,
'Content-Disposition: form-data; name="file"; filename="lit-action.js"',
'Content-Disposition: form-data; name="file"; filename="litAction.js"',
"Content-Type: text/plain",
"",
data,
Expand Down

0 comments on commit a3dd540

Please sign in to comment.