Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libsql/hrana-client

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libsql/hrana-client - npm Package Versions

1345

0.5.1

Diff

Changelog

Source

0.5.1 -- 2023-09-11

  • Update isomorphic-{fetch, ws} dependencies for Bun support.
honzasp
published 0.5.0 •

Changelog

Source

0.5.0 -- 2023-07-29

  • Added support for Hrana 3, which included some API changes:
    • Added variant 3 to the ProtocolVersion type
    • Added BatchCond.isAutocommit()
    • Added Stream.getAutocommit()
    • Added parameter useCursor to Stream.batch()
  • Changed meaning of Stream.close(), which now closes the stream immediately
    • Added Stream.closeGracefully()
  • Changed type of StmtResult.lastInsertRowid to bigint
  • Changed BatchCond.and() and BatchCond.or() to pass the Batch object
  • Added Stream.client()
  • Added MisuseError and InternalError
  • Added reexport of WebSocket from @libsql/isomorphic-ws
  • Added reexports of fetch, Request, Response and other types from @libsql/isomorphic-fetch
  • Dropped workarounds for broken WebSocket support in Miniflare 2
honzasp
published 0.5.0-pre.2 •

honzasp
published 0.5.0-pre.1 •

honzasp
published 0.5.0-pre.0 •

honzasp
published 0.4.4 •

Changelog

Source

0.4.4 -- 2023-08-15

  • Pass a string instead of URL to the Request constructor
honzasp
published 0.4.3 •

Changelog

Source

0.4.3 -- 2023-07-18

  • Added customFetch argument to openHttp() to override the fetch() function
honzasp
published 0.4.2 •

Changelog

Source

0.4.2 -- 2023-06-22

  • Added IntMode, Client.intMode and Stream.intMode
honzasp
published 0.4.1 •

Changelog

Source

0.4.1 -- 2023-06-12

  • Fixed environments that don't support queueMicrotask() by implementing a ponyfill libsql-client-ts#47
honzasp
published 0.4.0 •

Changelog

Source

0.4.0 -- 2023-06-07

  • Added support for Hrana over HTTP, which included some API changes:
    • Removed open(), replaced with openHttp() and openWs()
    • Added SqlOwner interface for the storeSql() method, which is implemented by WsClient and HttpStream
  • Added HTTP status to HttpServerError
  • Changed parseLibsqlUrl() to support both WebSocket and HTTP URLs
  • Changed Value type to include bigint
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc