anzar 1.2.5 → 1.2.6

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.cjs CHANGED
@@ -778,7 +778,7 @@ var JwtInterceptor = class {
778
778
  const response = await axiosInstance.post(
779
779
  REFRESH_URI,
780
780
  {},
781
- { headers: { authorization: `Bearer ${refreshToken}` } }
781
+ { headers: { "x-refresh-token": `Bearer ${refreshToken}` } }
782
782
  );
783
783
  const auth_response = response.data;
784
784
  if (auth_response.tokens) {
package/dist/index.js CHANGED
@@ -744,7 +744,7 @@ var JwtInterceptor = class {
744
744
  const response = await axiosInstance.post(
745
745
  REFRESH_URI,
746
746
  {},
747
- { headers: { authorization: `Bearer ${refreshToken}` } }
747
+ { headers: { "x-refresh-token": `Bearer ${refreshToken}` } }
748
748
  );
749
749
  const auth_response = response.data;
750
750
  if (auth_response.tokens) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anzar",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Anzar SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",