Added cart encryption
This commit is contained in:
parent
2cccac9569
commit
6881a17b50
@ -13,7 +13,7 @@ import {AngularFireAuth} from '../../node_modules/angularfire2/auth';
|
|||||||
templateUrl: 'app.component.html'
|
templateUrl: 'app.component.html'
|
||||||
})
|
})
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
@LocalStorage({defaultValue: []})
|
@LocalStorage({defaultValue: [], encryptionKey: 'HmRoBFUEVWqW5uvy'})
|
||||||
cart: {id: string; item: string; price: number; currency: 'CAD' | 'USD'; quantity: number}[];
|
cart: {id: string; item: string; price: number; currency: 'CAD' | 'USD'; quantity: number}[];
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
Loading…
Reference in New Issue
Block a user