epg-grabber 0.40.1 → 0.40.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epg-grabber",
3
- "version": "0.40.1",
3
+ "version": "0.40.3",
4
4
  "description": "Node.js CLI tool for grabbing EPG from different sites",
5
5
  "main": "src/index.js",
6
6
  "preferGlobal": true,
package/src/index.d.ts CHANGED
@@ -6,7 +6,7 @@ export declare class Channel {
6
6
  site?: string
7
7
  site_id: string
8
8
  lang?: string
9
- logo?: string
9
+ icon?: string
10
10
  lcn?: number
11
11
  index: number
12
12
  }
@@ -95,7 +95,7 @@ export declare function generateXMLTV({
95
95
  date?: string | null
96
96
  }): string
97
97
 
98
- export declare function parseChannels(xml: string): { site: string; channels: Channel[] }
98
+ export declare function parseChannels(xml: string): Channel[]
99
99
 
100
100
  export type GrabCallbackData = {
101
101
  channel: Channel