Commit 17dedc70 authored by David Burke's avatar David Burke

Updated ngrx

parent adc7972a
Pipeline #65321136 passed with stages
in 11 minutes and 56 seconds
{
"name": "passit-frontend",
"version": "1.11.1",
"version": "1.12.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -1746,29 +1746,29 @@
}
},
"@ngrx/effects": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@ngrx/effects/-/effects-7.4.0.tgz",
"integrity": "sha512-YjgB17WnLCBDPjAkHduKWsLFSGLZryPaTjY3EIvMF+WTRPDlgC5SAv2n7p3YIei6g6IYcEvOwLWBqZHFUXTgBw=="
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@ngrx/effects/-/effects-8.0.0.tgz",
"integrity": "sha512-8ho26Cq1Kh+mrIhoq5fHmXYXdyeng8vabVJ+9GooFJBCNGNuE43nfFWH6x9ksXOpA075iGE5SMPEw6KceTX2eg=="
},
"@ngrx/entity": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@ngrx/entity/-/entity-7.4.0.tgz",
"integrity": "sha512-aFRDTNp6IFkYFlP9gV6hgNgtDYot9KYF8WVbaQTao9ihmdPumMBOCeRttPPiHS/cU41w9nW3xF53NgxQPnEiQA=="
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@ngrx/entity/-/entity-8.0.0.tgz",
"integrity": "sha512-LhdXKSbSR0INpDQ2DWCK5wv/E+3hk0JWI8Q99Vu5s7AYK5bFXMtvmdbIgJeZ5eM/zJ9n0f5k9UPRspxs/BJT/w=="
},
"@ngrx/router-store": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@ngrx/router-store/-/router-store-7.4.0.tgz",
"integrity": "sha512-ZpwTO1/ha3pxO7NV3jIfnwipBN1A719IjAOgrcmI8Ut06VH3HY/7JVFTkwLN/FyuHvl4EOlAVYmMAblmrymUWA=="
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@ngrx/router-store/-/router-store-8.0.0.tgz",
"integrity": "sha512-bNyOfsfC2ZsXaMGS9TPO5dyw0tRf+FyrzC9hx6ZJa71usCaQu+UVg2p7tseTNZ7jc6W1Yx+82f/QbLQDwOp5fQ=="
},
"@ngrx/store": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@ngrx/store/-/store-7.4.0.tgz",
"integrity": "sha512-kwTUHgfgBeAL4RQBjZO46z9v4Xzg8PXAgY4WwXdt3zUk1tF4ZvijMleFvFRUoiJJfxF/UM6jgIZ/yGrX2dXQuA=="
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@ngrx/store/-/store-8.0.0.tgz",
"integrity": "sha512-FpffcUV50Pd3X+xwswEvMDABr+OfbkPCBmD3tU9we6vVqMTIYSW0YyNtQUtblPbzIhb+pH8HV3YuGdFA+zQMYw=="
},
"@ngrx/store-devtools": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@ngrx/store-devtools/-/store-devtools-7.4.0.tgz",
"integrity": "sha512-ZmPpquprBYUozbLuLMLZzUhI+LnMNGMNg8x1ij9yDxXWQADcJm1Zu7kouYE1r5SoCYxKfwJ3Ia1VQfS3A5S8dw=="
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/@ngrx/store-devtools/-/store-devtools-8.0.0.tgz",
"integrity": "sha512-T2yWwoE7agTjvSGQNMkANrbBUMjTtnNUw2v0TC6Ms3Rp8Gdhrgjh0n3bve401P+FeQ1EBygnk7LTCaQ5H/MP0g=="
},
"@ngtools/webpack": {
"version": "8.0.1",
......
{
"name": "passit-frontend",
"version": "1.11.1",
"version": "1.12.0",
"license": "AGPL-3.0",
"scripts": {
"android": "tns run android --bundle",
......@@ -48,11 +48,11 @@
"@angular/router": "~8.0.0",
"@angular/service-worker": "^8.0.0",
"@braintree/sanitize-url": "~3.1.0",
"@ngrx/effects": "^7.0.0",
"@ngrx/entity": "^7.0.0",
"@ngrx/router-store": "^7.0.0",
"@ngrx/store": "^7.0.0",
"@ngrx/store-devtools": "^7.0.0",
"@ngrx/effects": "^8.0.0",
"@ngrx/entity": "^8.0.0",
"@ngrx/router-store": "^8.0.0",
"@ngrx/store": "^8.0.0",
"@ngrx/store-devtools": "^8.0.0",
"@sentry/browser": "^5.4.0",
"@types/file-saver": "^2.0.0",
"@types/jspdf": "^1.2.2",
......@@ -84,7 +84,7 @@
"nativescript-theme-core": "~1.0.4",
"ng-inline-svg": "~8.4.1",
"ng-select": "~1.0.1",
"ngrx-forms": "^4.1.0",
"ngrx-forms": "~4.1.0",
"ngrx-store-localstorage": "~7.0.0",
"ngx-clipboard": "^12.1.0",
"ngx-tooltip": "^0.0.9",
......
......@@ -12,7 +12,7 @@ import { ActivateMFAStep, IGeneratedMFA } from "./manage-mfa.interfaces";
export const FORM_ID = "Enable MFA Form";
export interface IEnableMfaForm {
verificationCode: string | null;
verificationCode: string;
}
export interface IEnbleMfaState {
form: FormGroupState<IEnableMfaForm>;
......
......@@ -8,7 +8,10 @@ import { Params } from "@angular/router";
import { ServiceWorkerModule } from "@angular/service-worker";
import { EffectsModule } from "@ngrx/effects";
import { RouterStateSerializer } from "@ngrx/router-store";
import {
RouterStateSerializer,
StoreRouterConnectingModule
} from "@ngrx/router-store";
import { StoreModule, Store } from "@ngrx/store";
import { InlineSVGModule } from "ng-inline-svg";
import { SelectModule } from "ng-select";
......@@ -79,6 +82,7 @@ export class CustomSerializer
HotkeyModule.forRoot(),
BrowserAnimationsModule,
StoreModule.forRoot(reducers, { metaReducers }),
StoreRouterConnectingModule.forRoot(),
EffectsModule.forRoot([AppEffects, SecretEffects, GetConfEffects]),
devtoolsModule,
FormsModule,
......
......@@ -52,7 +52,7 @@ class AutofillPassitHelper {
* @param idPackage Android Package ID
*/
async getUsernamePasswords(idPackage: string): Promise<UserData[]> {
const secrets = Object.values(this.secrets.entities);
const secrets: any[] = Object.values(this.secrets.entities);
const matchedSecrets = secrets.filter(secret => {
// Check if package name looks like the secret's name
const passitName = secret.name.toLowerCase();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment