Skip to content

Commit

Permalink
PA-4232: update interface for registration date
Browse files Browse the repository at this point in the history
  • Loading branch information
derzierau committed Apr 8, 2024
1 parent 49f772e commit 39b5f16
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 39b5f16

Please sign in to comment.