Skip to content

Commit

Permalink
Merge pull request #65 from spring-media/PA-4232
Browse files Browse the repository at this point in the history
PA-4232: update interface for registration date
  • Loading branch information
derzierau authored Apr 9, 2024
2 parents 49f772e + 39b5f16 commit a177ac7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ps-web-apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ export interface WhoamiV1 {
* will provide unsafe purchase data
*/
getUnsafePurchaseData(): Promise<PurchaseData>;
/**
* will provide users registration date if available otherwise returns null.
* Registration date in unix timestamp.
*/
getUnsafeRegistrationDate(): Promise<null | number>;

/**
* will provide jaId for logged in users, otherwise
Expand Down

0 comments on commit a177ac7

Please sign in to comment.