Replace internal usages of @iov/encoding with @cosmjs/{encoding,math}
This commit is contained in:
Vendored
+1
@@ -1,2 +1,3 @@
|
||||
export { assert } from "./assert";
|
||||
export { sleep } from "./sleep";
|
||||
export { isNonNullObject, isUint8Array } from "./typechecks";
|
||||
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Checks if data is a non-null object (i.e. matches the TypeScript object type)
|
||||
*/
|
||||
export declare function isNonNullObject(data: unknown): data is object;
|
||||
/**
|
||||
* Checks if data is an Uint8Array. Note: Buffer is treated as not a Uint8Array
|
||||
*/
|
||||
export declare function isUint8Array(data: unknown): data is Uint8Array;
|
||||
Reference in New Issue
Block a user