microlink.io 0.5.2 → 0.6.0

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 +5 -5
  2. package/src/index.d.ts +6 -2
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "microlink.io",
3
3
  "description": "The Microlink API organized into products, each returning a direct result",
4
4
  "homepage": "https://github.com/microlinkhq/microlink",
5
- "version": "0.5.2",
5
+ "version": "0.6.0",
6
6
  "types": "./src/index.d.ts",
7
7
  "main": "./src/index.js",
8
8
  "exports": {
@@ -44,9 +44,9 @@
44
44
  "seo"
45
45
  ],
46
46
  "dependencies": {
47
- "@microlink/function": "0.3.2",
48
- "@microlink/google": "1.2.1",
49
- "@microlink/mql": "0.18.1",
47
+ "@microlink/function": "0.3.3",
48
+ "@microlink/google": "1.2.2",
49
+ "@microlink/mql": "0.19.0",
50
50
  "mri": "~1.2.0",
51
51
  "terminal-link": "~5.0.0"
52
52
  },
@@ -78,5 +78,5 @@
78
78
  },
79
79
  "directory": "test"
80
80
  },
81
- "gitHead": "755abe6066dfc709e3c7bff2ddf08377902fd42e"
81
+ "gitHead": "c93fff8082b69c8e76bc159be82daf8a26b419bb"
82
82
  }
package/src/index.d.ts CHANGED
@@ -18,20 +18,24 @@ interface Options {
18
18
  colorScheme?: 'light' | 'dark' | 'no-preference'
19
19
  device?: string
20
20
  filename?: string
21
+ filter?: string
21
22
  force?: boolean
22
23
  javascript?: boolean
23
- meta?: boolean
24
+ mediaType?: string
25
+ meta?: boolean | { logo?: boolean | { square: boolean } }
24
26
  modules?: string | string[]
25
27
  prerender?: boolean | 'auto'
26
- proxy?: string
28
+ proxy?: string | { url: string } | { location: string }
27
29
  retry?: number
28
30
  scripts?: string | string[]
31
+ scroll?: string
29
32
  staleTtl?: string | number
30
33
  styles?: string | string[]
31
34
  timeout?: number
32
35
  ttl?: string | number
33
36
  video?: boolean
34
37
  viewport?: Record<string, unknown>
38
+ waitForSelector?: string
35
39
  waitForTimeout?: number
36
40
  waitUntil?: string | string[]
37
41
  [key: string]: unknown