Skip to content

Commit

Permalink
Version 0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
honzasp committed Aug 15, 2023
1 parent 42e5297 commit 4d69adb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased
## 0.4.4 -- 2023-08-15

- Pass a `string` instead of `URL` to the `Request` constructor

## 0.4.3 -- 2023-07-18

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[github]: https://github.com/libsql/hrana-client-ts/
[npm]: https://www.npmjs.com/package/@libsql/hrana-client

This package implements a Hrana client for TypeScript. Hrana is the protocol for connecting to sqld using WebSockets or HTTP.
This package implements a Hrana client for TypeScript. Hrana is the protocol for connecting to sqld using WebSocket or HTTP.

> This package is intended mostly for internal use. Consider using the [`@libsql/client`][libsql-client] package, which will use Hrana automatically.
Expand All @@ -21,7 +21,7 @@ import * as hrana from "@libsql/hrana-client";
// databases.
const url = process.env.URL ?? "ws://localhost:8080"; // Address of the sqld server
const jwt = process.env.JWT; // JWT token for authentication
// Here we are using Hrana over WebSockets:
// Here we are using Hrana over WebSocket:
const client = hrana.openWs(url, jwt);
// But we can also use Hrana over HTTP:
// const client = hrana.openHttp(url, jwt);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@libsql/hrana-client",
"version": "0.4.4-pre",
"version": "0.4.4",
"keywords": [
"hrana",
"libsql",
"sqld",
"database"
],
"description": "Hrana client for connecting to sqld over HTTP or WebSockets",
"description": "Hrana client for connecting to sqld over HTTP or WebSocket",
"repository": {
"type": "git",
"url": "github:libsql/hrana-client-ts"
Expand Down

0 comments on commit 4d69adb

Please sign in to comment.