@hypermode/functions-as
Advanced tools
Comparing version 0.6.0 to 0.6.1
{ | ||
"name": "@hypermode/functions-as", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Hypermode library for AssemblyScript functions", | ||
@@ -5,0 +5,0 @@ "author": "Hypermode, Inc.", |
@@ -109,5 +109,8 @@ import binaryen from "assemblyscript/lib/binaryen.js"; | ||
const results = []; | ||
this.program.moduleImports.get("hypermode").forEach((v, k) => { | ||
results.push({ name: k, function: v.internalName }); | ||
}); | ||
const hypermodeImports = this.program.moduleImports.get("hypermode"); | ||
if (hypermodeImports) { | ||
hypermodeImports.forEach((v, k) => { | ||
results.push({ name: k, function: v.internalName }); | ||
}); | ||
} | ||
return results; | ||
@@ -114,0 +117,0 @@ } |
30579
814