countries-api-json 1.0.3 → 1.0.4

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/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- // index.d.ts
2
- declare module 'countries-list-json' {
1
+ declare module 'countries-api-json' {
3
2
  export interface Country {
4
3
  name: string
5
4
  code: string
6
5
  dial_code: string
7
6
  flag: string
7
+ flag_url: string
8
8
  }
9
9
 
10
- export const countries: Country[];
11
- }
10
+ const countries: Country[];
11
+ export default countries;
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "countries-api-json",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A comprehensive package providing detailed information about countries in a structured JSON format.",
5
5
  "main": "index.js",
6
6
  "scripts": {