From 39b5f164c26a80e0055fa955b723ec4ed1919f63 Mon Sep 17 00:00:00 2001 From: Ole Zierau Date: Mon, 8 Apr 2024 19:48:01 +0200 Subject: [PATCH] PA-4232: update interface for registration date --- src/ps-web-apis.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ps-web-apis.ts b/src/ps-web-apis.ts index 36fb7a4..3281e1a 100644 --- a/src/ps-web-apis.ts +++ b/src/ps-web-apis.ts @@ -117,6 +117,11 @@ export interface WhoamiV1 { * will provide unsafe purchase data */ getUnsafePurchaseData(): Promise; + /** + * will provide users registration date if available otherwise returns null. + * Registration date in unix timestamp. + */ + getUnsafeRegistrationDate(): Promise; /** * will provide jaId for logged in users, otherwise