mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 02:25:23 +00:00
Add wallet to args (#121)
This commit is contained in:
parent
dbde4152bd
commit
57db0bbe3d
14
package-lock.json
generated
14
package-lock.json
generated
@ -37,7 +37,7 @@
|
||||
"@vality/swag-payments": "0.1.1-01da4bb.0",
|
||||
"@vality/swag-questionary-aggr-proxy": "0.1.1-ed41741.0",
|
||||
"@vality/swag-url-shortener": "0.1.1-f780d07.0",
|
||||
"@vality/swag-wallet": "0.1.2-21b69d2.0",
|
||||
"@vality/swag-wallet": "0.1.2-e2ef042.0",
|
||||
"angular-epic-spinners": "2.0.0",
|
||||
"angular-file": "^3.0.1",
|
||||
"angular2-text-mask": "^9.0.0",
|
||||
@ -6120,9 +6120,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vality/swag-wallet": {
|
||||
"version": "0.1.2-21b69d2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.2-21b69d2.0.tgz",
|
||||
"integrity": "sha512-zbyoiJ4ZJAvCtXpTRad5n7xwTwavl40UWLaU2DWSdp/cgjKd9yhUoEUU89+HLE6rZpqQL6fdSuqZ5CyFEfh9Yg==",
|
||||
"version": "0.1.2-e2ef042.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.2-e2ef042.0.tgz",
|
||||
"integrity": "sha512-hLC2ddgB2IIiKABtThuyOWPuhKYciQuID/JBkpRqsPZMfyme+QPbJRuCFbhxScfF0WR5Urk4pngsgXapZO/YIA==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.3.0"
|
||||
},
|
||||
@ -22525,9 +22525,9 @@
|
||||
}
|
||||
},
|
||||
"@vality/swag-wallet": {
|
||||
"version": "0.1.2-21b69d2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.2-21b69d2.0.tgz",
|
||||
"integrity": "sha512-zbyoiJ4ZJAvCtXpTRad5n7xwTwavl40UWLaU2DWSdp/cgjKd9yhUoEUU89+HLE6rZpqQL6fdSuqZ5CyFEfh9Yg==",
|
||||
"version": "0.1.2-e2ef042.0",
|
||||
"resolved": "https://registry.npmjs.org/@vality/swag-wallet/-/swag-wallet-0.1.2-e2ef042.0.tgz",
|
||||
"integrity": "sha512-hLC2ddgB2IIiKABtThuyOWPuhKYciQuID/JBkpRqsPZMfyme+QPbJRuCFbhxScfF0WR5Urk4pngsgXapZO/YIA==",
|
||||
"requires": {
|
||||
"tslib": "^2.3.0"
|
||||
}
|
||||
|
@ -55,7 +55,7 @@
|
||||
"@vality/swag-payments": "0.1.1-01da4bb.0",
|
||||
"@vality/swag-questionary-aggr-proxy": "0.1.1-ed41741.0",
|
||||
"@vality/swag-url-shortener": "0.1.1-f780d07.0",
|
||||
"@vality/swag-wallet": "0.1.2-21b69d2.0",
|
||||
"@vality/swag-wallet": "0.1.2-e2ef042.0",
|
||||
"angular-epic-spinners": "2.0.0",
|
||||
"angular-file": "^3.0.1",
|
||||
"angular2-text-mask": "^9.0.0",
|
||||
|
@ -6,11 +6,12 @@ import { catchError, map, pluck, shareReplay } from 'rxjs/operators';
|
||||
import { SHARE_REPLAY_CONF } from '@dsh/operators';
|
||||
|
||||
import { createApi } from '../utils';
|
||||
import { PartyIdExtension } from '../utils/extensions';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class WalletsService extends createApi(ApiWalletsService) {
|
||||
export class WalletsService extends createApi(ApiWalletsService, [PartyIdExtension]) {
|
||||
wallets$ = this.listWallets({ limit: 1000 }).pipe(
|
||||
catchError(() => of({ result: [] })),
|
||||
pluck('result'),
|
||||
|
Loading…
Reference in New Issue
Block a user