@cityofzion/bs-electron 0.1.54 → 0.1.56

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.
Files changed (2) hide show
  1. package/dist/utils.js +2 -0
  2. package/package.json +2 -2
package/dist/utils.js CHANGED
@@ -18,6 +18,8 @@ function getPropertiesAndMethods(object) {
18
18
  if (key === 'constructor')
19
19
  continue;
20
20
  const keyString = String(key);
21
+ if (keyString.startsWith('_') || keyString.startsWith('#'))
22
+ continue;
21
23
  if (typeof object[key] === 'function') {
22
24
  try {
23
25
  // Get the number of parameters of the function to call it with empty objects
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cityofzion/bs-electron",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "repository": "https://github.com/CityOfZion/blockchain-services",
5
5
  "author": "Coz",
6
6
  "license": "GPL-3.0-only",
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "dependencies": {
11
11
  "lodash.clonedeep": "~4.5.0",
12
- "@cityofzion/blockchain-service": "1.22.1"
12
+ "@cityofzion/blockchain-service": "1.22.2"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@types/lodash.clonedeep": "~4.5.9",