Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix: codegen rpc.Client setup (#430)
Browse files Browse the repository at this point in the history
Co-authored-by: T6 <[email protected]>
  • Loading branch information
kratico and tjjfvi authored Nov 23, 2022
1 parent 0b2ee8f commit 2acba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const client = new LocalClientEffect(${JSON.stringify(chainUrl.slice(4))}
`
: `
import * as C from ${JSON.stringify(`/@${version}/mod.ts`)}
export const client = C.rpc.rpcClient(C.rpc.proxyProvider, ${JSON.stringify(chainUrl)})
export const client = C.rpcClient(C.rpc.proxyProvider, ${JSON.stringify(chainUrl)})
`,
importSpecifier: `/@${version}/mod.ts`,
})
Expand Down

0 comments on commit 2acba6b

Please sign in to comment.