From 4f0cc29762c15eca15e06f138252dc4290cdf0c9 Mon Sep 17 00:00:00 2001 From: Igor Lins e Silva Date: Sun, 17 Jun 2018 21:54:52 -0300 Subject: [PATCH] v0.5.2 fix for multi account action history --- package.json | 56 ++-- src/app/app-routing.module.ts | 66 ++--- src/app/dashboard/vote/vote.component.html | 16 +- src/app/dashboard/vote/vote.component.ts | 28 +- src/app/dashboard/wallet/wallet.component.ts | 262 ++++++++++--------- src/app/eosjs.service.ts | 4 +- src/app/network.service.ts | 9 +- yarn.lock | 209 +++++---------- 8 files changed, 305 insertions(+), 345 deletions(-) diff --git a/package.json b/package.json index 3bb50161..4ff3af22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "simpleos", - "version": "0.5.1", + "version": "0.5.2", "productName": "simpleos", "description": "EOS Blockchain Interface & Wallet", "author": { @@ -82,9 +82,9 @@ }, "devDependencies": { "@angular-devkit/build-angular": "^0.6.8", - "@angular/cli": "^6.0.8", - "@angular/compiler": "^6.0.4", - "@angular/compiler-cli": "^6.0.4", + "@angular/cli":"^6.0.8", + "@angular/compiler": "^6.0.5", + "@angular/compiler-cli": "^6.0.5", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", "@types/node": "10.1.2", @@ -94,20 +94,20 @@ "babel-plugin-transform-async-to-generator": "^6.24.1", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", - "bootstrap": "^4.1.1", + "bootstrap":"^4.1.1", "codelyzer": "~4.2.1", "core-js": "^2.5.4", - "electron": "2.0.2", - "electron-builder": "^20.15.1", - "electron-reload": "^1.2.2", - "eosjs": "^14.0.0", + "electron":"^2.0.2", + "electron-builder":"20.14.7", + "electron-reload":"^1.2.2", + "eosjs":"^15.0.0", "hammerjs": "^2.0.8", "jquery": "^3.3.1", "moment": "^2.22.2", - "ng-lottie": "^0.3.1", + "ng-lottie":"^0.3.1", "npm-run-all": "^4.1.3", "popper.js": "^1.14.3", - "primeng": "^5.2.6", + "primeng":"^6.0.0-rc.1", "protractor": "~5.3.0", "rxjs": "^6.2.0", "rxjs-compat": "^6.2.0", @@ -119,20 +119,20 @@ "zone.js": "^0.8.26" }, "dependencies": { - "@angular/animations": "^6.0.4", - "@angular/cdk": "^6.0.4", - "@angular/common": "^6.0.4", - "@angular/core": "^6.0.4", - "@angular/forms": "^6.0.4", - "@angular/http": "^6.0.4", - "@angular/language-service": "^6.0.4", - "@angular/material": "^6.0.4", - "@angular/platform-browser": "^6.0.4", - "@angular/platform-browser-dynamic": "^6.0.4", - "@angular/router": "^6.0.4", - "@clr/angular": "^0.12.0-rc.2", - "@clr/icons": "^0.12.0-rc.2", - "@clr/ui": "^0.12.0-rc.2", + "@angular/animations":"^6.0.5", + "@angular/cdk": "^6.0.5", + "@angular/common": "^6.0.5", + "@angular/core": "^6.0.5", + "@angular/forms": "^6.0.5", + "@angular/http": "^6.0.5", + "@angular/language-service": "^6.0.5", + "@angular/material": "^6.0.5", + "@angular/platform-browser": "^6.0.5", + "@angular/platform-browser-dynamic": "^6.0.5", + "@angular/router": "^6.0.5", + "@clr/angular": "^0.12.0", + "@clr/icons": "^0.12.0", + "@clr/ui": "^0.12.0", "@fortawesome/angular-fontawesome": "^0.1.0-10", "@fortawesome/fontawesome-pro-webfonts": "^1.0.9", "@fortawesome/fontawesome-svg-core": "^1.2.0-11", @@ -141,9 +141,9 @@ "@fortawesome/pro-regular-svg-icons": "^5.1.0-8", "@fortawesome/pro-solid-svg-icons": "^5.1.0-8", "electron-builder-squirrel-windows": "^20.15.0", - "electron-updater": "^2.21.10", - "electron-webpack": "^2.1.2", + "electron-updater":"^2.21.11", + "electron-webpack":"^2.1.2", "menu": "^0.2.5", - "opn": "^5.3.0" + "opn":"^5.3.0" } } diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index a91b3e5c..3d66dca0 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -10,42 +10,42 @@ import {ConfigComponent} from './dashboard/config/config.component'; import {AboutComponent} from './dashboard/about/about.component'; const routes: Routes = [ - {path: '', component: LandingComponent}, - { - path: 'dashboard', - component: DashboardComponent, - children: [ - { - path: 'wallet', - component: WalletComponent, - }, - { - path: 'send', - component: SendComponent, - }, - { - path: 'history', - component: HistoryComponent, - }, - { - path: 'vote', - component: VoteComponent, - }, - { - path: 'config', - component: ConfigComponent, - }, - { - path: 'about', - component: AboutComponent, - } - ] - } + {path: '', component: LandingComponent}, + { + path: 'dashboard', + component: DashboardComponent, + children: [ + { + path: 'wallet', + component: WalletComponent, + }, + { + path: 'send', + component: SendComponent, + }, + { + path: 'history', + component: HistoryComponent, + }, + { + path: 'vote', + component: VoteComponent, + }, + { + path: 'config', + component: ConfigComponent, + }, + { + path: 'about', + component: AboutComponent, + } + ] + } ]; @NgModule({ - imports: [RouterModule.forRoot(routes)], - exports: [RouterModule] + imports: [RouterModule.forRoot(routes, {useHash: true})], + exports: [RouterModule] }) export class AppRoutingModule { } diff --git a/src/app/dashboard/vote/vote.component.html b/src/app/dashboard/vote/vote.component.html index 491b6227..77531c03 100644 --- a/src/app/dashboard/vote/vote.component.html +++ b/src/app/dashboard/vote/vote.component.html @@ -27,7 +27,7 @@ Think of EOS as a farm.
- You need eos tokens to rent land on the farm.
+ You need eos tokens to rent land on the farm and use its resources.
In order to rent, you stake your tokens.
When you stake, you also have power to vote, as a “resident” on the farm, but those tokens will be locked for use in transactions.
When you unstake, your tokens will only be free for transfers after 3 days. @@ -37,7 +37,7 @@
@@ -280,7 +288,7 @@
You can vote for up to 30