@podium/podlet 5.0.0 → 5.0.2
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 +14 -0
- package/README.md +4 -4
- package/lib/podlet.js +675 -124
- package/package.json +23 -20
- package/types/podlet.d.ts +663 -0
- package/index.d.ts +0 -114
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [5.0.2](https://github.com/podium-lib/podlet/compare/v5.0.1...v5.0.2) (2023-12-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Pass podlet name to proxy ([190eddd](https://github.com/podium-lib/podlet/commit/190eddd4c017c0da5d6c8206a015419d77ac395c))
|
|
7
|
+
|
|
8
|
+
## [5.0.1](https://github.com/podium-lib/podlet/compare/v5.0.0...v5.0.1) (2023-12-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update types to match ESM export ([a25608a](https://github.com/podium-lib/podlet/commit/a25608a2c9ac0fec9c3c3271a5423bdb118b29f6))
|
|
14
|
+
|
|
1
15
|
# [5.0.0](https://github.com/podium-lib/podlet/compare/v4.5.0...v5.0.0) (2023-11-28)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -36,8 +36,8 @@ $ npm install @podium/podlet
|
|
|
36
36
|
Building a simple podlet server using [Express].
|
|
37
37
|
|
|
38
38
|
```js
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
import express from 'express';
|
|
40
|
+
import Podlet from '@podium/podlet';
|
|
41
41
|
|
|
42
42
|
// create a new podlet instance
|
|
43
43
|
const podlet = new Podlet({
|
|
@@ -281,8 +281,8 @@ The method takes the following arguments:
|
|
|
281
281
|
An instance of the [HttpIncoming] class.
|
|
282
282
|
|
|
283
283
|
```js
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
import { HttpIncoming } from '@podium/utils';
|
|
285
|
+
import Podlet from '@podium/podlet';
|
|
286
286
|
|
|
287
287
|
const podlet = new Podlet({
|
|
288
288
|
name: 'myPodlet',
|