Skip to content

Commit

Permalink
feat: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
1Mateus committed Sep 5, 2023
1 parent 6dcea21 commit 1414c95
Show file tree
Hide file tree
Showing 4 changed files with 2,666 additions and 3,290 deletions.
2 changes: 2 additions & 0 deletions packages/front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"buffer": "^6.0.3",
"clsx": "^1.2.1",
"file-saver": "^2.0.5",
"graphql": "^16.8.0",
"hideyourcash-sdk": "*",
"localforage": "^1.10.0",
"node-stdlib-browser": "^1.2.0",
Expand Down Expand Up @@ -66,6 +67,7 @@
"@types/react-gtm-module": "^2.0.1",
"@vitejs/plugin-react": "^1.3.0",
"fs": "^0.0.1-security",
"graphql-request": "5.2.0",
"rollup": "^2.79.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/front/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { Loader } from "@/components/loader";

// TODO: Find a better way to handle this buffer error
/* eslint-disable */
(window as any).Buffer = (window as any).Buffer || Buffer;
window.Buffer = window.Buffer || Buffer;

ReactDOM.createRoot(document.getElementById("root")!).render(
<React.Fragment>
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"browserify-fs": "^1.0.0",
"circomlibjs": "^0.1.7",
"fixed-merkle-tree": "^0.7.3",
"graphql-request": "^5.2.0",
"graphql-request": "5.2.0",
"jest-puppeteer": "^8.0.2",
"node-stdlib-browser": "^1.2.0",
"randombytes": "^2.1.0",
Expand Down

0 comments on commit 1414c95

Please sign in to comment.