@dimcool/wallet 0.1.24 → 0.1.27

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 +5 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -97,6 +97,11 @@ const signer = wallet.getSigner();
97
97
  // signer: { address, signMessage, signTransaction }
98
98
  ```
99
99
 
100
+ The wallet package uses the **signTransaction** mode — it signs the transaction locally
101
+ and returns the signed bytes; the server submits the transaction to the network.
102
+ This is distinct from the **signAndSendTransaction** mode used by browser-embedded
103
+ wallets (e.g. Phantom Google/Apple login) where the client both signs and sends.
104
+
100
105
  ## Notes
101
106
 
102
107
  - `recipient` in `wallet.send(...)` can be a DIM username, Solana address, or `.sol` domain.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimcool/wallet",
3
- "version": "0.1.24",
3
+ "version": "0.1.27",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "dev": "tsc --watch"
30
30
  },
31
31
  "dependencies": {
32
- "@dimcool/sdk": "^0.1.22",
32
+ "@dimcool/sdk": "^0.1.26",
33
33
  "@solana/web3.js": "^1.95.4",
34
34
  "bip39": "^3.1.0",
35
35
  "bs58": "^6.0.0",