Skip to content

Commit b30cea5

Browse files
committed
chore: bump a version
1 parent 97de3ac commit b30cea5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adamant-api",
3-
"version": "2.2.0",
3+
"version": "2.3.0",
44
"description": "JavaScript API library for the ADAMANT Blockchain",
55
"keywords": [
66
"adm",

src/helpers/utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export const hasOwnProperty = <T extends object, K extends PropertyKey>(
2+
obj: T,
3+
prop: K
4+
): obj is T & Record<K, unknown> => {
5+
return Object.prototype.hasOwnProperty.call(obj, prop);
6+
};

0 commit comments

Comments
 (0)