@fedimint/core-web 0.1.1 → 0.1.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/README.md +27 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @fedimint/core-web (deprecated)
2
+
3
+ > **Deprecated** – this package is now a thin compatibility shim that re-exports everything from [`@fedimint/core`](https://www.npmjs.com/package/@fedimint/core).
4
+
5
+ We renamed the package to better reflect that the codebase supports multiple JavaScript runtimes, not only browsers. All new development happens under `@fedimint/core`.
6
+
7
+ ## Migration
8
+
9
+ Update your dependencies to point at the new package:
10
+
11
+ ```bash
12
+ pnpm add @fedimint/core
13
+ # or npm install @fedimint/core, yarn add @fedimint/core, etc.
14
+ ```
15
+
16
+ After updating, change your imports accordingly:
17
+
18
+ ```ts
19
+ - import { xyz } from '@fedimint/core-web'
20
+ + import { xyz } from '@fedimint/core'
21
+ ```
22
+
23
+ ## Temporary shim
24
+
25
+ This package re-exports `@fedimint/core` and logs a one-time warning at runtime. It keeps existing projects running while you migrate, but it will be removed in a future release.
26
+
27
+ If you rely on it, please schedule the migration soon.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedimint/core-web",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Shim package that re-exports @fedimint/core. Use that instead.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -15,6 +15,6 @@
15
15
  "index.js"
16
16
  ],
17
17
  "dependencies": {
18
- "@fedimint/core": "0.1.1"
18
+ "@fedimint/core": "0.1.3"
19
19
  }
20
20
  }