edge-core-js 0.21.3 → 0.21.5

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 (40) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/android/src/main/assets/edge-core-js/edge-core.js +1 -1
  3. package/android/src/main/assets/edge-core-js/edge-core.js.map +1 -1
  4. package/lib/core/account/account-api.js +17 -7
  5. package/lib/core/account/account-cleaners.js +3 -5
  6. package/lib/core/account/account-init.js +5 -5
  7. package/lib/core/account/account-reducer.js +23 -9
  8. package/lib/core/context/context-api.js +44 -12
  9. package/lib/core/currency/wallet/currency-wallet-api.js +39 -62
  10. package/lib/core/currency/wallet/currency-wallet-cleaners.js +3 -4
  11. package/lib/core/fake/fake-server.js +2 -2
  12. package/lib/core/fake/fake-world.js +1 -3
  13. package/lib/core/login/create.js +49 -60
  14. package/lib/core/login/edge.js +1 -1
  15. package/lib/core/login/login-messages.js +6 -7
  16. package/lib/core/login/login-reducer.js +16 -30
  17. package/lib/core/login/login-secret.js +34 -0
  18. package/lib/core/login/login-selectors.js +18 -18
  19. package/lib/core/login/login-stash.js +6 -5
  20. package/lib/core/login/login-types.js +2 -0
  21. package/lib/core/login/login-username.js +95 -3
  22. package/lib/core/login/login.js +14 -16
  23. package/lib/core/login/password.js +15 -12
  24. package/lib/core/login/pin2.js +49 -20
  25. package/lib/core/login/recovery2.js +44 -15
  26. package/lib/flow/fake-types.js +3 -2
  27. package/lib/flow/server-cleaners.js +12 -0
  28. package/lib/flow/server-types.js +14 -0
  29. package/lib/flow/types.js +50 -11
  30. package/lib/node/index.js +758 -567
  31. package/lib/types/fake-types.js +2 -1
  32. package/lib/types/server-cleaners.js +12 -0
  33. package/lib/types/server-types.js +14 -0
  34. package/lib/types/types.js +39 -0
  35. package/package.json +1 -1
  36. package/src/types/fake-types.ts +3 -2
  37. package/src/types/server-cleaners.ts +12 -0
  38. package/src/types/server-types.ts +14 -0
  39. package/src/types/types.ts +50 -11
  40. package/types.js +6 -0
package/CHANGELOG.md CHANGED
@@ -1,9 +1,25 @@
1
1
  # edge-core-js
2
2
 
3
+ ## v0.21.5 (2023-05-24)
4
+
5
+ - deprecated: `EdgeContext.pinLoginEnabled`. Use `EdgeContext.localUsers` instead.
6
+ - fixed: Correctly handle `startEntries` in `getTransactions`, by always returning the requested number of transactions.
7
+
8
+ ## v0.21.4 (2023-05-24)
9
+
10
+ - added: `EdgeAccount.changeUsername`.
11
+ - added: `EdgeAccount.getLoginKey`.
12
+ - deprecated: `EdgeAccount.loginKey`. Use `EdgeAccount.getLoginKey` instead.
13
+ - deprecated: `EdgeContext.listUsernames`. Use `EdgeContext.localUsers` instead.
14
+
3
15
  ## v0.21.3 (2023-05-09)
4
16
 
5
17
  - fixed: Return transactions from getTransactions, even if they have no on-disk metadata
6
- - Remove deprecated methods in unit tests
18
+ - changed: Remove deprecated methods in unit tests
19
+
20
+ ## v0.21.1-1 (2023-05-09)
21
+
22
+ - fixed: Return transactions from getTransactions, even if they have no on-disk metadata
7
23
 
8
24
  ## v0.21.2 (2023-05-02)
9
25