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

Commit

Permalink
fix: typing for instantiate
Browse files Browse the repository at this point in the history
  • Loading branch information
Leechael committed Nov 24, 2022
1 parent 193eaab commit 7c3873e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/sdk/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ type CreateFn = (options: {
baseURL: string
contractId: string
autoDeposit: boolean
}) => Promise<{api: ApiPromise; sidevmQuery: SidevmQuery}>
}) => Promise<{
api: ApiPromise
sidevmQuery: SidevmQuery
instantiate: SidevmQuery
}>

export const createPruntimeApi = (baseURL: string) => {
// Create a http client prepared for protobuf
Expand Down

0 comments on commit 7c3873e

Please sign in to comment.