@dxos/effect-atom-solid 0.8.4-main.ef1bc66f44 → 0.8.4-main.f466a3d56e

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/effect-atom-solid",
3
- "version": "0.8.4-main.ef1bc66f44",
3
+ "version": "0.8.4-main.f466a3d56e",
4
4
  "description": "Solid.js bindings for Effect Atom",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -8,7 +8,7 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/dxos/dxos"
10
10
  },
11
- "license": "MIT",
11
+ "license": "FSL-1.1-Apache-2.0",
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": true,
14
14
  "type": "module",
@@ -21,9 +21,6 @@
21
21
  }
22
22
  },
23
23
  "types": "dist/types/src/index.d.ts",
24
- "typesVersions": {
25
- "*": {}
26
- },
27
24
  "files": [
28
25
  "dist",
29
26
  "src"
@@ -31,14 +28,14 @@
31
28
  "devDependencies": {
32
29
  "@effect-atom/atom": "^0.5.1",
33
30
  "@solidjs/testing-library": "^0.8.10",
34
- "effect": "3.19.16",
35
- "solid-js": "^1.9.9",
36
- "vite-plugin-solid": "^2.11.10"
31
+ "effect": "3.20.0",
32
+ "solid-js": "^1.9.11",
33
+ "vite-plugin-solid": "^2.11.12"
37
34
  },
38
35
  "peerDependencies": {
39
36
  "@effect-atom/atom": "^0.5.1",
40
- "effect": "3.19.16",
41
- "solid-js": "^1.9.9"
37
+ "effect": "3.20.0",
38
+ "solid-js": "^1.9.11"
42
39
  },
43
40
  "publishConfig": {
44
41
  "access": "public"
@@ -7,7 +7,6 @@ import { fireEvent, render, waitFor } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtom } from './useAtom';
12
11
 
13
12
  describe('useAtom', () => {
@@ -7,7 +7,6 @@ import type * as Result from '@effect-atom/atom/Result';
7
7
  import { type Accessor, createSignal, onCleanup } from 'solid-js';
8
8
 
9
9
  import { useRegistry } from '../registry';
10
-
11
10
  import { type SetAtomFn, createSetAtom } from './useAtomSet';
12
11
 
13
12
  /**
@@ -7,7 +7,6 @@ import { render } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtomInitialValues } from './useAtomInitialValues';
12
11
  import { useAtomValue } from './useAtomValue';
13
12
 
@@ -7,7 +7,6 @@ import { fireEvent, render, waitFor } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtomRefresh } from './useAtomRefresh';
12
11
  import { useAtomValue } from './useAtomValue';
13
12
 
@@ -8,7 +8,6 @@ import * as Effect from 'effect/Effect';
8
8
  import { beforeEach, describe, expect, test } from 'vitest';
9
9
 
10
10
  import { defaultRegistry } from '../registry';
11
-
12
11
  import { useAtomResource } from './useAtomResource';
13
12
 
14
13
  describe('useAtomResource', () => {
@@ -7,7 +7,6 @@ import { fireEvent, render, waitFor } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtomSet } from './useAtomSet';
12
11
  import { useAtomValue } from './useAtomValue';
13
12
 
@@ -13,7 +13,9 @@ import { onCleanup } from 'solid-js';
13
13
  import { useRegistry } from '../registry';
14
14
 
15
15
  const flattenExit = <A, E>(exit: Exit.Exit<A, E>): A => {
16
- if (Exit.isSuccess(exit)) return exit.value;
16
+ if (Exit.isSuccess(exit)) {
17
+ return exit.value;
18
+ }
17
19
  throw Cause.squash(exit.cause);
18
20
  };
19
21
 
@@ -7,7 +7,6 @@ import { fireEvent, render, waitFor } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtomSet } from './useAtomSet';
12
11
  import { useAtomSubscribe } from './useAtomSubscribe';
13
12
 
@@ -9,7 +9,6 @@ import { Suspense } from 'solid-js';
9
9
  import { beforeEach, describe, expect, test } from 'vitest';
10
10
 
11
11
  import { defaultRegistry } from '../registry';
12
-
13
12
  import { useAtomSuspense } from './useAtomSuspense';
14
13
 
15
14
  describe('useAtomSuspense', () => {
@@ -7,7 +7,6 @@ import { fireEvent, render, waitFor } from '@solidjs/testing-library';
7
7
  import { beforeEach, describe, expect, test } from 'vitest';
8
8
 
9
9
  import { defaultRegistry } from '../registry';
10
-
11
10
  import { useAtomValue } from './useAtomValue';
12
11
 
13
12
  describe('useAtomValue', () => {