@aftertext/player 0.1.1 → 0.3.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.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  A small headless player layer that threads an active AfterText runtime session
4
4
  one observable step at a time.
5
5
 
6
- > v0.1 foundation: the public API is early and may change.
6
+ > v0.3.0: the public API is early and may change.
7
7
 
8
8
  ## Install
9
9
 
package/dist/index.d.ts CHANGED
@@ -2,5 +2,5 @@ export type { PlayerState } from "./player-state.js";
2
2
  export { createPlayer } from "./create-player.js";
3
3
  export { advancePlayer } from "./advance-player.js";
4
4
  export { selectPlayerChoice } from "./select-player-choice.js";
5
- export type { AdvanceOptions, AvailableChoiceItem, ContentResult, PresentationResult, ChoiceResult, NavigationResult, CompletedResult, ErrorResult, ExecutionResult, RuntimeExecutionErrorKind, RuntimeExecutionError } from "@aftertext/runtime";
5
+ export type { AdvanceOptions, AvailableChoiceItem, ContentResult, PresentationResult, DialogueResult, ChoiceResult, NavigationResult, CompletedResult, ErrorResult, ExecutionResult, RuntimeExecutionErrorKind, RuntimeExecutionError } from "@aftertext/runtime";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,eAAe,EACf,yBAAyB,EACzB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aftertext/player",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "AfterText headless Player Core: a thin, pure application layer over @aftertext/runtime for threading an active play session.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,8 +30,8 @@
30
30
  "test": "vitest run"
31
31
  },
32
32
  "dependencies": {
33
- "@aftertext/compiler": "^0.1.1",
34
- "@aftertext/runtime": "^0.1.1"
33
+ "@aftertext/compiler": "^0.3.0",
34
+ "@aftertext/runtime": "^0.3.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^22.7.5",