hcloud-sdk 0.0.3 → 0.0.6

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.
Binary file
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  import hcloud from './hcloud';
2
2
  export default class IDPService extends hcloud {
3
- authenticate: () => Promise<void>;
3
+ authenticate: () => Promise<string>;
4
4
  }
@@ -14,7 +14,8 @@ class IDPService extends hcloud_1.default {
14
14
  constructor() {
15
15
  super(...arguments);
16
16
  this.authenticate = () => __awaiter(this, void 0, void 0, function* () {
17
- const resp = yield this.axios.get('https://google.com');
17
+ // const resp = await this.axios.get('https://google.com');
18
+ return this.opts.api;
18
19
  });
19
20
  }
20
21
  }
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hcloud-sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.6",
4
4
  "description": "hcloud platform sdk",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -18,15 +18,11 @@
18
18
  "hcloud",
19
19
  "sdk"
20
20
  ],
21
- "files": [
22
- "build/**/*"
23
- ],
24
21
  "license": "ISC",
25
22
  "bugs": {
26
23
  "url": "https://github.com/moovit-sp-gmbh/hcloud-sdk-js/issues"
27
24
  },
28
25
  "author": "moovit-sp-gmbh",
29
- "scope": "msp",
30
26
  "homepage": "https://github.com/moovit-sp-gmbh/hcloud-sdk-js#readme",
31
27
  "devDependencies": {
32
28
  "@types/chai": "^4.3.1",