@loopstack/hub-client 0.13.0 → 0.13.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.
- package/README.md +13 -9
- package/api.ts +7085 -3848
- package/base.ts +33 -29
- package/common.ts +88 -75
- package/configuration.ts +103 -96
- package/dist/api.d.ts +2957 -1433
- package/dist/api.js +1410 -259
- package/dist/base.d.ts +1 -1
- package/dist/base.js +6 -20
- package/dist/common.d.ts +2 -2
- package/dist/common.js +9 -24
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +2957 -1433
- package/dist/esm/api.js +1397 -259
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +6 -20
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +10 -25
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -1
- package/index.ts +3 -6
- package/package.json +6 -9
- package/tsconfig.json +2 -7
- package/CHANGELOG.md +0 -49
- package/LICENSE +0 -19
package/README.md
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
## @loopstack/hub-client@
|
|
1
|
+
## @loopstack/hub-client@1.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
5
5
|
Environment
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
- Node.js
|
|
8
|
+
- Webpack
|
|
9
|
+
- Browserify
|
|
9
10
|
|
|
10
11
|
Language level
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
- ES5 - you must have a Promises/A+ library installed
|
|
14
|
+
- ES6
|
|
13
15
|
|
|
14
16
|
Module system
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
|
|
18
|
+
- CommonJS
|
|
19
|
+
- ES6 module system
|
|
17
20
|
|
|
18
21
|
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
19
22
|
|
|
20
23
|
### Building
|
|
21
24
|
|
|
22
25
|
To build and compile the typescript sources to javascript use:
|
|
26
|
+
|
|
23
27
|
```
|
|
24
28
|
npm install
|
|
25
29
|
npm run build
|
|
@@ -36,7 +40,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
40
|
_published:_
|
|
37
41
|
|
|
38
42
|
```
|
|
39
|
-
npm install @loopstack/hub-client@
|
|
43
|
+
npm install @loopstack/hub-client@1.0 --save
|
|
40
44
|
```
|
|
41
45
|
|
|
42
46
|
_unPublished (not recommended):_
|