Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keetanetwork/anchor",
"version": "0.0.19",
"version": "0.0.20",
"description": "KeetaNetwork Network Anchor",
"main": "client/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/json.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { types as nodeUtilsTypes } from 'util';
import { types as nodeUtilsTypes } from './util.js';
import { Buffer } from './buffer.js';
import type { JSONSerializable, ToJSONSerializable } from '@keetanetwork/keetanet-client/lib/utils/conversion.js';
export type { JSONSerializable, ToJSONSerializable };
Expand Down
13 changes: 13 additions & 0 deletions src/lib/utils/util.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { lib as KeetaNetLib } from '@keetanetwork/keetanet-client';

const util: typeof KeetaNetLib.Utils.Helper.util = KeetaNetLib.Utils.Helper.util;

const types: typeof util.types = util.types;
const inspect: typeof util.inspect = util.inspect;

export {
types,
inspect
}

export default util;