@microlink/mql 0.13.20 → 0.14.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.
@@ -699,7 +699,7 @@ const factory$1 = streamResponseType => ({
699
699
 
700
700
  const getApiUrl = (
701
701
  url,
702
- { data, apiKey, endpoint, retry, cache, ...opts } = {},
702
+ { data, apiKey, endpoint, ...opts } = {},
703
703
  { responseType = 'json', headers: gotHeaders, ...gotOpts } = {}
704
704
  ) => {
705
705
  const isPro = !!apiKey;
@@ -718,7 +718,7 @@ const factory$1 = streamResponseType => ({
718
718
  if (opts.stream) {
719
719
  responseType = streamResponseType;
720
720
  }
721
- return [apiUrl, { ...gotOpts, responseType, cache, retry, headers }]
721
+ return [apiUrl, { ...gotOpts, responseType, headers }]
722
722
  };
723
723
 
724
724
  const createMql = defaultOpts => async (url, opts, gotOpts) => {
@@ -794,7 +794,7 @@ const mql = factory({
794
794
  MicrolinkError,
795
795
  got,
796
796
  flatten,
797
- VERSION: '0.13.20'
797
+ VERSION: '0.14.0'
798
798
  });
799
799
 
800
800
  lightweight$1.exports = mql;
@@ -705,7 +705,7 @@
705
705
 
706
706
  const getApiUrl = (
707
707
  url,
708
- { data, apiKey, endpoint, retry, cache, ...opts } = {},
708
+ { data, apiKey, endpoint, ...opts } = {},
709
709
  { responseType = 'json', headers: gotHeaders, ...gotOpts } = {}
710
710
  ) => {
711
711
  const isPro = !!apiKey;
@@ -724,7 +724,7 @@
724
724
  if (opts.stream) {
725
725
  responseType = streamResponseType;
726
726
  }
727
- return [apiUrl, { ...gotOpts, responseType, cache, retry, headers }]
727
+ return [apiUrl, { ...gotOpts, responseType, headers }]
728
728
  };
729
729
 
730
730
  const createMql = defaultOpts => async (url, opts, gotOpts) => {
@@ -800,7 +800,7 @@
800
800
  MicrolinkError,
801
801
  got,
802
802
  flatten,
803
- VERSION: '0.13.20'
803
+ VERSION: '0.14.0'
804
804
  });
805
805
 
806
806
  lightweight$1.exports = mql;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@microlink/mql",
3
3
  "description": "Microlink Query Language. The official HTTP client to interact with Microlink API for Node.js, browsers & Deno.",
4
4
  "homepage": "https://microlink.io/mql",
5
- "version": "0.13.20",
5
+ "version": "0.14.0",
6
6
  "types": "lightweight/index.d.ts",
7
7
  "exports": {
8
8
  "require": "./src/node.js",
package/src/factory.js CHANGED
@@ -98,7 +98,7 @@ const factory = streamResponseType => ({
98
98
 
99
99
  const getApiUrl = (
100
100
  url,
101
- { data, apiKey, endpoint, retry, cache, ...opts } = {},
101
+ { data, apiKey, endpoint, ...opts } = {},
102
102
  { responseType = 'json', headers: gotHeaders, ...gotOpts } = {}
103
103
  ) => {
104
104
  const isPro = !!apiKey
@@ -117,7 +117,7 @@ const factory = streamResponseType => ({
117
117
  if (opts.stream) {
118
118
  responseType = streamResponseType
119
119
  }
120
- return [apiUrl, { ...gotOpts, responseType, cache, retry, headers }]
120
+ return [apiUrl, { ...gotOpts, responseType, headers }]
121
121
  }
122
122
 
123
123
  const createMql = defaultOpts => async (url, opts, gotOpts) => {