@pageproof/sdk-pr 294.0.1606952193658 → 294.0.1607642874076

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-beta.151
4
+
5
+ Released on the 11th of December 2020.
6
+
7
+ - Minor improvement around user preferences reset method.
8
+
9
+ ## 2.0.0-beta.150
10
+
11
+ Released on the 8th of December 2020.
12
+
13
+ - [[#296](https://github.com/PageProofCom/sdk/pull/296)] Adds support for colors user preferences. See [Preferences](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/Preferences.js~Preferences.html).
14
+
3
15
  ## 2.0.0-beta.149
4
16
 
5
17
  Released on the 24th of November 2020.
@@ -25,9 +25,10 @@ declare class Preferences extends API {
25
25
  * PageProof.Enum.Preference.DEFAULT_DUE_DATE,
26
26
  * PageProof.Enum.Preference.DEFAULT_DUE_TIME,
27
27
  * PageProof.Enum.Preference.DEFAULT_MESSAGE_TO_REVIEWERS,
28
+ * PageProof.Enum.Preference.COLORS,
28
29
  * PageProof.Enum.Preference.DEFAULT_REMINDER,
29
30
  * ]);
30
- * const [dueDate, dueTime, messageToReviewers, proofReminders] = preferences;
31
+ * const [dueDate, dueTime, messageToReviewers, colors, proofReminders] = preferences;
31
32
  * console.log(messageToReviewers.getValueOrDefault());
32
33
  *
33
34
  * @example <caption>Retrieving a single preference</caption>
@@ -3,6 +3,6 @@ declare namespace Preference {
3
3
  export const DEFAULT_DUE_DATE: string;
4
4
  export const DEFAULT_DUE_TIME: string;
5
5
  export const DEFAULT_MESSAGE_TO_REVIEWERS: string;
6
- export const ENABLE_COLOR_BLIND_UI: string;
6
+ export const COLORS: string;
7
7
  export const DEFAULT_REMINDER: string;
8
8
  }
@@ -1 +1 @@
1
- "use strict";exports.__esModule=true;var Preference={DEFAULT_DUE_DATE:"dueDate",DEFAULT_DUE_TIME:"dueTime",DEFAULT_MESSAGE_TO_REVIEWERS:"messageToReviewers",ENABLE_COLOR_BLIND_UI:"colorBlind",DEFAULT_REMINDER:"proofReminders"};exports.default=Preference;
1
+ "use strict";exports.__esModule=true;var Preference={DEFAULT_DUE_DATE:"dueDate",DEFAULT_DUE_TIME:"dueTime",DEFAULT_MESSAGE_TO_REVIEWERS:"messageToReviewers",COLORS:"colors",DEFAULT_REMINDER:"proofReminders"};exports.default=Preference;
@@ -92,8 +92,9 @@
92
92
  "body": true
93
93
  },
94
94
  "preferences.reset": {
95
+ "version": 2,
95
96
  "method": "POST",
96
- "path": "api/users/preferences/update",
97
+ "path": "/api/users/preferences/reset",
97
98
  "body": ["preferences"]
98
99
  },
99
100
  "dashboard.inbox": {