Skip to content

Commit

Permalink
2.0.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
WarstekHUN authored Dec 23, 2023
2 parents 7e8ccd4 + 6706556 commit dd1f82a
Show file tree
Hide file tree
Showing 9 changed files with 220 additions and 229 deletions.
2 changes: 1 addition & 1 deletion .coverage-badges/badge-branches.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .coverage-badges/badge-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .coverage-badges/badge-statements.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
- Babel security fix
# New Features

- Timeout for waiters
- Set the timeout with `client.maxWaiterTime`
- `waiterTimeout` function with a max waiting time parameter

- The server-side (^1.2) can now set cookies.
- New local events:
- onCookieSet
- onCookieDelete
- Cookie syncing: `syncCookies`

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ZilaWS Client
### ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between clientside and serverside using eventhandlers and async waiters.
### ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between client-side and server-side using eventhandlers and async waiters.


<div style="text-align: center;">
Expand All @@ -24,7 +24,7 @@

<h2 style="text-align: center">Looking for the <a href="https://www.npmjs.com/package/zilaws-server" target="_blank" rel="noopener noreferrer">zilaws-server</a> package?</h2>

<p>ZilaWS can estabilish WS connection to a non zilaws server, but won't work as expected.</p>
<p>ZilaWS can establish WS connection to a non zilaws server, but won't work as expected.</p>

<h2>
Waiter example
Expand Down
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"$schema": "https://json.schemastore.org/package",
"name": "zilaws-client",
"version": "1.1.3",
"description": "ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between clientside and serverside using eventhandlers and async waiters.",
"description": "ZilaWS is a blazingly fast and very lightweight library that provides an extremely easy-to-use way to transmit data via websockets between client-side and server-side using eventhandlers and async waiters.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"umd:main": "dist/umd/index.js",
"types": "dist/types/index.d.ts",
"browser": "dist/umd/index.js",
"scripts": {
"build": "npm run format:fix && npm run test:cov-build && npm run format:fix && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"forcebuild": "npm run format:fix && npm run build:cjs && npm run build:esm && npm run build:umd && npm run build:types",
"build:cjs": "rimraf ./dist/cjs && tsc -p config/tsconfig.cjs.json",
"build:esm": "rimraf ./dist/esm && tsc -p config/tsconfig.esm.json",
"build:umd": "rimraf ./dist/umd && webpack --config config/webpack.config.js",
Expand Down
Loading

0 comments on commit dd1f82a

Please sign in to comment.