forked from daimo-eth/daimo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update expo 49 -> 50 (daimo-eth#820)
* Update expo to 50 and run ios app * Update android projects * Check if res.rowCount exists * Make web successfull build at any cost ;-; * Fix typescript version * Update types/react * Im sorry idk any better rn * trpc v11 for react 18 support, rebase master * Update package-lock * Fix sharp * Some ts-ignore in daimo-api * eas: use node 21, JDK 17 image * typecheck API * api: fix types --------- Co-authored-by: Nalin Bhardwaj <[email protected]>
- Loading branch information
1 parent
9de0595
commit 9aad9e4
Showing
35 changed files
with
15,340 additions
and
9,903 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ git clone [email protected]:daimo-eth/daimo --recurse-submodules | |
Build the app. | ||
|
||
```sh | ||
node --version # ensure you have node 20+ | ||
node --version # ensure you have node 21+ | ||
npm i | ||
npm run build | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import type { AppRouter } from "@daimo/api"; | ||
import { createTRPCProxyClient, httpBatchLink } from "@trpc/client"; | ||
import { AppRouter } from "@daimo/api"; | ||
import { createTRPCClient, httpBatchLink } from "@trpc/client"; | ||
|
||
import { chainConfig } from "../env"; | ||
|
||
const apiUrl = process.env.NEXT_PUBLIC_DAIMO_API_URL || "http://localhost:3000"; | ||
export const apiUrlWithChain = `${apiUrl}/chain/${chainConfig.chainL2.id}`; | ||
|
||
export const rpc = createTRPCProxyClient<AppRouter>({ | ||
export const rpc = createTRPCClient<AppRouter>({ | ||
links: [httpBatchLink({ url: apiUrlWithChain })], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.