react-native-monero 0.3.0 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.4.0 (2026-07-06)
6
+
7
+ - added: `getWalletStatus` reports a `refreshed` flag, true once the wallet has completed its first server refresh (and so knows its real balance and spendable outputs). LWS wallets report seed heights that look synced before then, so treat a wallet as synced only when `refreshed` is true.
8
+ - fixed: LWS wallets can spend and receive over the Nym mixnet. The lwsf RPC timeout of 5 seconds was too short for a mixnet round-trip, so single-shot spend and receive calls failed; the Nym path now uses a 120-second budget.
9
+
5
10
  ## 0.3.0 (2026-07-03)
6
11
 
7
12
  - added: `getPendingTransactions`, a paged view of the not-yet-mined transactions. `getAllTransactions` sorts pending entries behind all confirmed ones, so a cursor-based scan of confirmed history never reaches them; this exposes the pending set directly.
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libmonero-module.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libmonero-module.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>x86_64</string>
17
18
  </array>
18
19
  <key>SupportedPlatform</key>
19
20
  <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
20
23
  </dict>
21
24
  <dict>
22
25
  <key>BinaryPath</key>
23
26
  <string>libmonero-module.a</string>
24
27
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-simulator</string>
28
+ <string>ios-arm64</string>
26
29
  <key>LibraryPath</key>
27
30
  <string>libmonero-module.a</string>
28
31
  <key>SupportedArchitectures</key>
29
32
  <array>
30
33
  <string>arm64</string>
31
- <string>x86_64</string>
32
34
  </array>
33
35
  <key>SupportedPlatform</key>
34
36
  <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -20,6 +20,14 @@ export interface WalletStatus {
20
20
  networkHeight: number;
21
21
  balance: string;
22
22
  unlockedBalance: string;
23
+ /**
24
+ * True once at least one server refresh has completed for this wallet. LWS
25
+ * wallets seed syncedHeight == networkHeight from the stored scan height
26
+ * until their first refresh, so heights alone cannot tell "caught up" from
27
+ * "has not looked yet"; treat the wallet as synced/spendable only when this
28
+ * is true.
29
+ */
30
+ refreshed: boolean;
23
31
  }
24
32
  /** Transaction direction. */
25
33
  export type TransactionDirection = 0 | 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-monero",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "React Native bindings for the monero-lwsf library",
5
5
  "homepage": "https://github.com/EdgeApp/react-native-monero",
6
6
  "repository": {