@podium/client
Advanced tools
Comparing version 4.5.33 to 4.5.34
@@ -0,1 +1,8 @@ | ||
## [4.5.34](https://github.com/podium-lib/client/compare/v4.5.33...v4.5.34) (2023-10-09) | ||
### Bug Fixes | ||
* update type definitions ([d63a621](https://github.com/podium-lib/client/commit/d63a621762909e01acd6d29629c6061a757df146)) | ||
## [4.5.33](https://github.com/podium-lib/client/compare/v4.5.32...v4.5.33) (2023-09-19) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@podium/client", | ||
"version": "4.5.33", | ||
"version": "4.5.34", | ||
"main": "lib/client.js", | ||
@@ -24,3 +24,3 @@ "license": "MIT", | ||
"CHANGELOG.md", | ||
"index.d.ts", | ||
"client.d.ts", | ||
"README.md", | ||
@@ -30,3 +30,3 @@ "LICENSE", | ||
], | ||
"types": "index.d.ts", | ||
"types": "client.d.ts", | ||
"scripts": { | ||
@@ -43,3 +43,3 @@ "lint": "eslint .", | ||
"@podium/schemas": "4.1.34", | ||
"@podium/utils": "4.4.39", | ||
"@podium/utils": "4.4.40", | ||
"abslog": "2.4.0", | ||
@@ -73,4 +73,4 @@ "http-cache-semantics": "^4.0.3", | ||
"semantic-release": "18.0.1", | ||
"tap": "16.3.8" | ||
"tap": "16.3.9" | ||
} | ||
} |
@@ -34,3 +34,3 @@ # @podium/client | ||
const stream = component.stream(new HttpIncoming()); | ||
stream.once('beforeStream', res => { | ||
stream.once('beforeStream', (res) => { | ||
console.log(res.headers); | ||
@@ -40,3 +40,3 @@ console.log(res.css); | ||
}); | ||
stream.on('error', error => { | ||
stream.on('error', (error) => { | ||
console.log(error); | ||
@@ -63,3 +63,3 @@ }); | ||
.fetch(new HttpIncoming()) | ||
.then(res => { | ||
.then((res) => { | ||
console.log(res.content); | ||
@@ -70,3 +70,3 @@ console.log(res.headers); | ||
}) | ||
.catch(error => { | ||
.catch((error) => { | ||
console.log(error); | ||
@@ -306,3 +306,3 @@ }); | ||
const client = new Client(); | ||
client.on('state', state => { | ||
client.on('state', (state) => { | ||
console.log(state); | ||
@@ -338,3 +338,3 @@ }); | ||
const client = new Client(); | ||
client.on('change', manifest => { | ||
client.on('change', (manifest) => { | ||
console.log(manifest); | ||
@@ -430,3 +430,3 @@ }); | ||
const stream = component.stream(); | ||
stream.once('beforeStream', data => { | ||
stream.once('beforeStream', (data) => { | ||
console.log(data.headers); | ||
@@ -502,6 +502,6 @@ console.log(data.css); | ||
Promise.all([foo.fetch(), bar.fetch()]) | ||
.then(res => { | ||
.then((res) => { | ||
console.log(res.content); | ||
}) | ||
.catch(error => { | ||
.catch((error) => { | ||
console.log(error); | ||
@@ -508,0 +508,0 @@ }); |
105683
1630
+ Added@podium/utils@4.4.40(transitive)
- Removed@podium/utils@4.4.39(transitive)
Updated@podium/utils@4.4.40