foldkit-primitives 0.7.0 → 0.9.0

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.
@@ -182,12 +182,12 @@ export declare const sse: <const Name extends string>(config: {
182
182
  readonly _tag: "Opened";
183
183
  } | {
184
184
  readonly _tag: "Closed";
185
- } | {
186
- readonly _tag: "Failed";
187
- readonly message: string;
188
185
  } | {
189
186
  readonly _tag: "Received";
190
187
  readonly data: string;
188
+ } | {
189
+ readonly _tag: "Failed";
190
+ readonly message: string;
191
191
  }, never, ManagedResource.ManagedResourceService<"sse">, ManagedResource.ManagedResourceService<"sse">, void, Readonly<{
192
192
  source: ManagedResource.Entry<SseModel, SseMessage, Option.Option<string>, AcquiredSource, SourceService, () => SseMessage>;
193
193
  }>, {}>;
@@ -287,12 +287,12 @@ export declare const websocket: <const Name extends string>(config: {
287
287
  readonly _tag: "Opened";
288
288
  } | {
289
289
  readonly _tag: "Closed";
290
- } | {
291
- readonly _tag: "Failed";
292
- readonly message: string;
293
290
  } | {
294
291
  readonly _tag: "Received";
295
292
  readonly data: string;
293
+ } | {
294
+ readonly _tag: "Failed";
295
+ readonly message: string;
296
296
  } | {
297
297
  readonly _tag: "SendFailed";
298
298
  readonly message: string;
@@ -311,15 +311,15 @@ export declare const Virtual: Bundle.Bundle<"Virtual", {
311
311
  readonly _tag: "Measured";
312
312
  readonly key: string;
313
313
  readonly height: number;
314
+ } | {
315
+ readonly _tag: "Settled";
316
+ readonly generation: number;
314
317
  } | {
315
318
  readonly _tag: "Scrolled";
316
319
  readonly top: number;
317
320
  } | {
318
321
  readonly _tag: "Prune";
319
322
  readonly keys: readonly string[];
320
- } | {
321
- readonly _tag: "Settled";
322
- readonly generation: number;
323
323
  }, never, never, never, void, {}, {}>;
324
324
  export declare const ViewportScrolled: Schema.TaggedStruct<"ViewportScrolled", {
325
325
  readonly top: Schema.Number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foldkit-primitives",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Ready-made primitives for the Elm architecture, packaged with foldkit-bundle: media queries, presence, timers, pagination, history, sockets, observers, clipboard, and interaction Bundles with their Behaviors.",
5
5
  "keywords": [
6
6
  "foldkit",
@@ -89,12 +89,12 @@
89
89
  "LICENSE"
90
90
  ],
91
91
  "dependencies": {
92
- "foldkit-bundle": "0.5.0"
92
+ "foldkit-bundle": "0.6.0"
93
93
  },
94
94
  "peerDependencies": {
95
95
  "effect": "^4.0.0",
96
96
  "foldkit": "^0.165.0",
97
- "foldkit-mixins": "^0.8.0"
97
+ "foldkit-mixins": "^0.10.0"
98
98
  },
99
99
  "devDependencies": {
100
100
  "@effect/platform-browser": "4.0.0",
@@ -105,7 +105,7 @@
105
105
  "tsdown": "^0.23.0",
106
106
  "typescript": "5.9.3",
107
107
  "ws": "^8.18.0",
108
- "foldkit-mixins": "0.8.0"
108
+ "foldkit-mixins": "0.10.0"
109
109
  },
110
110
  "peerDependenciesMeta": {
111
111
  "foldkit-mixins": {