catchup-library-web 2.3.7 → 2.3.8

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.d.mts CHANGED
@@ -488,7 +488,7 @@ declare const retrieveLanguageOptionList: () => {
488
488
  }[];
489
489
  declare const getLanguageFromCode: (code: string) => "TURKISH" | "ENGLISH";
490
490
  declare const getLanguageFromCurriculumType: (curriculumType: string) => "TURKISH" | "ENGLISH";
491
- declare const getSystemLanguageFromCurriculumType: (curriculumType: string) => "tr" | "en";
491
+ declare const getSystemLanguageFromCurriculumType: (curriculumType: string) => "TR" | "EN";
492
492
 
493
493
  declare const decodeJWT: (token: string) => any;
494
494
  declare const encodeJWT: (payload: object) => string;
package/dist/index.d.ts CHANGED
@@ -488,7 +488,7 @@ declare const retrieveLanguageOptionList: () => {
488
488
  }[];
489
489
  declare const getLanguageFromCode: (code: string) => "TURKISH" | "ENGLISH";
490
490
  declare const getLanguageFromCurriculumType: (curriculumType: string) => "TURKISH" | "ENGLISH";
491
- declare const getSystemLanguageFromCurriculumType: (curriculumType: string) => "tr" | "en";
491
+ declare const getSystemLanguageFromCurriculumType: (curriculumType: string) => "TR" | "EN";
492
492
 
493
493
  declare const decodeJWT: (token: string) => any;
494
494
  declare const encodeJWT: (payload: object) => string;
package/dist/index.js CHANGED
@@ -4377,9 +4377,9 @@ var getLanguageFromCurriculumType = (curriculumType) => {
4377
4377
  };
4378
4378
  var getSystemLanguageFromCurriculumType = (curriculumType) => {
4379
4379
  if (curriculumType === "MEB") {
4380
- return "tr";
4380
+ return "TR";
4381
4381
  }
4382
- return "en";
4382
+ return "EN";
4383
4383
  };
4384
4384
 
4385
4385
  // src/components/dropdowns/MediaDropdown.tsx
package/dist/index.mjs CHANGED
@@ -4147,9 +4147,9 @@ var getLanguageFromCurriculumType = (curriculumType) => {
4147
4147
  };
4148
4148
  var getSystemLanguageFromCurriculumType = (curriculumType) => {
4149
4149
  if (curriculumType === "MEB") {
4150
- return "tr";
4150
+ return "TR";
4151
4151
  }
4152
- return "en";
4152
+ return "EN";
4153
4153
  };
4154
4154
 
4155
4155
  // src/components/dropdowns/MediaDropdown.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "catchup-library-web",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -80,7 +80,7 @@ export const getLanguageFromCurriculumType = (curriculumType: string) => {
80
80
 
81
81
  export const getSystemLanguageFromCurriculumType = (curriculumType: string) => {
82
82
  if (curriculumType === "MEB") {
83
- return "tr";
83
+ return "TR";
84
84
  }
85
- return "en";
85
+ return "EN";
86
86
  };