mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
cosmwasm-stargate: Add codec
This commit is contained in:
parent
4207e8e373
commit
91405d2834
4435
packages/cosmwasm-stargate/src/codec/generated/codecimpl.d.ts
vendored
Normal file
4435
packages/cosmwasm-stargate/src/codec/generated/codecimpl.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3615
packages/cosmwasm-stargate/src/codec/generated/codecimpl.js
Normal file
3615
packages/cosmwasm-stargate/src/codec/generated/codecimpl.js
Normal file
File diff suppressed because it is too large
Load Diff
9
packages/cosmwasm-stargate/src/codec/index.ts
Normal file
9
packages/cosmwasm-stargate/src/codec/index.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import Long from "long";
|
||||
import protobuf from "protobufjs/minimal";
|
||||
|
||||
// Ensure the protobuf module has a Long implementation, which otherwise only works
|
||||
// in Node.js (see https://github.com/protobufjs/protobuf.js/issues/921#issuecomment-334925145)
|
||||
protobuf.util.Long = Long;
|
||||
protobuf.configure();
|
||||
|
||||
export { cosmwasm } from "./generated/codecimpl";
|
4435
packages/cosmwasm-stargate/types/codec/generated/codecimpl.d.ts
vendored
Normal file
4435
packages/cosmwasm-stargate/types/codec/generated/codecimpl.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
packages/cosmwasm-stargate/types/codec/index.d.ts
vendored
Normal file
1
packages/cosmwasm-stargate/types/codec/index.d.ts
vendored
Normal file
@ -0,0 +1 @@
|
||||
export { cosmwasm } from "./generated/codecimpl";
|
Loading…
x
Reference in New Issue
Block a user