@yaswap/wallet-core 2.9.1 → 2.10.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
@@ -1,5 +1,17 @@
1
1
  # @yaswap/wallet-core
2
2
 
3
+ ## 2.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Use latest CAL v2.10.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @yaswap/cryptoassets@2.10.0
13
+ - @yaswap/error-parser@2.10.0
14
+
3
15
  ## 2.9.1
4
16
 
5
17
  ### Patch Changes
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaswap/wallet-core",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "Common library for yaswap wallet",
5
5
  "repository": "git@github.com:yaswap/wallet-core.git",
6
6
  "author": "monokh <mnokhb@gmail.com>",
@@ -33,23 +33,23 @@
33
33
  "@uniswap/v2-sdk": "^3.0.1",
34
34
  "@unstoppabledomains/resolution": "8.3.1",
35
35
  "@xchainjs/xchain-util": "^0.6.0",
36
- "@yaswap/bitcoin": "2.9.4",
37
- "@yaswap/bitcoin-ledger": "2.9.4",
38
- "@yaswap/client": "2.9.4",
36
+ "@yaswap/bitcoin": "2.10.0",
37
+ "@yaswap/bitcoin-ledger": "2.10.0",
38
+ "@yaswap/client": "2.10.0",
39
39
  "@yaswap/cryptoassets": "workspace:*",
40
- "@yaswap/dogecoin": "2.9.4",
40
+ "@yaswap/dogecoin": "2.10.0",
41
41
  "@yaswap/error-parser": "workspace:*",
42
- "@yaswap/errors": "2.9.4",
43
- "@yaswap/evm": "2.9.4",
44
- "@yaswap/evm-ledger": "2.9.4",
45
- "@yaswap/hw-ledger": "2.9.4",
46
- "@yaswap/litecoin": "2.9.4",
47
- "@yaswap/near": "2.9.4",
48
- "@yaswap/solana": "2.9.4",
49
- "@yaswap/terra": "2.9.4",
50
- "@yaswap/types": "2.9.4",
51
- "@yaswap/utils": "2.9.4",
52
- "@yaswap/yacoin": "2.9.4",
42
+ "@yaswap/errors": "2.10.0",
43
+ "@yaswap/evm": "2.10.0",
44
+ "@yaswap/evm-ledger": "2.10.0",
45
+ "@yaswap/hw-ledger": "2.10.0",
46
+ "@yaswap/litecoin": "2.10.0",
47
+ "@yaswap/near": "2.10.0",
48
+ "@yaswap/solana": "2.10.0",
49
+ "@yaswap/terra": "2.10.0",
50
+ "@yaswap/types": "2.10.0",
51
+ "@yaswap/utils": "2.10.0",
52
+ "@yaswap/yacoin": "2.10.0",
53
53
  "amplitude-js": "8.18.2",
54
54
  "bignumber.js": "^9.0.2",
55
55
  "detect-circular-deps": "^3.0.0",
@@ -520,7 +520,7 @@ declare function setupWallet(options: WalletOptions): {
520
520
  readonly trackAnalytics: (payload: {
521
521
  event: string;
522
522
  properties: import("./store/actions").AmplitudeProperties;
523
- }) => Promise<undefined> | Promise<number>;
523
+ }) => Promise<number> | Promise<undefined>;
524
524
  readonly changeActiveNetwork: (payload: {
525
525
  network: import("./store/types").Network;
526
526
  }) => Promise<void>;
@@ -519,7 +519,7 @@ declare const store: {
519
519
  readonly trackAnalytics: (payload: {
520
520
  event: string;
521
521
  properties: actions.AmplitudeProperties;
522
- }) => Promise<undefined> | Promise<number>;
522
+ }) => Promise<number> | Promise<undefined>;
523
523
  readonly changeActiveNetwork: (payload: {
524
524
  network: import("./types").Network;
525
525
  }) => Promise<void>;
@@ -2021,7 +2021,7 @@ declare const store: {
2021
2021
  readonly trackAnalytics: (payload: {
2022
2022
  event: string;
2023
2023
  properties: actions.AmplitudeProperties;
2024
- }) => Promise<undefined> | Promise<number>;
2024
+ }) => Promise<number> | Promise<undefined>;
2025
2025
  readonly changeActiveNetwork: (payload: {
2026
2026
  network: import("./types").Network;
2027
2027
  }) => Promise<void>;
@@ -2596,7 +2596,7 @@ declare const store: {
2596
2596
  readonly trackAnalytics: (payload: {
2597
2597
  event: string;
2598
2598
  properties: actions.AmplitudeProperties;
2599
- }) => Promise<undefined> | Promise<number>;
2599
+ }) => Promise<number> | Promise<undefined>;
2600
2600
  readonly changeActiveNetwork: (payload: {
2601
2601
  network: import("./types").Network;
2602
2602
  }) => Promise<void>;
@@ -3347,7 +3347,7 @@ declare const store: {
3347
3347
  readonly trackAnalytics: (payload: {
3348
3348
  event: string;
3349
3349
  properties: actions.AmplitudeProperties;
3350
- }) => Promise<undefined> | Promise<number>;
3350
+ }) => Promise<number> | Promise<undefined>;
3351
3351
  readonly changeActiveNetwork: (payload: {
3352
3352
  network: import("./types").Network;
3353
3353
  }) => Promise<void>;
@@ -25,7 +25,7 @@ export declare function getPrices(baseCurrencies: string[], toCurrency: string):
25
25
  [x: string]: any;
26
26
  }>;
27
27
  export declare function getCurrenciesInfo(baseCurrencies: string[]): Promise<CurrenciesInfo>;
28
- export declare function getPriority(chain: string): 0 | 1 | 2 | 3 | 4 | 5;
28
+ export declare function getPriority(chain: string): 0 | 1 | 4 | 2 | 3 | 5;
29
29
  export declare const orderChains: (firstChain: {
30
30
  totalFiatBalance: BN;
31
31
  nativeAssetMarketCap: BN;