jazz-svelte 0.14.18 → 0.14.19

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.
@@ -1,14 +1,8 @@
1
- <script lang="ts" module>
2
- export type Props = {
3
- id: string;
4
- };
5
- </script>
6
-
7
1
  <script lang="ts">
8
2
  import { CoState } from '../../../jazz.class.svelte.js';
9
3
  import { Person } from './schema.js';
10
4
 
11
- let props: Props = $props();
5
+ let props: { id: string } = $props();
12
6
 
13
7
  const person = new CoState(Person, () => props.id, {
14
8
  resolve: {
@@ -1,6 +1,6 @@
1
- export type Props = {
1
+ type $$ComponentProps = {
2
2
  id: string;
3
3
  };
4
- declare const UpdateNestedValue: import("svelte").Component<Props, {}, "">;
4
+ declare const UpdateNestedValue: import("svelte").Component<$$ComponentProps, {}, "">;
5
5
  type UpdateNestedValue = ReturnType<typeof UpdateNestedValue>;
6
6
  export default UpdateNestedValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jazz-svelte",
3
- "version": "0.14.18",
3
+ "version": "0.14.19",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",
@@ -46,12 +46,12 @@
46
46
  "svelte-check": "^4.0.0",
47
47
  "typescript": "5.6.2",
48
48
  "typescript-eslint": "^8.0.0",
49
- "vite": "6.0.11"
49
+ "vite": "6.3.5"
50
50
  },
51
51
  "dependencies": {
52
- "cojson": "0.14.18",
53
- "jazz-tools": "0.14.18",
54
- "jazz-browser": "0.14.18"
52
+ "jazz-tools": "0.14.19",
53
+ "jazz-browser": "0.14.19",
54
+ "cojson": "0.14.19"
55
55
  },
56
56
  "scripts": {
57
57
  "dev": "vite dev",
@@ -64,8 +64,7 @@
64
64
  "lint": "prettier --check . && eslint .",
65
65
  "format-and-lint": "pnpm run format && pnpm run lint",
66
66
  "format-and-lint:fix": "pnpm run format --write && pnpm run lint --fix",
67
- "test": "vitest run",
68
- "test:watch": "vitest",
67
+ "test": "vitest",
69
68
  "test:coverage": "vitest --coverage"
70
69
  }
71
70
  }