@amedia/user 0.13.22 → 0.13.23
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/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/src/clients/mercury.ts +1 -0
package/package.json
CHANGED
package/src/clients/mercury.ts
CHANGED
|
@@ -6,6 +6,7 @@ export class UserDeactivatedError extends Error {}
|
|
|
6
6
|
const EXPECTED_ERRORS = [
|
|
7
7
|
'no_session_found', // Not logged in
|
|
8
8
|
'subscription_not_found', // No active subscription
|
|
9
|
+
'publication_not_subscribable', // Activation is not possible on current publication
|
|
9
10
|
];
|
|
10
11
|
|
|
11
12
|
export const activateSubscription = async (
|