edge-core-js 0.19.30 → 0.19.32
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 +18 -0
- package/android/src/main/assets/edge-core-js/edge-core.js +1 -1
- package/android/src/main/assets/edge-core-js/edge-core.js.map +1 -1
- package/lib/core/currency/wallet/currency-wallet-api.js +18 -5
- package/lib/core/currency/wallet/currency-wallet-export.js +7 -2
- package/lib/core/root.js +11 -1
- package/lib/core/swap/swap-api.js +24 -0
- package/lib/error.d.ts +4 -2
- package/lib/node/index.js +133 -54
- package/lib/react-native.js +1 -1
- 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 +10 -0
- package/lib/types/types.ts +14 -4
- package/lib/types.d.ts +8 -3
- package/package.json +2 -2
- 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 +16 -6
- package/types.js +81 -42
- package/android/src/main/assets/edge-core-js/index.html +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# edge-core-js
|
|
2
2
|
|
|
3
|
+
## v0.19.32 (2022-11-14)
|
|
4
|
+
|
|
5
|
+
- added: `EdgeTransaction.walletId`.
|
|
6
|
+
- added: Add the swap request to the quote object as `EdgeSwapQuote.request`.
|
|
7
|
+
- changed: Change login server to login.edge.app, and filter which domains we allow.
|
|
8
|
+
- deprecated: `EdgeTransaction.wallet`. Use `EdgeTransaction.walletId` instead.
|
|
9
|
+
|
|
10
|
+
## v0.19.31 (2022-11-02)
|
|
11
|
+
|
|
12
|
+
- added: Specifying token spends by their ID, instead of their imprecise currency code:
|
|
13
|
+
- `EdgeSpendInfo.tokenId`
|
|
14
|
+
- `EdgeSwapRequest.fromTokenId`
|
|
15
|
+
- `EdgeSwapRequest.toTokenId`
|
|
16
|
+
- deprecated: Spending tokens by their currency code.
|
|
17
|
+
- `EdgeSpendInfo.currencyCode`
|
|
18
|
+
- `EdgeSwapRequest.fromCurrencyCode`
|
|
19
|
+
- `EdgeSwapRequest.toCurrencyCode`
|
|
20
|
+
|
|
3
21
|
## v0.19.30 (2022-09-22)
|
|
4
22
|
|
|
5
23
|
- fixed: Correctly pass `EdgeSpendInfo.pendingTxs` to the currency plugin.
|