sol2uml 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export declare const isAddress: (input: string) => boolean;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isAddress = void 0;
4
+ const isAddress = (input) => {
5
+ return input.match(/^0x([A-Fa-f0-9]{40})$/) !== null;
6
+ };
7
+ exports.isAddress = isAddress;
8
+ //# sourceMappingURL=regEx.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sol2uml",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Unified Modeling Language (UML) class diagram generator for Solidity contracts",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -41,6 +41,8 @@
41
41
  "files": [
42
42
  "lib/*.js",
43
43
  "lib/*.d.ts",
44
+ "lib/utils/*.js",
45
+ "lib/utils/*.d.ts",
44
46
  "sol2uml"
45
47
  ],
46
48
  "bin": {