@gardenfi/core 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,7 +30,7 @@ Following cases only cover vite and webpack setups. For other bundlers, please r
30
30
  Install the vite plugins:
31
31
 
32
32
  ```
33
- npm install vite-plugin-wasm vite-plugin-node-polyfills --save-dev
33
+ npm install vite-plugin-wasm vite-plugin-top-level-await vite-plugin-node-polyfills --save-dev
34
34
  ```
35
35
 
36
36
  and update your `vite.config.ts` as follows:
@@ -39,11 +39,13 @@ and update your `vite.config.ts` as follows:
39
39
  import { defineConfig } from "vite";
40
40
  import wasm from "vite-plugin-wasm";
41
41
  import { nodePolyfills } from "vite-plugin-node-polyfills";
42
+ import topLevelAwait from "vite-plugin-top-level-await";
42
43
 
43
44
  export default defineConfig({
44
45
  plugins: [
45
46
  nodePolyfills(),
46
47
  wasm(),
48
+ topLevelAwait(),
47
49
  //other plugins
48
50
  ],
49
51
  //other settings
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gardenfi/core",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@catalogfi/utils": "^0.1.6",