Compare commits

..

11 Commits

Author SHA1 Message Date
Guido D'Orsi
7d496b03e4 Merge pull request #1638 from garden-co/changeset-release/main
Version Packages
2025-03-14 15:41:18 +01:00
github-actions[bot]
261c9aa51d Version Packages 2025-03-14 14:31:36 +00:00
Guido D'Orsi
5ac5d732a9 Merge pull request #1650 from garden-co/purejs-fallback
fix: use PureJSCrypto as fallback when WasmCrypto fails to initialize
2025-03-14 15:29:23 +01:00
Guido D'Orsi
f2e9bc9f92 Merge pull request #1660 from garden-co/feat/inspector-position
add changeset
2025-03-14 15:21:44 +01:00
Guido D'Orsi
6d4b8ecfde Merge pull request #1655 from garden-co/fix/e2e-rn-test
test: fix the mobile e2e tests
2025-03-14 15:20:09 +01:00
Guido D'Orsi
2da366e1cd fix: comment out the re-login stuff 2025-03-14 10:17:57 +01:00
Trisha Lim
e902405c93 add changeset 2025-03-14 11:17:02 +07:00
Trisha Lim
ecbf6d0248 add inspector to version history example 2025-03-14 11:15:27 +07:00
Guido D'Orsi
d0fd66df00 test: fix the mobile e2e tests 2025-03-13 11:05:01 +01:00
Guido D'Orsi
7f036c170e fix: use PureJSCrypto as fallback when WasmCrypto fails to initialize 2025-03-12 16:21:21 +01:00
Guido D'Orsi
ce612394dc chore: move the cloudflare test to use WASM 2025-03-12 16:19:17 +01:00
99 changed files with 592 additions and 136 deletions

View File

@@ -1,5 +0,0 @@
---
"jazz-inspector": patch
---
add z-index of 1 to inspector

View File

@@ -1,5 +0,0 @@
---
"jazz-tools": patch
---
Throw when assigning invalid values to ref fields

View File

@@ -1,5 +0,0 @@
---
"jazz-tools": patch
---
Use RegisteredAccount types for `by` props

View File

@@ -1,5 +0,0 @@
---
"jazz-example-chat": patch
---
In the chat app example, show a "Message not readable" placeholder, if messages from a chat list are not readable by the user.

View File

@@ -1,5 +0,0 @@
---
"jazz-tools": patch
---
Fixes coList.splice to handle insertions at start of list

View File

