@livinglogic/livingapi 1.8.0 → 1.9.0
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/CHANGELOG.md +10 -0
- package/README.md +6 -6
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-npm/livingapi.js +2 -0
- package/dist/esm-npm/livingapi.js.map +1 -0
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/package.json +1 -1
- package/rollup.config.js +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.9.0 (2024-07-04)
|
|
4
|
+
|
|
5
|
+
The LivingApps platform support provides an NPM proxy. To use the module version
|
|
6
|
+
of the LivingAPI from that proxy use the new build version stored in
|
|
7
|
+
`dist/esm-npm` like this:
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
11
|
+
```
|
|
12
|
+
|
|
3
13
|
## 1.8.0 (2024-06-18)
|
|
4
14
|
|
|
5
15
|
Add field `required` in class `Field`.
|
package/README.md
CHANGED
|
@@ -17,8 +17,8 @@ Install the npm packages:
|
|
|
17
17
|
npm install
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js
|
|
21
|
-
`dist/esm-static/livingapi.js`:
|
|
20
|
+
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js`,
|
|
21
|
+
`dist/esm-static/livingapi.js` and `dist/esm-npm/livingapi.js`:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
24
|
npm run build
|
|
@@ -34,14 +34,14 @@ In your HTML include the following:
|
|
|
34
34
|
<script src="{path_to_livingapi}/dist/umd/livingapi.js"></script>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
now you can use the Javascript variable `la
|
|
37
|
+
now you can use the Javascript variable `la` (and `ul4`).
|
|
38
38
|
|
|
39
39
|
Or if you want to use the LivingAPI on https://my.living-apps.de/ as a module,
|
|
40
40
|
do
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<script type="module">
|
|
44
|
-
import * as la from '/
|
|
44
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
45
45
|
...
|
|
46
46
|
</script>
|
|
47
47
|
```
|
|
@@ -50,8 +50,8 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
|
|
51
51
|
```html
|
|
52
52
|
<script type="module">
|
|
53
|
-
import * as ul4 from '/
|
|
54
|
-
import * as la from '/
|
|
53
|
+
import * as ul4 from '/npm/@livinglogic/ul4@1.16.1/dist/esm/ul4.js';
|
|
54
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
55
55
|
...
|
|
56
56
|
</script>
|
|
57
57
|
```
|