Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libSQL client Wasm package #152

Merged
merged 1 commit into from
Jan 19, 2024
Merged

libSQL client Wasm package #152

merged 1 commit into from
Jan 19, 2024

Conversation

penberg
Copy link
Contributor

@penberg penberg commented Jan 19, 2024

Depends on #150.

@penberg penberg force-pushed the wasm branch 6 times, most recently from 77ab907 to 7955e4e Compare January 19, 2024 11:29
This add a new `@libsql/client-wasm` package, which implements the same
API as `@libsql/client` but depends on JavaScript and WebAssembly only.
Currently, it only supports local databases but in the future we may
want to add support for remote access and embedded replicas.

Co-authored-by: Pekka Enberg <[email protected]>
Co-authored-by: Matthew Phillips <[email protected]>
"type": "module",
"main": "lib-cjs/wasm.js",
"types": "lib-esm/wasm.d.ts",
"exports": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we specify entries in the exports more than ESM and CJS?

@penberg penberg marked this pull request as ready for review January 19, 2024 13:26
@penberg penberg merged commit 6e69755 into main Jan 19, 2024
3 checks passed
@penberg penberg deleted the wasm branch January 19, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants