@microlink/cli 2.1.42 → 2.1.43

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@microlink/cli",
3
3
  "description": "Interacting with Microlink API from your terminal.",
4
4
  "homepage": "https://github.com/microlinkhq/cli",
5
- "version": "2.1.42",
5
+ "version": "2.1.43",
6
6
  "main": "src/index.js",
7
7
  "bin": {
8
8
  "microlink": "bin/microlink",
@@ -33,6 +33,7 @@
33
33
  "microlink"
34
34
  ],
35
35
  "dependencies": {
36
+ "@kikobeats/content-type": "~1.0.1",
36
37
  "@microlink/mql": "~0.14.0",
37
38
  "clipboardy": "~2.3.0",
38
39
  "is-local-address": "~2.2.0",
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const cli = require('../src/cli')
4
- cli.flags.endpoint = 'https://beta.microlink.io'
5
- delete cli.flags.apiKey
6
-
7
- require('../src/api')(cli, {
8
- headers: {
9
- authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
10
- }
11
- })
package/bin/microlink-dev DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const cli = require('../src/cli')
4
- cli.flags.endpoint = 'http://localhost:3000'
5
- delete cli.flags.apiKey
6
-
7
- require('../src/api')(cli, {
8
- retry: 0,
9
- headers: {
10
- authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
11
- }
12
- })
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const cli = require('../src/cli')
4
- cli.flags.endpoint = 'https://next.microlink.io'
5
- delete cli.flags.apiKey
6
-
7
- require('../src/api')(cli, {
8
- headers: {
9
- authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
10
- }
11
- })
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- const cli = require('../src/cli')
4
- cli.flags.endpoint = 'https://vercel.microlink.io'
5
- require('../src/api')(cli)