@@ -1,5 +1,17 @@
# chat-rn-clerk
## 1.0.85
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react-native@0.11.4
- jazz-react-native-auth-clerk@0.11.4
- jazz-react-native-media-images@0.11.4
## 1.0.84
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "chat-rn-clerk",
"main": "index.js",
"version": "1.0.84",
"version": "1.0.85",
"scripts": {
"build": "expo export -p ios",
"start": "expo start",

View File

@@ -1,5 +1,15 @@
# chat-rn
## 1.0.81
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react-native@0.11.4
## 1.0.80
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "chat-rn",
"version": "1.0.80",
"version": "1.0.81",
"main": "index.js",
"scripts": {
"build": "expo export -p ios",

View File

@@ -25,11 +25,8 @@ appId: com.jazz.chatrn
- assertVisible: "Logout"
# send a message
- runFlow:
label: "Erase existing message"
file: erase_text.yml
env:
id: "message-input"
- tapOn:
id: "message-input"
- inputText: "bro, low key, it do be like that tho"
- tapOn:
id: "send-button"
@@ -44,5 +41,10 @@ appId: com.jazz.chatrn
# logout
- tapOn: "Logout"
- assertVisible: "boorad"
- assertVisible: "bro, low key, it do be like that tho"
- assertVisible: "Anonymous user"
# This doesn't work on CI, maybe because Android has a different alert dialog
# - tapOn: "Join chat"
# - inputText: "co_zFs6KFyhxPw4xtw83tcEMzeHUNv" # Use a static id because maestro doesn't have access to the system clipboard
# - pressKey: "enter"
# - assertVisible: "boorad"
# - assertVisible: "bro, low key, it do be like that tho"

View File

@@ -1,5 +1,16 @@
# chat-vue
## 0.0.66
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser@0.11.4
- jazz-vue@0.11.4
## 0.0.65
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "chat-vue",
"version": "0.0.65",
"version": "0.0.66",
"private": true,
"type": "module",
"scripts": {

View File

@@ -1,5 +1,17 @@
# jazz-example-chat
## 0.0.163
### Patch Changes
- 2074e45: In the chat app example, show a "Message not readable" placeholder, if messages from a chat list are not readable by the user.
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser-media-images@0.11.4
- jazz-react@0.11.4
## 0.0.162
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-example-chat",
"private": true,
"version": "0.0.162",
"version": "0.0.163",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,16 @@
# minimal-auth-clerk
## 0.0.62
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
- jazz-react-auth-clerk@0.11.4
## 0.0.61
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "clerk",
"private": true,
"version": "0.0.61",
"version": "0.0.62",
"type": "module",
"scripts": {
"dev": "vite",
@@ -13,7 +13,7 @@
"dependencies": {
"@clerk/clerk-react": "^5.4.1",
"jazz-react": "workspace:*",
"jazz-react-auth-clerk": "workspace:0.11.3",
"jazz-react-auth-clerk": "workspace:0.11.4",
"jazz-tools": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1"

View File

@@ -1,5 +1,15 @@
# file-share-svelte
## 0.0.46
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-svelte@0.11.4
## 0.0.45
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "file-share-svelte",
"version": "0.0.45",
"version": "0.0.46",
"private": true,
"type": "module",
"scripts": {

View File

@@ -1,5 +1,15 @@
# jazz-tailwind-demo-auth-starter
## 0.0.2
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.52
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "filestream",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,16 @@
# form
## 0.1.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser-media-images@0.11.4
- jazz-react@0.11.4
## 0.1.3
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "form",
"private": true,
"version": "0.1.3",
"version": "0.1.4",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,16 @@
# image-upload
## 0.0.60
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser-media-images@0.11.4
- jazz-react@0.11.4
## 0.0.59
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "image-upload",
"private": true,
"version": "0.0.59",
"version": "0.0.60",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,13 @@
# jazz-example-inspector
## 0.0.113
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
- cojson-transport-ws@0.11.4
## 0.0.112
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-inspector-app",
"private": true,
"version": "0.0.112",
"version": "0.0.113",
"type": "module",
"scripts": {
"dev": "vite",
@@ -16,8 +16,8 @@
"@radix-ui/react-toast": "^1.1.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cojson": "workspace:0.11.3",
"cojson-transport-ws": "workspace:0.11.3",
"cojson": "workspace:0.11.4",
"cojson-transport-ws": "workspace:0.11.4",
"hash-slash": "workspace:0.2.2",
"lucide-react": "^0.274.0",
"qrcode": "^1.5.3",

View File

@@ -1,5 +1,16 @@
# multiauth
## 0.0.3
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
- jazz-react-auth-clerk@0.11.4
## 0.0.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "multiauth",
"private": true,
"version": "0.0.2",
"version": "0.0.3",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,18 @@
# jazz-example-musicplayer
## 0.0.84
### Patch Changes
- Updated dependencies [d133d47]
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [e902405]
- jazz-inspector@0.11.4
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.83
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-example-music-player",
"private": true,
"version": "0.0.83",
"version": "0.0.84",
"type": "module",
"scripts": {
"dev": "vite",
@@ -22,8 +22,8 @@
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"jazz-inspector": "workspace:*",
"jazz-react": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3",
"jazz-react": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4",
"lucide-react": "^0.274.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",

View File

@@ -1,5 +1,15 @@
# organization
## 0.0.56
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.55
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "organization",
"private": true,
"version": "0.0.55",
"version": "0.0.56",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,11 @@
# passkey-svelte
## 0.0.50
### Patch Changes
- jazz-svelte@0.11.4
## 0.0.49
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "passkey-svelte",
"version": "0.0.49",
"version": "0.0.50",
"type": "module",
"private": true,
"scripts": {

View File

@@ -1,5 +1,15 @@
# minimal-auth-passkey
## 0.0.61
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.60
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "passkey",
"private": true,
"version": "0.0.60",
"version": "0.0.61",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,15 @@
# passphrase
## 0.0.58
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.57
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "passphrase",
"private": true,
"version": "0.0.57",
"version": "0.0.58",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,15 @@
# jazz-password-manager
## 0.0.82
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.81
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-password-manager",
"private": true,
"version": "0.0.81",
"version": "0.0.82",
"type": "module",
"scripts": {
"dev": "vite",
@@ -12,8 +12,8 @@
"clean-install": "rm -rf node_modules pnpm-lock.yaml && pnpm install"
},
"dependencies": {
"jazz-react": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3",
"jazz-react": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.41.5",

View File

@@ -1,5 +1,16 @@
# jazz-example-pets
## 0.0.180
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser-media-images@0.11.4
- jazz-react@0.11.4
## 0.0.179
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-example-pets",
"private": true,
"version": "0.0.179",
"version": "0.0.180",
"type": "module",
"scripts": {
"dev": "vite",
@@ -19,9 +19,9 @@
"@radix-ui/react-toast": "^1.1.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"jazz-browser-media-images": "workspace:0.11.3",
"jazz-react": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3",
"jazz-browser-media-images": "workspace:0.11.4",
"jazz-react": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4",
"lucide-react": "^0.274.0",
"qrcode": "^1.5.3",
"react": "^18.3.1",
@@ -41,7 +41,7 @@
"@vitejs/plugin-react-swc": "^3.3.2",
"autoprefixer": "^10.4.20",
"is-ci": "^3.0.1",
"jazz-run": "workspace:0.11.3",
"jazz-run": "workspace:0.11.4",
"postcss": "^8.4.27",
"tailwindcss": "^3.4.17",
"typescript": "~5.6.2",

View File

@@ -1,5 +1,16 @@
# reactions
## 0.0.60
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser-media-images@0.11.4
- jazz-react@0.11.4
## 0.0.59
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "reactions",
"private": true,
"version": "0.0.59",
"version": "0.0.60",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,16 @@
# todo-vue
## 0.0.64
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser@0.11.4
- jazz-vue@0.11.4
## 0.0.63
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "todo-vue",
"version": "0.0.63",
"version": "0.0.64",
"private": true,
"type": "module",
"scripts": {

View File

@@ -1,5 +1,15 @@
# jazz-example-todo
## 0.0.179
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.178
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-example-todo",
"private": true,
"version": "0.0.178",
"version": "0.0.179",
"type": "module",
"scripts": {
"dev": "vite",
@@ -16,8 +16,8 @@
"@radix-ui/react-toast": "^1.1.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"jazz-react": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3",
"jazz-react": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4",
"lucide-react": "^0.274.0",
"qrcode": "^1.5.3",
"react": "^18.3.1",

View File

@@ -1,5 +1,18 @@
# version-history
## 0.0.57
### Patch Changes
- Updated dependencies [d133d47]
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [e902405]
- jazz-inspector@0.11.4
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.56
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "version-history",
"private": true,
"version": "0.0.56",
"version": "0.0.57",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,13 @@
# cojson-storage-indexeddb
## 0.11.4
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
- cojson-storage@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "cojson-storage-indexeddb",
"version": "0.11.3",
"version": "0.11.4",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,13 @@
# cojson-storage-sqlite
## 0.11.4
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
- cojson-storage@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "cojson-storage-rn-sqlite",
"type": "module",
"version": "0.11.3",
"version": "0.11.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",

View File

@@ -1,5 +1,13 @@
# cojson-storage-sqlite
## 0.11.4
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
- cojson-storage@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,13 +1,13 @@
{
"name": "cojson-storage-sqlite",
"type": "module",
"version": "0.11.3",
"version": "0.11.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"dependencies": {
"better-sqlite3": "^11.7.0",
"cojson": "workspace:0.11.3",
"cojson": "workspace:0.11.4",
"cojson-storage": "workspace:*"
},
"devDependencies": {

View File

@@ -1,5 +1,12 @@
# cojson-storage
## 0.11.4
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "cojson-storage",
"version": "0.11.3",
"version": "0.11.4",
"main": "dist/index.js",
"type": "module",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,12 @@
# cojson-transport-nodejs-ws
## 0.11.4
### Patch Changes
- Updated dependencies [7f036c1]
- cojson@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "cojson-transport-ws",
"type": "module",
"version": "0.11.3",
"version": "0.11.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",

View File

@@ -1,4 +1,4 @@
import { ControlledAgent, LocalNode } from "cojson";
import { ControlledAgent, type CryptoProvider, LocalNode } from "cojson";
import { WasmCrypto } from "cojson/crypto/WasmCrypto";
import { afterEach, beforeEach, describe, expect, test } from "vitest";
import { WebSocket } from "ws";
@@ -8,7 +8,7 @@ import { startSyncServer } from "./syncServer";
describe("WebSocket Peer Integration", () => {
let server: any;
let syncServerUrl: string;
let crypto: WasmCrypto;
let crypto: CryptoProvider;
beforeEach(async () => {
crypto = await WasmCrypto.create();

View File

@@ -1,5 +1,11 @@
# cojson
## 0.11.4
### Patch Changes
- 7f036c1: Use PureJSCrypto as fallback when WasmCrypto fails to initialize
## 0.11.3
### Patch Changes

View File

@@ -25,7 +25,7 @@
},
"type": "module",
"license": "MIT",
"version": "0.11.3",
"version": "0.11.4",
"devDependencies": {
"@opentelemetry/sdk-metrics": "^1.29.0",
"typescript": "~5.6.2",

View File

@@ -20,6 +20,7 @@ import { RawCoID, TransactionID } from "../ids.js";
import { Stringified, stableStringify } from "../jsonStringify.js";
import { JsonValue } from "../jsonValue.js";
import { logger } from "../logger.js";
import { PureJSCrypto } from "./PureJSCrypto.js";
import {
CryptoProvider,
Encrypted,
@@ -49,8 +50,17 @@ export class WasmCrypto extends CryptoProvider<Blake3State> {
super();
}
static async create(): Promise<WasmCrypto> {
await initialize();
static async create(): Promise<WasmCrypto | PureJSCrypto> {
try {
await initialize();
} catch (e) {
logger.error(
"Failed to initialize WasmCrypto, falling back to PureJSCrypto",
{ err: e },
);
return new PureJSCrypto();
}
return new WasmCrypto();
}

View File

@@ -1,5 +1,17 @@
# jazz-browser-media-images
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-browser@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,14 +1,14 @@
{
"name": "jazz-auth-clerk",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"dependencies": {
"cojson": "workspace:0.11.3",
"jazz-browser": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3"
"cojson": "workspace:0.11.4",
"jazz-browser": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4"
},
"scripts": {
"format-and-lint": "biome check .",

View File

@@ -1,5 +1,15 @@
# jazz-browser-media-images
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-browser@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-browser-media-images",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -8,8 +8,8 @@
"dependencies": {
"@types/image-blob-reduce": "^4.1.1",
"image-blob-reduce": "^4.1.0",
"jazz-browser": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.3",
"jazz-browser": "workspace:0.11.4",
"jazz-tools": "workspace:0.11.4",
"pica": "^9.0.1",
"typescript": "~5.6.2"
},

View File

@@ -1,5 +1,18 @@
# jazz-browser
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- cojson-storage-indexeddb@0.11.4
- cojson-transport-ws@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-browser",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,19 @@
# jazz-inspector
## 0.11.4
### Patch Changes
- d133d47: add z-index of 1 to inspector
- e902405: add position prop to JazzInspector component
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-react-core@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-inspector",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "./dist/app.js",
"types": "./dist/app.d.ts",

View File

@@ -1,5 +1,17 @@
# jazz-autosub
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- cojson-transport-ws@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -5,7 +5,7 @@
"types": "dist/index.d.ts",
"type": "module",
"license": "MIT",
"version": "0.11.3",
"version": "0.11.4",
"dependencies": {
"cojson": "workspace:*",
"cojson-transport-ws": "workspace:*",

View File

@@ -1,5 +1,19 @@
# jazz-browser-media-images
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-auth-clerk@0.11.4
- jazz-browser@0.11.4
- jazz-react@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react-auth-clerk",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,16 @@
# jazz-react-core
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react-core",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,18 @@
# jazz-react-native-auth-clerk
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-auth-clerk@0.11.4
- jazz-react-native@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react-native-auth-clerk",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,14 @@
# jazz-browser-media-images
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react-native-media-images",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -1,5 +1,19 @@
# jazz-browser
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-react-core@0.11.4
- cojson-storage-rn-sqlite@0.11.4
- cojson-transport-ws@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react-native",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",

View File

@@ -1,5 +1,18 @@
# jazz-react
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-browser@0.11.4
- jazz-react-core@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-react",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -17,10 +17,10 @@
},
"dependencies": {
"@scure/bip39": "^1.3.0",
"cojson": "workspace:0.11.3",
"jazz-browser": "workspace:0.11.3",
"cojson": "workspace:0.11.4",
"jazz-browser": "workspace:0.11.4",
"jazz-react-core": "workspace:*",
"jazz-tools": "workspace:0.11.3"
"jazz-tools": "workspace:0.11.4"
},
"devDependencies": {
"@testing-library/dom": "^10.4.0",

View File

@@ -1,5 +1,18 @@
# jazz-run
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- cojson-storage-sqlite@0.11.4
- cojson-transport-ws@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -3,7 +3,7 @@
"bin": "./dist/index.js",
"type": "module",
"license": "MIT",
"version": "0.11.3",
"version": "0.11.4",
"exports": {
"./startSyncServer": {
"import": "./dist/startSyncServer.js",
@@ -27,11 +27,11 @@
"@effect/printer-ansi": "^0.34.5",
"@effect/schema": "^0.71.1",
"@effect/typeclass": "^0.25.5",
"cojson": "workspace:0.11.3",
"cojson-storage-sqlite": "workspace:0.11.3",
"cojson-transport-ws": "workspace:0.11.3",
"cojson": "workspace:0.11.4",
"cojson-storage-sqlite": "workspace:0.11.4",
"cojson-transport-ws": "workspace:0.11.4",
"effect": "^3.6.5",
"jazz-tools": "workspace:0.11.3",
"jazz-tools": "workspace:0.11.4",
"ws": "^8.14.2"
},
"devDependencies": {

View File

@@ -1,5 +1,17 @@
# jazz-svelte
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-browser@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-svelte",
"version": "0.11.3",
"version": "0.11.4",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",

View File

@@ -1,5 +1,15 @@
# jazz-tools
## 0.11.4
### Patch Changes
- 57a3dbe: Throw when assigning invalid values to ref fields
- a717754: Use RegisteredAccount types for `by` props
- a91f343: Fixes coList.splice to handle insertions at start of list
- Updated dependencies [7f036c1]
- cojson@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -17,7 +17,7 @@
},
"type": "module",
"license": "MIT",
"version": "0.11.3",
"version": "0.11.4",
"dependencies": {
"@scure/bip39": "^1.3.0",
"cojson": "workspace:*",

View File

@@ -4,6 +4,7 @@ import { SchemaUnion } from "../coValues/schemaUnion.js";
import {
Account,
CoMap,
CryptoProvider,
co,
loadCoValue,
subscribeToCoValue,
@@ -63,7 +64,7 @@ const getWidgetSchemaFromRaw = (raw: BaseWidget["_raw"]) => {
class WidgetUnion extends SchemaUnion.Of<BaseWidget>(getWidgetSchemaFromRaw) {}
describe("SchemaUnion", () => {
let Crypto: WasmCrypto;
let Crypto: CryptoProvider;
let me: Account;
beforeAll(async () => {

View File

@@ -1,5 +1,17 @@
# jazz-react
## 0.11.4
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- Updated dependencies [7f036c1]
- jazz-tools@0.11.4
- cojson@0.11.4
- jazz-browser@0.11.4
## 0.11.3
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "jazz-vue",
"version": "0.11.3",
"version": "0.11.4",
"type": "module",
"main": "dist/index.js",
"types": "src/index.ts",

52
pnpm-lock.yaml generated
View File

@@ -444,7 +444,7 @@ importers:
specifier: workspace:*
version: link:../../packages/jazz-react
jazz-react-auth-clerk:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-react-auth-clerk
jazz-tools:
specifier: workspace:*
@@ -722,10 +722,10 @@ importers:
specifier: ^2.0.0
version: 2.1.1
cojson:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/cojson
cojson-transport-ws:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/cojson-transport-ws
hash-slash:
specifier: workspace:0.2.2
@@ -862,10 +862,10 @@ importers:
specifier: workspace:*
version: link:../../packages/jazz-inspector
jazz-react:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-react
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-tools
lucide-react:
specifier: ^0.274.0
@@ -1104,10 +1104,10 @@ importers:
examples/password-manager:
dependencies:
jazz-react:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-react
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-tools
react:
specifier: 18.3.1
@@ -1168,13 +1168,13 @@ importers:
specifier: ^2.0.0
version: 2.1.1
jazz-browser-media-images:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-browser-media-images
jazz-react:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-react
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-tools
lucide-react:
specifier: ^0.274.0
@@ -1229,7 +1229,7 @@ importers:
specifier: ^3.0.1
version: 3.0.1
jazz-run:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-run
postcss:
specifier: ^8.4.27
@@ -1308,10 +1308,10 @@ importers:
specifier: ^2.0.0
version: 2.1.1
jazz-react:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-react
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../../packages/jazz-tools
lucide-react:
specifier: ^0.274.0
@@ -1573,7 +1573,7 @@ importers:
specifier: ^11.7.0
version: 11.7.0
cojson:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson
cojson-storage:
specifier: workspace:*
@@ -1650,13 +1650,13 @@ importers:
packages/jazz-auth-clerk:
dependencies:
cojson:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson
jazz-browser:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-browser
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-tools
devDependencies:
typescript:
@@ -1694,10 +1694,10 @@ importers:
specifier: ^4.1.0
version: 4.1.0
jazz-browser:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-browser
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-tools
pica:
specifier: ^9.0.1
@@ -1769,16 +1769,16 @@ importers:
specifier: ^1.3.0
version: 1.5.0
cojson:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson
jazz-browser:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-browser
jazz-react-core:
specifier: workspace:*
version: link:../jazz-react-core
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-tools
devDependencies:
'@testing-library/dom':
@@ -1967,19 +1967,19 @@ importers:
specifier: ^0.25.5
version: 0.25.8(effect@3.11.9)
cojson:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson
cojson-storage-sqlite:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson-storage-sqlite
cojson-transport-ws:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../cojson-transport-ws
effect:
specifier: ^3.6.5
version: 3.11.9
jazz-tools:
specifier: workspace:0.11.3
specifier: workspace:0.11.4
version: link:../jazz-tools
ws:
specifier: ^8.14.2

View File

@@ -1,5 +1,15 @@
# jazz-tailwind-demo-auth-starter
## 0.0.57
### Patch Changes
- Updated dependencies [57a3dbe]
- Updated dependencies [a717754]
- Updated dependencies [a91f343]
- jazz-tools@0.11.4
- jazz-react@0.11.4
## 0.0.56
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "jazz-tailwind-demo-auth-starter",
"private": true,
"version": "0.0.56",
"version": "0.0.57",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -1,5 +1,5 @@
import { createWebSocketPeer } from "cojson-transport-ws";
import { PureJSCrypto } from "cojson/crypto/PureJSCrypto";
import { WasmCrypto } from "cojson/crypto/WasmCrypto";
import { Hono } from "hono";
import { startWorker } from "jazz-nodejs";
import { CoMap, co } from "jazz-tools";
@@ -25,9 +25,9 @@ class MyAccount extends Account {
const syncServer = "wss://cloud.jazz.tools/?key=jazz@jazz.tools";
const crypto = await PureJSCrypto.create();
app.get("/", async (c) => {
const crypto = await WasmCrypto.create();
const peer = createWebSocketPeer({
id: "upstream",
websocket: new WebSocket(syncServer),