@fedimint/core-web 0.1.1 → 0.1.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/README.md +27 -0
- package/package.json +1 -1
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.
|