@coherentglobal/wasm-runner 0.0.68 → 0.0.69

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.
@@ -129,8 +129,8 @@ try {
129
129
  let isAsync = typeof instance._is_async === 'function' && instance._is_async(wb);
130
130
 
131
131
  const hasSubServices = req?.request_meta?.service_category && req?.request_meta?.service_category.split(',').map(d => d.toLowerCase())
132
- const isMetadataSubSvc = hasSubServices.some(c => c === 'metadata') && metadata !== undefined;
133
- const isFormSpecSubSvc = hasSubServices.some(c => c === 'formspec') && formspec !== undefined;
132
+ const isMetadataSubSvc = hasSubServices && hasSubServices.some(c => c === 'metadata') && metadata !== undefined;
133
+ const isFormSpecSubSvc = hasSubServices && hasSubServices.some(c => c === 'formspec') && formspec !== undefined;
134
134
  const isAsyncCheck = isAsync === 1 || isAsync === true || isAsync === 'true'
135
135
 
136
136
  let result
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coherentglobal/wasm-runner",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "description": "Coherent WASM runner for Javascript and Node.js",
5
5
  "main": "dist/node.js",
6
6
  "browser": "dist/browser.js",