From 98060d15bc8d0ff452c4d2e416e0e157798a33e5 Mon Sep 17 00:00:00 2001 From: Nick Krantz <125900171+nick-livefront@users.noreply.github.com> Date: Mon, 2 Feb 2026 10:59:27 -0600 Subject: [PATCH] Mark `getProfileCreationDate` as deprecated (#18651) * mark `getProfileCreationDate` as deprecated * add reference to tech debt ticket --- libs/angular/src/vault/services/vault-profile.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/angular/src/vault/services/vault-profile.service.ts b/libs/angular/src/vault/services/vault-profile.service.ts index 3a8c9d4ee95..3977b275d02 100644 --- a/libs/angular/src/vault/services/vault-profile.service.ts +++ b/libs/angular/src/vault/services/vault-profile.service.ts @@ -21,6 +21,9 @@ export class VaultProfileService { * Returns the creation date of the profile. * Note: `Date`s are mutable in JS, creating a new * instance is important to avoid unwanted changes. + * + * @deprecated use `creationDate` directly from the `AccountService.activeAccount$` instead, + * PM-31409 will replace all usages of this service. */ async getProfileCreationDate(userId: string): Promise { if (this.profileCreatedDate && userId === this.userId) {