Skip to content

Commit e03d983

Browse files
Replace require by esm imports (ecadlabs#1364)
* refactor(rpc): removed lodash imports The util function castToBigNumber was using lodash.getByPath and setByPath which is unnecessary because the function is not used with nested paths. * refactor(rpc): removed lodash imports The util function castToBigNumber was using lodash.getByPath and setByPath which is unnecessary because the function is not used with nested paths. * replace require by esm imports * install @types/bs58check * taquito utils bs58check import * blake2b types compliance * add blakejs and bs58check to rollup bundle * Fix typedoc build * updated package-lock Co-authored-by: Clement Renaud <[email protected]>
1 parent ffe27e1 commit e03d983

File tree

29 files changed

+317994
-309520
lines changed

29 files changed

+317994
-309520
lines changed

example/package-lock.json

Lines changed: 2963 additions & 1585 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
declare module 'bs58check' {
22
export function decode(encodedStr: string): Buffer;
33
export function encode(buf: Buffer): string;
4+
export function decodeUnsafe(string: string): Buffer | undefined;
45
}

0 commit comments

Comments
 (0)