@hostlink/light 3.0.12 → 3.0.15

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.
Files changed (2) hide show
  1. package/README.md +37 -37
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -1,37 +1,37 @@
1
- # HostLink Light Cient
2
-
3
- A javascript library for Light Framework.
4
-
5
-
6
- ## Installation
7
-
8
- ```bash
9
- npm install @hostlink/light
10
- ```
11
-
12
- ## Usage
13
-
14
- ```javascript
15
- import { createClient } from '@hostlink/light';
16
-
17
- const api=createClient('https://example.com/api');
18
-
19
- ```
20
-
21
- ## Login
22
-
23
- ```javascript
24
- await api.auth.login('username','password');
25
- ```
26
-
27
- ## Logout
28
-
29
- ```javascript
30
- await api.auth.logout();
31
- ```
32
-
33
-
34
-
35
-
36
-
37
-
1
+ # HostLink Light Cient
2
+
3
+ A javascript library for Light Framework.
4
+
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ npm install @hostlink/light
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ ```javascript
15
+ import { createClient } from '@hostlink/light';
16
+
17
+ const api=createClient('https://example.com/api');
18
+
19
+ ```
20
+
21
+ ## Login
22
+
23
+ ```javascript
24
+ await api.auth.login('username','password');
25
+ ```
26
+
27
+ ## Logout
28
+
29
+ ```javascript
30
+ await api.auth.logout();
31
+ ```
32
+
33
+
34
+
35
+
36
+
37
+
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "@hostlink/light",
3
- "version": "3.0.12",
3
+ "version": "3.0.15",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
+ "repository": {
9
+ "url": "https://github.com/HostLink/light"
10
+ },
8
11
  "main": "./dist/light.umd.cjs",
9
12
  "module": "./dist/light.js",
10
13
  "types": "./dist/index.d.ts",