File tree Expand file tree Collapse file tree 5 files changed +9
-2
lines changed Expand file tree Collapse file tree 5 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ - added: Report key wallet creation dates.
6
+
5
7
## 2.15.0 (2024-09-06)
6
8
7
9
- added: ` EdgeContext.fetchChallenge ` , to request an account-creation CAPTCHA.
Original file line number Diff line number Diff line change @@ -113,6 +113,9 @@ export function makeCurrencyWalletApi(
113
113
watch : watchMethod ,
114
114
115
115
// Data store:
116
+ get created ( ) : Date | undefined {
117
+ return walletInfo . created
118
+ } ,
116
119
get disklet ( ) : Disklet {
117
120
return storageWalletApi . disklet
118
121
} ,
@@ -130,6 +133,7 @@ export function makeCurrencyWalletApi(
130
133
return storageWalletApi . type
131
134
} ,
132
135
136
+
133
137
// Wallet name:
134
138
get name ( ) : string | null {
135
139
return input . props . walletState . name
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export const asEdgeBox: Cleaner<EdgeBox> = asObject({
95
95
} )
96
96
97
97
export const asEdgeKeyBox : Cleaner < EdgeKeyBox > = asObject ( {
98
- created : asDate ,
98
+ created : asOptional ( asDate ) ,
99
99
data_base64 : asBase64 ,
100
100
encryptionType : asNumber ,
101
101
iv_hex : asBase16
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface EdgeBox {
17
17
* Encrypted wallet private keys along with a creation date.
18
18
*/
19
19
export interface EdgeKeyBox extends EdgeBox {
20
- created : Date
20
+ created : Date | undefined
21
21
}
22
22
23
23
/**
Original file line number Diff line number Diff line change @@ -1152,6 +1152,7 @@ export interface EdgeCurrencyWallet {
1152
1152
readonly watch : Subscriber < EdgeCurrencyWallet >
1153
1153
1154
1154
// Data store:
1155
+ readonly created : Date | undefined
1155
1156
readonly disklet : Disklet
1156
1157
readonly id : string
1157
1158
readonly localDisklet : Disklet
You can’t perform that action at this time.
0 commit comments