Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchit-b committed Sep 27, 2024
1 parent 8572a90 commit 4047152
Show file tree
Hide file tree
Showing 42 changed files with 7,290 additions and 424 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
},
"dependencies": {
"@cosmjs/proto-signing": "0.31.3",
"@cosmjs/stargate": "0.32.4",
"@cosmjs/tendermint-rpc": "0.32.4",
"base64js": "1.0.1",
"cosmjs-types": "0.9.0",
"long": "5.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GeneratedType } from '@cosmjs/proto-signing'
import { Writer, Reader } from 'protobufjs'
import { Registry } from './registry'
import { convertToProtoFactory } from './util'
import { Any } from 'cosmjs-types/google/protobuf/any'
import { Any } from './proto/google/protobuf/any'

export type AnyWithUnpacked =
| Any
Expand Down
2 changes: 1 addition & 1 deletion src/proto/binary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import {
writeByte,
zzDecode,
zzEncode
} from './varint'
} from './stridejs/codegen/varint'

export enum WireType {
Varint = 0,
Expand Down
13 changes: 13 additions & 0 deletions src/proto/google/bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* eslint-disable @typescript-eslint/no-namespace */
import * as _80 from './protobuf/descriptor'
import * as _81 from './protobuf/any'
import * as _82 from './protobuf/timestamp'
import * as _83 from './protobuf/duration'
export namespace google {
export const protobuf = {
..._80,
..._81,
..._82,
..._83
}
}
Loading

0 comments on commit 4047152

Please sign in to comment.