@wagmi/vue 0.5.0 → 0.5.2
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/dist/esm/nuxt/module.js +7 -1
- package/dist/esm/nuxt/module.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/nuxt/module.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +3 -3
- package/src/nuxt/module.ts +13 -1
- package/src/version.ts +1 -1
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '0.5.
|
|
1
|
+
export const version = '0.5.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/nuxt/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/nuxt/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAS9C,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAA;AAEnC,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,kBAAkB,CA+DnD,CAAA"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "0.5.
|
|
1
|
+
export declare const version = "0.5.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wagmi/vue",
|
|
3
3
|
"description": "Vue Composables for Ethereum",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@wagmi/connectors": "
|
|
91
|
-
"@wagmi/core": "3.4.
|
|
90
|
+
"@wagmi/connectors": "8.0.1",
|
|
91
|
+
"@wagmi/core": "3.4.2"
|
|
92
92
|
},
|
|
93
93
|
"contributors": [
|
|
94
94
|
"awkweb.eth <t@wevm.dev>",
|
package/src/nuxt/module.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
addImports,
|
|
4
|
+
createResolver,
|
|
5
|
+
defineNuxtModule,
|
|
6
|
+
extendViteConfig,
|
|
7
|
+
} from 'nuxt/kit'
|
|
3
8
|
|
|
4
9
|
// biome-ignore lint/complexity/noBannedTypes: allowed
|
|
5
10
|
export type WagmiModuleOptions = {}
|
|
@@ -21,6 +26,13 @@ export const wagmiModule: NuxtModule<WagmiModuleOptions> =
|
|
|
21
26
|
references.push({ types: '@wagmi/vue/nuxt' })
|
|
22
27
|
})
|
|
23
28
|
|
|
29
|
+
// Ensure CJS dependencies are pre-bundled for ESM compatibility
|
|
30
|
+
extendViteConfig((config) => {
|
|
31
|
+
config.optimizeDeps ??= {}
|
|
32
|
+
config.optimizeDeps.include ??= []
|
|
33
|
+
config.optimizeDeps.include.push('eventemitter3')
|
|
34
|
+
})
|
|
35
|
+
|
|
24
36
|
// Add auto imports
|
|
25
37
|
const composables = resolve('./runtime/composables')
|
|
26
38
|
const names = [
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.5.
|
|
1
|
+
export const version = '0.5.2'
|