@cemalidev/trate 1.4.2 → 1.4.3

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.js CHANGED
@@ -771,15 +771,15 @@ var SUPPORTED_FIAT = [
771
771
  "MXN"
772
772
  ];
773
773
  var JEWELRY_API_MAP = {
774
- CEYREK_ALTIN: "ceyrek_altin",
775
- YARIM_ALTIN: "yarim_altin",
776
- TAM_ALTIN: "tam_altin",
777
- ATA_ALTIN: "ata_altin"
774
+ CEYREK_ALTIN: "yeni_ceyrek",
775
+ YARIM_ALTIN: "yeni_yarim",
776
+ TAM_ALTIN: "yeni_tam",
777
+ ATA_ALTIN: "yeni_ata"
778
778
  };
779
779
  var METAL_API_MAP = {
780
- ONS: "ons_altin",
780
+ ONS: "ons",
781
781
  GUMUS_OZ: "gumus_ons",
782
- GRAM_ALTIN: "gram_altin"
782
+ GRAM_ALTIN: "has_altin"
783
783
  };
784
784
  function isCrypto(symbol) {
785
785
  return CRYPTO_SYMBOLS.includes(symbol.toUpperCase());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cemalidev/trate",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "type": "module",
5
5
  "description": "Terminal-based currency tracker - convert fiat, crypto, and precious metals instantly",
6
6
  "main": "dist/index.js",
package/src/convert.ts CHANGED
@@ -76,16 +76,16 @@ export const SUPPORTED_FIAT = [
76
76
  ];
77
77
 
78
78
  export const JEWELRY_API_MAP: Record<string, string> = {
79
- CEYREK_ALTIN: 'ceyrek_altin',
80
- YARIM_ALTIN: 'yarim_altin',
81
- TAM_ALTIN: 'tam_altin',
82
- ATA_ALTIN: 'ata_altin',
79
+ CEYREK_ALTIN: 'yeni_ceyrek',
80
+ YARIM_ALTIN: 'yeni_yarim',
81
+ TAM_ALTIN: 'yeni_tam',
82
+ ATA_ALTIN: 'yeni_ata',
83
83
  };
84
84
 
85
85
  export const METAL_API_MAP: Record<string, string> = {
86
- ONS: 'ons_altin',
86
+ ONS: 'ons',
87
87
  GUMUS_OZ: 'gumus_ons',
88
- GRAM_ALTIN: 'gram_altin',
88
+ GRAM_ALTIN: 'has_altin',
89
89
  };
90
90
 
91
91
  export function isCrypto(symbol: string): boolean {