musora-content-services 2.171.0 → 2.173.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/src/services/user/account.ts +3 -0
- package/src/version-info.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.173.0](https://github.com/railroadmedia/musora-content-services/compare/v2.171.0...v2.173.0) (2026-08-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* adds previous_email param to pending account creation ([#1028](https://github.com/railroadmedia/musora-content-services/issues/1028)) ([997d5ab](https://github.com/railroadmedia/musora-content-services/commit/997d5ab9883353a4a5f35000c92f9ff322e730b5))
|
|
11
|
+
|
|
12
|
+
## [2.172.0](https://github.com/railroadmedia/musora-content-services/compare/v2.171.0...v2.172.0) (2026-08-12)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* adds previous_email param to pending account creation ([#1028](https://github.com/railroadmedia/musora-content-services/issues/1028)) ([997d5ab](https://github.com/railroadmedia/musora-content-services/commit/997d5ab9883353a4a5f35000c92f9ff322e730b5))
|
|
18
|
+
|
|
5
19
|
## [2.171.0](https://github.com/railroadmedia/musora-content-services/compare/v2.170.0...v2.171.0) (2026-08-12)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
|
@@ -112,12 +112,14 @@ export async function setupAccount(props: AccountSetupProps): Promise<AccountSet
|
|
|
112
112
|
export interface PendingAccountProps {
|
|
113
113
|
email: string
|
|
114
114
|
revenuecatAppUserId?: string
|
|
115
|
+
previousEmail?: string
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
/**
|
|
118
119
|
* @param {Object} props - The parameters for creating the pending account.
|
|
119
120
|
* @property {string} email - The email address for the account.
|
|
120
121
|
* @property {string} [revenuecatAppUserId] - The RevenueCat App User ID for MA environments.
|
|
122
|
+
* @property {string} [previousEmail] - The previous email address, if this account replaces an existing one.
|
|
121
123
|
*
|
|
122
124
|
* @returns {Promise<AccountSetupResponse>} - A promise that resolves when the pending account is created or an HttpError if the request fails.
|
|
123
125
|
* @throws {HttpError} - Throws an HttpError if the HTTP request fails.
|
|
@@ -129,6 +131,7 @@ export async function createPendingAccount(props: PendingAccountProps): Promise<
|
|
|
129
131
|
{
|
|
130
132
|
email: props.email,
|
|
131
133
|
mobile_app_id: props.revenuecatAppUserId,
|
|
134
|
+
previous_email: props.previousEmail,
|
|
132
135
|
}
|
|
133
136
|
)
|
|
134
137
|
}
|
package/src/version-info.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MCS_VERSION = '2.
|
|
1
|
+
export const MCS_VERSION = '2.173.0'
|