edge-core-js 0.19.29 → 0.19.31
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 +15 -0
- package/android/src/main/assets/edge-core-js/edge-core.js +1 -1
- package/lib/core/currency/wallet/currency-wallet-api.js +16 -4
- package/lib/core/swap/swap-api.js +22 -0
- package/lib/error.d.ts +4 -2
- package/lib/node/index.js +118 -49
- package/lib/server-types.d.ts +1 -1
- package/lib/type-helpers.d.ts +14 -0
- package/lib/types/error.js +67 -41
- package/lib/types/error.ts +68 -42
- package/lib/types/server-cleaners.js +1 -1
- package/lib/types/server-cleaners.ts +1 -1
- package/lib/types/server-types.js +9 -0
- package/lib/types/server-types.ts +10 -1
- package/lib/types/type-helpers.js +33 -0
- package/lib/types/type-helpers.ts +31 -0
- package/lib/types/types.js +5 -0
- package/lib/types/types.ts +8 -3
- package/lib/types.d.ts +5 -2
- package/package.json +1 -1
- package/src/types/error.js +68 -42
- package/src/types/server-cleaners.js +1 -1
- package/src/types/server-types.js +10 -1
- package/src/types/type-helpers.js +33 -0
- package/src/types/types.js +9 -4
- package/types.js +81 -42
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# edge-core-js
|
|
2
2
|
|
|
3
|
+
## v0.19.31 (2022-11-02)
|
|
4
|
+
|
|
5
|
+
- added: Specifying token spends by their ID, instead of their imprecise currency code:
|
|
6
|
+
- `EdgeSpendInfo.tokenId`
|
|
7
|
+
- `EdgeSwapRequest.fromTokenId`
|
|
8
|
+
- `EdgeSwapRequest.toTokenId`
|
|
9
|
+
- deprecated: Spending tokens by their currency code.
|
|
10
|
+
- `EdgeSpendInfo.currencyCode`
|
|
11
|
+
- `EdgeSwapRequest.fromCurrencyCode`
|
|
12
|
+
- `EdgeSwapRequest.toCurrencyCode`
|
|
13
|
+
|
|
14
|
+
## v0.19.30 (2022-09-22)
|
|
15
|
+
|
|
16
|
+
- fixed: Correctly pass `EdgeSpendInfo.pendingTxs` to the currency plugin.
|
|
17
|
+
|
|
3
18
|
## v0.19.29 (2022-09-13)
|
|
4
19
|
|
|
5
20
|
- added: Include the `loginId` in `EdgeContext.localUsers`.
|