edge-core-js 0.19.39 → 0.19.41
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 +9 -0
- package/android/src/main/assets/edge-core-js/edge-core.js +1 -1
- package/lib/browser.js +5 -7
- package/lib/client-side.js +0 -2
- package/lib/core/account/account-api.js +29 -36
- package/lib/core/account/account-cleaners.js +4 -6
- package/lib/core/account/account-files.js +5 -11
- package/lib/core/account/account-init.js +18 -23
- package/lib/core/account/account-pixie.js +16 -21
- package/lib/core/account/account-reducer.js +27 -54
- package/lib/core/account/account-types.js +0 -2
- package/lib/core/account/custom-tokens.js +9 -8
- package/lib/core/account/data-store-api.js +2 -4
- package/lib/core/account/lobby-api.js +5 -11
- package/lib/core/account/plugin-api.js +7 -12
- package/lib/core/context/context-api.js +26 -28
- package/lib/core/context/context-pixie.js +2 -8
- package/lib/core/context/internal-api.js +9 -14
- package/lib/core/core.js +4 -6
- package/lib/core/currency/currency-pixie.js +2 -4
- package/lib/core/currency/currency-reducer.js +3 -9
- package/lib/core/currency/currency-selectors.js +14 -16
- package/lib/core/currency/wallet/currency-wallet-api.js +20 -22
- package/lib/core/currency/wallet/currency-wallet-callbacks.js +31 -32
- package/lib/core/currency/wallet/currency-wallet-cleaners.js +4 -10
- package/lib/core/currency/wallet/currency-wallet-export.js +2 -4
- package/lib/core/currency/wallet/currency-wallet-files.js +14 -16
- package/lib/core/currency/wallet/currency-wallet-pixie.js +18 -20
- package/lib/core/currency/wallet/currency-wallet-reducer.js +30 -51
- package/lib/core/currency/wallet/enabled-tokens.js +0 -5
- package/lib/core/exchange/exchange-api.js +1 -6
- package/lib/core/exchange/exchange-pixie.js +2 -4
- package/lib/core/exchange/exchange-reducer.js +1 -6
- package/lib/core/exchange/exchange-selectors.js +2 -1
- package/lib/core/fake/fake-db.js +4 -4
- package/lib/core/fake/fake-io.js +1 -3
- package/lib/core/fake/fake-responses.js +6 -4
- package/lib/core/fake/fake-server.js +15 -18
- package/lib/core/fake/fake-world.js +16 -16
- package/lib/core/log/log.js +1 -3
- package/lib/core/login/create.js +14 -16
- package/lib/core/login/edge.js +11 -9
- package/lib/core/login/keys.js +7 -9
- package/lib/core/login/lobby.js +8 -16
- package/lib/core/login/login-delete.js +3 -5
- package/lib/core/login/login-fetch.js +3 -5
- package/lib/core/login/login-messages.js +2 -4
- package/lib/core/login/login-reducer.js +5 -9
- package/lib/core/login/login-selectors.js +4 -6
- package/lib/core/login/login-stash.js +4 -6
- package/lib/core/login/login-types.js +3 -1
- package/lib/core/login/login-username.js +2 -4
- package/lib/core/login/login.js +35 -37
- package/lib/core/login/otp.js +5 -7
- package/lib/core/login/password.js +21 -16
- package/lib/core/login/pin2.js +11 -13
- package/lib/core/login/recovery2.js +19 -14
- package/lib/core/login/vouchers.js +6 -8
- package/lib/core/plugins/plugins-actions.js +1 -3
- package/lib/core/plugins/plugins-reducer.js +3 -8
- package/lib/core/plugins/plugins-selectors.js +0 -2
- package/lib/core/root-pixie.js +6 -11
- package/lib/core/root-reducer.js +8 -16
- package/lib/core/root.js +9 -15
- package/lib/core/scrypt/scrypt-pixie.js +3 -10
- package/lib/core/scrypt/scrypt-selectors.js +1 -3
- package/lib/core/storage/encrypt-disklet.js +3 -5
- package/lib/core/storage/repo.js +3 -8
- package/lib/core/storage/storage-actions.js +2 -4
- package/lib/core/storage/storage-api.js +2 -4
- package/lib/core/storage/storage-reducer.js +2 -5
- package/lib/core/storage/storage-selectors.js +3 -5
- package/lib/core/swap/swap-api.js +11 -13
- package/lib/flow/error.js +421 -0
- package/{src/types → lib/flow}/exports.js +38 -35
- package/{src/types → lib/flow}/fake-types.js +71 -71
- package/{src/types → lib/flow}/server-cleaners.js +97 -100
- package/{src/types → lib/flow}/server-types.js +114 -117
- package/{src/types → lib/flow}/type-helpers.js +12 -12
- package/lib/flow/types.js +1504 -0
- package/lib/globals.d.js +59 -0
- package/lib/index.js +6 -8
- package/lib/io/browser/browser-io.js +1 -7
- package/lib/io/hidden-properties.js +0 -2
- package/lib/io/node/node-io.js +1 -3
- package/lib/io/react-native/native-bridge.js +0 -2
- package/lib/io/react-native/polyfills.js +3 -4
- package/lib/io/react-native/react-native-types.js +0 -2
- package/lib/io/react-native/react-native-webview.js +4 -10
- package/lib/io/react-native/react-native-worker.js +4 -10
- package/lib/io/react-native/yaob-callbacks.js +3 -7
- package/lib/libs.d.js +52 -0
- package/lib/node/index.js +1136 -1801
- package/lib/node/index.js.flow +1 -1
- package/lib/react-native.js +12 -19
- package/lib/types/error.js +68 -69
- package/lib/types/exports.js +1 -2
- package/lib/types/fake-types.js +1 -3
- package/lib/types/server-cleaners.js +1 -6
- package/lib/types/server-types.js +0 -5
- package/lib/types/type-helpers.js +0 -2
- package/lib/types/types.js +40 -3
- package/lib/util/compare.js +0 -2
- package/lib/util/crypto/crypto.js +3 -5
- package/lib/util/crypto/ethereum.js +0 -2
- package/lib/util/crypto/hashes.js +3 -2
- package/lib/util/crypto/hotp.js +1 -3
- package/lib/util/crypto/scrypt.js +0 -2
- package/lib/util/crypto/verify.js +0 -2
- package/lib/util/encoding.js +0 -2
- package/lib/util/file-helpers.js +0 -2
- package/lib/util/periodic-task.js +0 -4
- package/lib/util/promise.js +0 -4
- package/lib/util/snooze.js +0 -2
- package/lib/util/updateQueue.js +0 -4
- package/lib/util/util.js +2 -3
- package/package.json +18 -11
- package/{lib → src}/types/error.ts +4 -3
- package/{lib → src}/types/exports.ts +5 -5
- package/{lib → src}/types/fake-types.ts +4 -4
- package/{lib → src}/types/server-cleaners.ts +5 -5
- package/{lib → src}/types/server-types.ts +2 -2
- package/{lib → src}/types/type-helpers.ts +1 -1
- package/{lib → src}/types/types.ts +9 -13
- package/types.d.ts +1 -1
- package/types.js +36 -99
- package/types.js.flow +1 -1
- package/lib/error.d.ts +0 -180
- package/lib/exports.d.ts +0 -61
- package/lib/fake-types.d.ts +0 -78
- package/lib/server-cleaners.d.ts +0 -44
- package/lib/server-types.d.ts +0 -202
- package/lib/type-helpers.d.ts +0 -14
- package/lib/types.d.ts +0 -925
- package/src/types/error.js +0 -420
- package/src/types/types.js +0 -1461
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# edge-core-js
|
|
2
2
|
|
|
3
|
+
## v0.19.41 (2023-01-26)
|
|
4
|
+
|
|
5
|
+
- changed: Convert source code to TypeScript internally. No changes should be visible externally, aside from some file locations.
|
|
6
|
+
|
|
7
|
+
## v0.19.40 (2023-01-24)
|
|
8
|
+
|
|
9
|
+
- added: New 'syncing' to confirmations API
|
|
10
|
+
- fixed: Bug in `validateConfirmations` function incorrectly inferring a transaction as 'dropped'
|
|
11
|
+
|
|
3
12
|
## v0.19.39 (2023-01-17)
|
|
4
13
|
|
|
5
14
|
- fixed: Re-publish with missing files.
|