@kosha-ai/integration-basic 0.4.2 → 0.5.1

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.
@@ -23,7 +23,7 @@ export function basic(options = {}) {
23
23
  label: 'Base URL',
24
24
  type: 'url',
25
25
  required: true,
26
- help: 'The API root, e.g. https://api.acme.test/v1. Must be https.',
26
+ help: 'The API root, e.g. https://api.acme.test/v1.',
27
27
  },
28
28
  {
29
29
  key: 'verifyPath',
package/docs/setup.md CHANGED
@@ -7,10 +7,9 @@ There is nothing to register. You need two things.
7
7
  The API root your users will reach, for example `https://api.acme.test/v1`.
8
8
  Paste it when you create the configuration.
9
9
 
10
- It must be `https`, and it must resolve to a public address. A URL pointing at
11
- `localhost`, a private range or a link-local address is refused, because Kosha
12
- would be the one making the request and an operator could otherwise reach
13
- inside the network Kosha runs in.
10
+ It can be http or https, at a public or a private address, as long as Kosha
11
+ can reach it. A link-local address (`169.254.x.x`, where cloud metadata
12
+ answers) is refused.
14
13
 
15
14
  ### 2. The credentials
16
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kosha-ai/integration-basic",
3
- "version": "0.4.2",
3
+ "version": "0.5.1",
4
4
  "description": "Basic-auth integration for Kosha: any API behind a username and password",
5
5
  "keywords": [
6
6
  "kosha",
@@ -47,9 +47,9 @@
47
47
  "key": "basic"
48
48
  },
49
49
  "peerDependencies": {
50
- "@kosha-ai/integration-sdk": "0.4.2"
50
+ "@kosha-ai/integration-sdk": "0.5.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@kosha-ai/integration-sdk": "0.4.2"
53
+ "@kosha-ai/integration-sdk": "0.5.1"
54
54
  }
55
55
  }