@ecency/wallets 1.4.28 → 1.4.30
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/dist/browser/index.js +12 -3
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +12 -3
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +12 -3
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/node/index.mjs
CHANGED
|
@@ -2655,29 +2655,37 @@ var ACTION_ALIAS_MAP = {
|
|
|
2655
2655
|
"withdraw-from-savings": "withdraw-saving" /* WithdrawFromSavings */,
|
|
2656
2656
|
"withdraw-savings": "withdraw-saving" /* WithdrawFromSavings */,
|
|
2657
2657
|
"savings-withdraw": "withdraw-saving" /* WithdrawFromSavings */,
|
|
2658
|
+
"transfer-from-savings": "withdraw-saving" /* WithdrawFromSavings */,
|
|
2658
2659
|
"powerup": "power-up" /* PowerUp */,
|
|
2659
2660
|
"power-down": "power-down" /* PowerDown */,
|
|
2660
2661
|
"powerdown": "power-down" /* PowerDown */,
|
|
2662
|
+
"withdraw-vesting": "power-down" /* PowerDown */,
|
|
2661
2663
|
"hp-delegate": "delegate" /* Delegate */,
|
|
2662
2664
|
"delegate-hp": "delegate" /* Delegate */,
|
|
2663
2665
|
"delegate-power": "delegate" /* Delegate */,
|
|
2666
|
+
"delegate-vesting-shares": "delegate" /* Delegate */,
|
|
2664
2667
|
"undelegate-power": "undelegate" /* Undelegate */,
|
|
2665
2668
|
"undelegate-token": "undelegate" /* Undelegate */,
|
|
2666
2669
|
"stake-token": "stake" /* Stake */,
|
|
2667
2670
|
"stake-power": "stake" /* Stake */,
|
|
2668
2671
|
"unstake-token": "unstake" /* Unstake */,
|
|
2669
2672
|
"unstake-power": "unstake" /* Unstake */,
|
|
2673
|
+
"transfer-to-vesting": "power-up" /* PowerUp */,
|
|
2670
2674
|
"lock-liquidity": "lock" /* LockLiquidity */,
|
|
2671
2675
|
"lock-liq": "lock" /* LockLiquidity */,
|
|
2672
2676
|
"gift-points": "gift" /* Gift */,
|
|
2673
2677
|
"points-gift": "gift" /* Gift */,
|
|
2674
2678
|
"promote-post": "promote" /* Promote */,
|
|
2675
2679
|
"promote-entry": "promote" /* Promote */,
|
|
2680
|
+
boost: "promote" /* Promote */,
|
|
2681
|
+
convert: "swap" /* Swap */,
|
|
2682
|
+
"swap-token": "swap" /* Swap */,
|
|
2683
|
+
"swap_tokens": "swap" /* Swap */,
|
|
2676
2684
|
"claim-points": "claim" /* Claim */,
|
|
2677
2685
|
"claim-rewards": "claim" /* Claim */,
|
|
2678
2686
|
"buy-points": "buy" /* Buy */,
|
|
2679
|
-
"
|
|
2680
|
-
"
|
|
2687
|
+
"ecency-point-transfer": "transfer" /* Transfer */,
|
|
2688
|
+
"spkcc-spk-send": "transfer" /* Transfer */,
|
|
2681
2689
|
"withdraw-routes": "withdraw-routes" /* WithdrawRoutes */,
|
|
2682
2690
|
"withdrawroutes": "withdraw-routes" /* WithdrawRoutes */,
|
|
2683
2691
|
"claim-interest": "claim-interest" /* ClaimInterest */
|
|
@@ -2865,7 +2873,7 @@ function mapActions(rawActions) {
|
|
|
2865
2873
|
candidate = raw;
|
|
2866
2874
|
} else if (raw && typeof raw === "object") {
|
|
2867
2875
|
const record = raw;
|
|
2868
|
-
candidate = normalizeString(record.code) ?? normalizeString(record.name) ?? normalizeString(record.action);
|
|
2876
|
+
candidate = normalizeString(record.code) ?? normalizeString(record.id) ?? normalizeString(record.name) ?? normalizeString(record.action);
|
|
2869
2877
|
}
|
|
2870
2878
|
if (!candidate) {
|
|
2871
2879
|
continue;
|
|
@@ -3932,6 +3940,7 @@ var operationToFunctionMap = {
|
|
|
3932
3940
|
["withdraw-routes" /* WithdrawRoutes */]: withdrawVestingRouteHive
|
|
3933
3941
|
},
|
|
3934
3942
|
POINTS: {
|
|
3943
|
+
["transfer" /* Transfer */]: transferPoint,
|
|
3935
3944
|
["gift" /* Gift */]: transferPoint
|
|
3936
3945
|
},
|
|
3937
3946
|
SPK: {
|