@gardenfi/core 0.1.6 → 0.1.8
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 +3 -1
- package/package.json +2 -2
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,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@catalogfi/utils": "^0.1.6",
|
|
7
7
|
"@catalogfi/wallets": "^0.2.43",
|
|
8
|
-
"@gardenfi/orderbook": "^0.1.
|
|
8
|
+
"@gardenfi/orderbook": "^0.1.6",
|
|
9
9
|
"ethers": "6.8.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|