@valve-tech/wallet-adapter 0.4.0 → 0.4.1

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/CHANGELOG.md +24 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -6,8 +6,32 @@ this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/).
8
8
 
9
+ ## [0.4.1] — 2026-05-04
10
+
11
+ ### Fixed
12
+
13
+ - **`workspace:^` leak in the published `0.4.0` manifest.** The
14
+ `0.4.0` tarball shipped with `dependencies: { "@valve-tech/viem-errors":
15
+ "workspace:^" }` literally inside its `package.json` —
16
+ `workspace:` is a yarn-only protocol that npm cannot resolve, so
17
+ `npm install @valve-tech/wallet-adapter@0.4.0` fails for any consumer
18
+ without a manual resolution override. Root cause: the release
19
+ workflow used `npm publish` directly, which leaves the manifest
20
+ unmodified. Fixed by switching the publish step to `yarn pack`
21
+ (which rewrites `workspace:^` to the real semver range, e.g.
22
+ `^0.4.1`) followed by `npm publish <tarball>` (which preserves
23
+ `--provenance`).
24
+ - Consumers on `0.4.0` should bump to `0.4.1` and remove any
25
+ `resolutions` / `overrides` entry forcing
26
+ `@valve-tech/wallet-adapter`'s `@valve-tech/viem-errors` dep to a
27
+ real range.
28
+
9
29
  ## [0.4.0] — 2026-05-04
10
30
 
31
+ > **`0.4.0` is broken — use `0.4.1` or later.** See the `0.4.1`
32
+ > entry above for the workspace-protocol leak. `0.4.0` will be
33
+ > deprecated on npm.
34
+
11
35
  ### Added
12
36
 
13
37
  - Initial implementation. Vocabulary lifted from a real-world dapp
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valve-tech/wallet-adapter",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Framework-agnostic vocabulary + runtime helpers for EVM dapp wallet integration. WalletAdapter interface (sign + send), WriteHookParams full lifecycle (onAwaitingSignature, onTransactionHash, onConfirmed, onFailed, onDropped, onReplaced) plus complementary onPhase(event) discriminated-union shape, sendTransactionWithHooks + awaitReceiptWithHooks helpers that fire the hooks at real boundaries, typed WalletRejectedError + ContractRevertedError for instanceof-discriminated catch, plus TX_STATUS / TX_FLOW / TrackedTx for tx-state UI. Lets SDKs and dapps share one contract instead of each redefining it. Part of the valve-tech/evm-toolkit synchronized release line.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/valve-tech/evm-toolkit/tree/main/packages/wallet-adapter#readme",
@@ -46,9 +46,9 @@
46
46
  "prepare": "yarn build"
47
47
  },
48
48
  "dependencies": {
49
- "@valve-tech/viem-errors": "workspace:^"
49
+ "@valve-tech/viem-errors": "^0.4.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "viem": "^2.0.0"
53
53
  }
54
- }
54
+ }