godprotocol 2.3.36 → 2.3.37

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "2.3.36",
3
+ "version": "2.3.37",
4
4
  "description": "A distributed computing environment for Web 4.0 — integrating AI, decentralisation, and virtual computation.",
5
5
  "main": "Index.js",
6
6
  "type": "module",
@@ -107,7 +107,7 @@ class Services {
107
107
  headers["x-platform"] = this.platform_uri;
108
108
  }
109
109
 
110
- if (header.xplatform) headers["x-platform"] = header.xplatform;
110
+ if (header?.xplatform) headers["x-platform"] = header.xplatform;
111
111
 
112
112
  if (
113
113
  !headers["x-api-key"] &&