Skip to content

Commit

Permalink
Add created date to wallet object
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Oct 3, 2024
1 parent 72cfc7f commit 957c9ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/indexApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import {
asArray,
asBoolean,
asDate,
asNumber,
asObject,
asOptional,
Expand Down Expand Up @@ -67,6 +68,7 @@ const asLog = asObject({
userId: asString,
wallets: asArray(
asObject({
created: asOptional(asDate),
currencyCode: asString,
customTokens: asOptional(asObject(asEdgeToken)),
imported: asOptional(asBoolean),
Expand Down Expand Up @@ -111,6 +113,7 @@ const retrievedLogObj = {
userId: asString,
wallets: asArray(
asObject({
created: asOptional(asDate),
currencyCode: asString,
customTokens: asOptional(asObject(asEdgeToken)),
imported: asOptional(asBoolean),
Expand Down

0 comments on commit 957c9ff

Please sign in to comment.