@ooneex/currencies 0.0.1 → 0.0.5

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.ts CHANGED
@@ -419,8 +419,15 @@ declare const CURRENCIES: readonly [{
419
419
  readonly icon: "🏛️";
420
420
  readonly symbol: "XDR";
421
421
  }];
422
+ import { IBase } from "@ooneex/types";
422
423
  type CurrencyCodeType = (typeof CURRENCIES)[number]["code"];
423
424
  type CurrencyNameType = (typeof CURRENCIES)[number]["name"];
424
425
  type CurrencyIconType = (typeof CURRENCIES)[number]["icon"];
425
426
  type CurrencySymbolType = (typeof CURRENCIES)[number]["symbol"];
426
- export { CurrencySymbolType, CurrencyNameType, CurrencyIconType, CurrencyCodeType, CURRENCIES };
427
+ interface ICurrency extends IBase {
428
+ code: string;
429
+ name: string;
430
+ icon?: string;
431
+ symbol: string;
432
+ }
433
+ export { ICurrency, CurrencySymbolType, CurrencyNameType, CurrencyIconType, CurrencyCodeType, CURRENCIES };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ooneex/currencies",
3
- "description": "",
4
- "version": "0.0.1",
3
+ "description": "Currency codes, symbols, and metadata with TypeScript type definitions for international currency handling",
4
+ "version": "0.0.5",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -25,11 +25,18 @@
25
25
  "test": "bun test tests",
26
26
  "build": "bunup",
27
27
  "lint": "tsgo --noEmit && bunx biome lint",
28
- "publish:prod": "bun publish --tolerate-republish --access public",
29
- "publish:pack": "bun pm pack --destination ./dist",
30
- "publish:dry": "bun publish --dry-run"
28
+ "npm:publish": "bun publish --tolerate-republish --access public"
31
29
  },
32
- "dependencies": {},
33
- "devDependencies": {},
34
- "peerDependencies": {}
30
+ "devDependencies": {
31
+ "@ooneex/types": "0.0.1"
32
+ },
33
+ "keywords": [
34
+ "bun",
35
+ "currencies",
36
+ "currency",
37
+ "finance",
38
+ "money",
39
+ "ooneex",
40
+ "typescript"
41
+ ]
35
42
  }
Binary file