@jaw.id/wagmi 0.0.2 → 0.0.3

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/cjs-error.cjs +4 -0
  2. package/package.json +4 -2
package/cjs-error.cjs ADDED
@@ -0,0 +1,4 @@
1
+ throw new Error(
2
+ '@jaw.id/wagmi is ESM-only because it depends on wagmi (ESM-only). ' +
3
+ 'Use ESM imports or dynamic import("@jaw.id/wagmi").'
4
+ );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jaw.id/wagmi",
3
3
  "description": "Wagmi connector and React hooks for JAW.id.",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -12,6 +12,7 @@
12
12
  "@jaw-mono/source": "./src/index.ts",
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": "./dist/index.js",
15
+ "require": "./cjs-error.cjs",
15
16
  "default": "./dist/index.js"
16
17
  }
17
18
  },
@@ -25,10 +26,11 @@
25
26
  },
26
27
  "files": [
27
28
  "dist",
29
+ "cjs-error.cjs",
28
30
  "!**/*.tsbuildinfo"
29
31
  ],
30
32
  "dependencies": {
31
- "@jaw.id/core": "0.0.1",
33
+ "@jaw.id/core": "0.0.2",
32
34
  "@wagmi/core": "^3.0.0",
33
35
  "tslib": "^2.3.0",
34
36
  "viem": "^2.38.2"