@riocrypto/common-server 1.0.1578 → 1.0.1580

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.
@@ -19,6 +19,10 @@ function getValueByPath(obj, path) {
19
19
  const keys = path.split(".");
20
20
  let current = obj;
21
21
  for (let key of keys) {
22
+ // @ts-ignore
23
+ if (!current[key]) {
24
+ return undefined;
25
+ }
22
26
  // @ts-ignore
23
27
  current = current[key];
24
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1578",
3
+ "version": "1.0.1580",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/storage": "^6.9.5",
29
29
  "@google-cloud/vision": "^4.0.2",
30
30
  "@hyperdx/node-opentelemetry": "^0.4.2",
31
- "@riocrypto/common": "^1.0.1407",
31
+ "@riocrypto/common": "^1.0.1408",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.6.0",
34
34
  "ccxt": "^3.0.30",