@dreamboard-games/sdk 0.5.0-alpha.7 → 0.5.0-alpha.8
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/dist/{chunk-K75F5UIJ.js → chunk-4H4TAIV7.js} +7 -5
- package/dist/chunk-4H4TAIV7.js.map +1 -0
- package/dist/{chunk-UESVBUPU.js → chunk-DE4LWN42.js} +19 -19
- package/dist/chunk-DE4LWN42.js.map +1 -0
- package/dist/{chunk-3JXUL4VN.js → chunk-DPRHGA2C.js} +2 -2
- package/dist/chunk-DPRHGA2C.js.map +1 -0
- package/dist/{chunk-HZPKKBEG.js → chunk-EQ4BAJSB.js} +2 -2
- package/dist/{chunk-N37D7NPB.js → chunk-GZVYEVXY.js} +5 -5
- package/dist/chunk-GZVYEVXY.js.map +1 -0
- package/dist/{diagnostics-9gJgI85c.d.ts → diagnostics-Cg5NZ7NZ.d.ts} +1 -1
- package/dist/{extract-Bjuw_gdF.d.ts → extract-CoLo4qhk.d.ts} +75 -74
- package/dist/index.d.ts +7 -7
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/{model-D2Z9j0Yi.d.ts → model-Cvfxwq2n.d.ts} +2 -2
- package/dist/react.d.ts +9 -5
- package/dist/react.js +12 -6
- package/dist/react.js.map +1 -1
- package/dist/reducer.d.ts +15 -14
- package/dist/reducer.js +15 -15
- package/dist/reducer.js.map +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +8 -8
- package/dist/testing.js.map +1 -1
- package/dist/{types-B3kIhBWb.d.ts → types-DPamTmUF.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-3JXUL4VN.js.map +0 -1
- package/dist/chunk-K75F5UIJ.js.map +0 -1
- package/dist/chunk-N37D7NPB.js.map +0 -1
- package/dist/chunk-UESVBUPU.js.map +0 -1
- /package/dist/{chunk-HZPKKBEG.js.map → chunk-EQ4BAJSB.js.map} +0 -0
package/dist/testing.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ag as PhaseNamesOfDefinition, Z as InteractionIdOfDefinitionPhase, a7 as ManifestIdSchema, m as CollectorValueOf, a3 as InteractionSpecByNameOfDefinitionPhase, v as GameStateOf, b8 as ViewOfDefinition, aJ as RuntimeJson, k as ClientParamsOfInteractionOfDefinition, ao as ReducerGameContractLike, A as AnyReducerGameDefinition, av as ReducerSessionState, u as GameOutcome, s as GameInput, ay as ReducerValidationResult, aS as SeatProjectionBundle, e as BoardStaticProjection, a9 as OptionsOfContract } from './extract-
|
|
1
|
+
import { ag as PhaseNamesOfDefinition, Z as InteractionIdOfDefinitionPhase, a7 as ManifestIdSchema, m as CollectorValueOf, a3 as InteractionSpecByNameOfDefinitionPhase, v as GameStateOf, b8 as ViewOfDefinition, aJ as RuntimeJson, k as ClientParamsOfInteractionOfDefinition, ao as ReducerGameContractLike, A as AnyReducerGameDefinition, av as ReducerSessionState, u as GameOutcome, s as GameInput, ay as ReducerValidationResult, aS as SeatProjectionBundle, e as BoardStaticProjection, a9 as OptionsOfContract } from './extract-CoLo4qhk.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { D as DispatchTraceSummaryEntry, b as ReducerDiagnosticEvent, a as ReducerBundleContract } from './diagnostics-
|
|
4
|
-
import { j as SubmitResult, C as CommandSource, h as SourceSnapshot, a as ApplySource } from './types-
|
|
3
|
+
import { D as DispatchTraceSummaryEntry, b as ReducerDiagnosticEvent, a as ReducerBundleContract } from './diagnostics-Cg5NZ7NZ.js';
|
|
4
|
+
import { j as SubmitResult, C as CommandSource, h as SourceSnapshot, a as ApplySource } from './types-DPamTmUF.js';
|
|
5
5
|
import 'honeycomb-grid';
|
|
6
6
|
import '@tanstack/store';
|
|
7
7
|
|
package/dist/testing.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
computePluginActionSetVersion,
|
|
4
4
|
createSourceLifecycle,
|
|
5
5
|
materializePluginGameplayFrame
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GZVYEVXY.js";
|
|
7
7
|
import {
|
|
8
8
|
immutableCopy
|
|
9
9
|
} from "./chunk-DMFVAZI2.js";
|
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
createTrustedRuntimeScope,
|
|
21
21
|
manifestSchemaFamily,
|
|
22
22
|
nextRandomInt
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DE4LWN42.js";
|
|
24
24
|
import {
|
|
25
25
|
GameOutcomeSchema,
|
|
26
26
|
ReducerSessionStateSchema,
|
|
27
27
|
RuntimeJsonSchema,
|
|
28
28
|
digestPluginRuntimeJson,
|
|
29
29
|
encodeCanonicalPluginRuntimeJson
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-4H4TAIV7.js";
|
|
31
|
+
import "./chunk-DPRHGA2C.js";
|
|
32
32
|
|
|
33
33
|
// src/testing/scenario-definition-validation.ts
|
|
34
|
-
import
|
|
34
|
+
import * as z2 from "zod";
|
|
35
35
|
|
|
36
36
|
// src/testing/scenario-schema.ts
|
|
37
|
-
import
|
|
37
|
+
import * as z from "zod";
|
|
38
38
|
var ScenarioSchemaValueError = class extends Error {
|
|
39
39
|
path;
|
|
40
40
|
constructor(path, message) {
|
|
@@ -2171,7 +2171,7 @@ function compareCanonicalScenarioJson(left, right) {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
|
|
2173
2173
|
// src/testing/exploration/cursor.ts
|
|
2174
|
-
import
|
|
2174
|
+
import * as z3 from "zod";
|
|
2175
2175
|
var CURSOR_VERSION = 1;
|
|
2176
2176
|
var cursorPayloadSchema = z3.strictObject({
|
|
2177
2177
|
version: z3.literal(CURSOR_VERSION),
|
|
@@ -2760,7 +2760,7 @@ function createTestSource(initial) {
|
|
|
2760
2760
|
|
|
2761
2761
|
// src/testing/sources/local-source.ts
|
|
2762
2762
|
import { createStore } from "@tanstack/store";
|
|
2763
|
-
import
|
|
2763
|
+
import * as z4 from "zod";
|
|
2764
2764
|
var checkpointSchema = z4.object({
|
|
2765
2765
|
state: ReducerSessionStateSchema,
|
|
2766
2766
|
terminal: GameOutcomeSchema.nullable()
|