@dxos/echo-solid 0.8.4-main.6fa680abb7 → 0.8.4-main.74a063c4e0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/echo-solid",
3
- "version": "0.8.4-main.6fa680abb7",
3
+ "version": "0.8.4-main.74a063c4e0",
4
4
  "description": "Solid.js integration for ECHO.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -30,16 +30,16 @@
30
30
  "dependencies": {
31
31
  "@effect-atom/atom": "^0.5.1",
32
32
  "@solid-primitives/utils": "^6.3.2",
33
- "@dxos/echo": "0.8.4-main.6fa680abb7",
34
- "@dxos/echo-atom": "0.8.4-main.6fa680abb7",
35
- "@dxos/effect-atom-solid": "0.8.4-main.6fa680abb7"
33
+ "@dxos/echo": "0.8.4-main.74a063c4e0",
34
+ "@dxos/echo-atom": "0.8.4-main.74a063c4e0",
35
+ "@dxos/effect-atom-solid": "0.8.4-main.74a063c4e0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@solidjs/testing-library": "^0.8.10",
39
39
  "solid-js": "^1.9.11",
40
40
  "vite-plugin-solid": "^2.11.10",
41
41
  "vitest": "3.2.4",
42
- "@dxos/echo-db": "0.8.4-main.6fa680abb7"
42
+ "@dxos/echo-db": "0.8.4-main.74a063c4e0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "solid-js": "^1.9.11"
@@ -8,8 +8,8 @@ import { describe, expect, test } from 'vitest';
8
8
 
9
9
  import type { Entity } from '@dxos/echo';
10
10
  import { Obj } from '@dxos/echo';
11
- import { TestSchema } from '@dxos/echo/testing';
12
11
  import { createObject } from '@dxos/echo-db';
12
+ import { TestSchema } from '@dxos/echo/testing';
13
13
  import { Registry } from '@dxos/effect-atom-solid';
14
14
  import { RegistryProvider } from '@dxos/effect-atom-solid';
15
15
 
@@ -87,8 +87,8 @@ describe('useObject', () => {
87
87
  expect(getByTestId('value').textContent).toBe('Test');
88
88
 
89
89
  // Update the property via Obj.change.
90
- Obj.change(obj, (o) => {
91
- o.name = 'Updated';
90
+ Obj.change(obj, (obj) => {
91
+ obj.name = 'Updated';
92
92
  });
93
93
 
94
94
  // Wait for reactivity to update.
@@ -119,8 +119,8 @@ describe('useObject', () => {
119
119
  expect(getByTestId('name').textContent).toBe('Test');
120
120
 
121
121
  // Update a property via Obj.change.
122
- Obj.change(obj, (o) => {
123
- o.name = 'Updated';
122
+ Obj.change(obj, (obj) => {
123
+ obj.name = 'Updated';
124
124
  });
125
125
 
126
126
  // Wait for reactivity to update.
@@ -150,8 +150,8 @@ describe('useObject', () => {
150
150
  expect(result).toBe('Test');
151
151
 
152
152
  // Update a different property via Obj.change.
153
- Obj.change(obj, (o) => {
154
- o.email = 'newemail@example.com';
153
+ Obj.change(obj, (obj) => {
154
+ obj.email = 'newemail@example.com';
155
155
  });
156
156
 
157
157
  // Name should still be 'Test'.
@@ -7,8 +7,8 @@ import { type JSX, createSignal } from 'solid-js';
7
7
  import { afterEach, beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { Filter, Obj, Query } from '@dxos/echo';
10
- import { TestSchema } from '@dxos/echo/testing';
11
10
  import { EchoTestBuilder } from '@dxos/echo-db/testing';
11
+ import { TestSchema } from '@dxos/echo/testing';
12
12
 
13
13
  import { useQuery } from './useQuery';
14
14
 
@@ -7,8 +7,8 @@ import { type JSX, createMemo } from 'solid-js';
7
7
  import { afterEach, beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { Type } from '@dxos/echo';
10
- import { TestSchema } from '@dxos/echo/testing';
11
10
  import { EchoTestBuilder } from '@dxos/echo-db/testing';
11
+ import { TestSchema } from '@dxos/echo/testing';
12
12
 
13
13
  import { useSchema } from './useSchema';
14
14