Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
21 lines
681 B
Smarty
21 lines
681 B
Smarty
// Generated by Ignite ignite.com/cli
|
|
import { Registry } from '@cosmjs/proto-signing'
|
|
import { IgniteClient } from "./client";
|
|
import { MissingWalletError } from "./helpers";
|
|
{{ range .Modules }}import { IgntModule as {{ camelCaseUpperSta .Pkg.Name }}, msgTypes as {{ camelCaseUpperSta .Pkg.Name }}MsgTypes } from './{{ .Pkg.Name }}'
|
|
{{ end }}
|
|
|
|
const Client = IgniteClient.plugin([
|
|
{{ range $i,$module :=.Modules }}{{ if (gt $i 0) }}, {{ end }}{{ camelCaseUpperSta $module.Pkg.Name }}{{ end }}
|
|
]);
|
|
|
|
const registry = new Registry([
|
|
{{ range .Modules }}...{{ camelCaseUpperSta .Pkg.Name }}MsgTypes,
|
|
{{ end }}
|
|
])
|
|
|
|
export {
|
|
Client,
|
|
registry,
|
|
MissingWalletError
|
|
}
|