@visualizevalue/mint-app-base 0.1.35 → 0.1.36

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/nuxt.config.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { fileURLToPath } from 'url'
2
2
  import { dirname, join } from 'path'
3
- import { nodePolyfills } from 'vite-plugin-node-polyfills'
3
+ // import { nodePolyfills } from 'vite-plugin-node-polyfills'
4
4
 
5
5
  const currentDir = dirname(fileURLToPath(import.meta.url))
6
6
 
@@ -74,12 +74,12 @@ export default defineNuxtConfig({
74
74
 
75
75
  vite: {
76
76
  plugins: [
77
- nodePolyfills({
78
- globals: {
79
- Buffer: true,
80
- global: true,
81
- }
82
- })
77
+ // nodePolyfills({
78
+ // globals: {
79
+ // Buffer: true,
80
+ // global: true,
81
+ // }
82
+ // })
83
83
  ],
84
84
  },
85
85
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualizevalue/mint-app-base",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "dependencies": {
@@ -13,6 +13,7 @@
13
13
  "@vueuse/core": "^11.1.0",
14
14
  "@wagmi/core": "^2.13.5",
15
15
  "@wagmi/vue": "^0.0.40",
16
+ "buffer": "^6.0.3",
16
17
  "multiformats": "^13.2.2",
17
18
  "postcss-custom-media": "^10.0.6",
18
19
  "postcss-custom-selectors": "^7.1.10",
@@ -1,12 +1,12 @@
1
1
  import { defineNuxtPlugin } from '#app'
2
- // import { Buffer } from 'buffer/'
2
+ import { Buffer } from 'buffer/'
3
3
 
4
4
  // This also uses the server `polyfill` plugin...
5
5
  export default defineNuxtPlugin({
6
6
  name: 'client-polyfill',
7
7
  enforce: 'pre',
8
8
  async setup () {
9
- // window.global = window
10
- // window.Buffer = Buffer
9
+ window.global = window
10
+ window.Buffer = Buffer
11
11
  }
12
12
  })