@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.13.22",
3
+ "version": "0.13.23",
4
4
  "description": "Client lib for working with aID user and associated data",
5
5
  "repository": "https://github.com/amedia/amedia-user-js",
6
6
  "author": "Amedia Utvikling (ID og data)",
@@ -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 (