|
1 | | -### @regovsdk/auth-manager |
2 | | - |
3 | | -### 1.0.0 |
4 | | - |
5 | | -#### Patch Changes |
6 | | - |
7 | | -Scaffold the application |
8 | | - |
9 | | -#### 1.0.1 |
10 | | - |
11 | | -#### Patch Changes |
12 | | - |
13 | | -Create the Zod Error validation class |
14 | | -Create a list of Http Statuses |
15 | | -Create the result class |
16 | | - |
17 | | -### 1.0.2 |
18 | | - |
19 | | -#### Patch Changes |
20 | | - |
21 | | -make the sendRequest method in HttpClient public |
22 | | - |
23 | | -### 1.0.3 |
24 | | - |
25 | | -#### Patch Changes |
26 | | - |
27 | | -Create the Storage and Encryption modules |
28 | | - |
29 | | -### 1.0.5 |
30 | | - |
31 | | -#### Patch Changes |
32 | | - |
33 | | -Update the application storage manager to support non encrypted local storages |
34 | | - |
35 | | -### 1.0.6 |
36 | | - |
37 | | -#### Patch Changes |
38 | | - |
39 | | -Updated EncryptionService to allow optional encryption key Updated ApplicationStorageManager to pass optional encryption key to EncryptionService |
40 | | - |
41 | | -### 1.0.7 |
42 | | - |
43 | | -#### Feature Changes |
44 | | - |
45 | | -- Introduced SecurePersistentCache class for secure system keychain storage |
46 | | -- Implemented cache management methods: set, get, remove, clear, and loadFromKeyChain |
47 | | -- Updated StorageManager for robust error handling |
48 | | - |
49 | | -### 1.0.8 |
50 | | - |
51 | | -#### Feature changes |
52 | | - |
53 | | -fix(http): Improve error handling in HTTP requests |
54 | | - |
55 | | -- Wrap JSON parsing in a try-catch block to handle parsing errors |
56 | | -- Throw errors after logging and rejecting the promise |
57 | | -- Add error logging with request details |
58 | | - |
59 | | -### 1.0.12 |
60 | | - |
61 | | -#### Feature changes |
62 | | - |
63 | | -- feat(infrastructure): Add environment variable manager |
64 | | -- Introduce EnvManager class to manage environment variables |
65 | | -- Load environment variables from a file and store them in an object |
66 | | -- Provide methods to get, set, and remove environment variables |
67 | | -- Log errors and re-throw them during environment variable operations |
68 | | -- Update the environment file when environment variables change |
69 | | - |
70 | | -### 1.0.13 |
71 | | - |
72 | | -#### Feature changes |
73 | | - |
74 | | -Change fail method to accept data and optional message, removing errorCode parameter |
75 | | -Update constructor to reflect new properties |
76 | | - |
77 | | -### 1.0.14 |
78 | | - |
79 | | -#### Enhance shared kernel package with new features and dependencies |
80 | | - |
81 | | -- Update package version to 1.0.14 |
82 | | -- Add express, joi, and @types/express dependencies |
83 | | -- Introduce new utility functions for handling API responses, logging errors, and validating request data |
84 | | -- Enhance logger service with colorized output and exception handling |
85 | | -- Add new HTTP status code enum and update existing enum to use uppercase naming convention |
86 | | - |
87 | | -### 1.0.15 |
88 | | - |
89 | | -#### Change HTTP status code enum to object and update Result class |
90 | | - |
91 | | -- Replace HTTP_STATUS_CODE enum with an object to allow for better type inference |
92 | | -- Update Result class to use a numeric error code instead of the HTTP_STATUS_CODE enum |
93 | | -- Remove unnecessary import statement in Result class |
94 | | - |
95 | | -### 1.0.17 |
96 | | - |
97 | | -#### Update @rgxsdk/shared-kernel dependency and refactor error handling |
98 | | - |
99 | | -### 1.0.18 |
100 | | - |
101 | | -#### feat(http-service): Add support for JWT token authentication and refactor request options handling |
102 | | - |
103 | | -- Modify the http-service to handle JWT token authentication |
104 | | -- Refactor the request options handling to generate a header object with the required headers for API requests |
105 | | -- Introduce a new method `generateRequestOptions` to generate request options for API requests |
106 | | -- Introduce a new method `inititateRequest` to initiate a request to the server with the provided data and request type |
107 | | -- Update the package version to 1.0.19 |
108 | | - |
109 | | -### 1.0.20 |
110 | | - |
111 | | -#### refactor(http-service): Improve error handling and logger instantiation |
112 | | - |
113 | | -### 1.0.21 |
114 | | - |
115 | | -#### refactor(core): Improve HTTP status code handling and exports |
116 | | - |
117 | | -- Change HTTP status codes from objects to enums for better type safety. |
118 | | -- Remove unnecessary HTTP status code enum in constants.ts. |
119 | | -- Add exports for core and exception in their respective index.ts files. |
120 | | -- Update import statement for Joi package to lowercase 'joi' in utils.ts. |
121 | | - |
122 | | -### 1.0.22 |
123 | | - |
124 | | -#### feat(shared-kernel/utils): Introduce Request Token Utility |
125 | | - |
126 | | -Extract request token from Authorization header in getRequestToken function |
127 | | -Handle unauthorized responses in cases of missing or invalid token |
0 commit comments