eyereasoner 1.14.0 → 1.14.1

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/README.md CHANGED
@@ -131,13 +131,13 @@ isomorphic across browser and node without requiring any bundlers. Some users ma
131
131
  over their SWIPL module; for instance in order to load the `.wasm` file separately for performance. In these cases
132
132
  see the `SWIPL` modules exported by [npm swipl wasm](https://github.com/rla/npm-swipl-wasm/).
133
133
 
134
- An example usage of the node-specific swipl-wasm build is as follows;
134
+ An example usage of the node-specific swipl-wasm build is as follows:
135
135
  ```ts
136
136
  import { loadEyeImage, queryOnce } from 'eyereasoner';
137
137
  import SWIPL from 'swipl-wasm/dist/swipl-node';
138
138
 
139
139
  async function main() {
140
- const SwiplEye = loadEyeImage();
140
+ const SwiplEye = loadEyeImage(SWIPL);
141
141
 
142
142
  // Instantiate a new SWIPL module and log any results it produces to the console
143
143
  const Module = await SwiplEye({ print: (str: string) => { console.log(str) }, arguments: ['-q'] });