@tableverse/contracts 0.0.1 → 0.1.1

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/CHANGELOG.md CHANGED
@@ -18,4 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
18
18
  - `CONTRACT_VERSION` constant kept in sync with `package.json` via
19
19
  `scripts/sync-version.cjs`.
20
20
  - ESM build pipeline, ESLint flat config, compile-time type tests,
21
- and CI/publish GitHub Actions workflows.
21
+ and CI/publish GitHub Actions workflows.
22
+
23
+ ## [0.1.1] - unreleased
24
+
25
+ ### Added
26
+ - `Add test field`
package/dist/session.d.ts CHANGED
@@ -14,6 +14,8 @@ export interface GameSessionContext {
14
14
  readonly currentUser: CurrentUser;
15
15
  /** All players in the session, including the current user. */
16
16
  readonly players: ReadonlyArray<SessionPlayer>;
17
+ /** Test field */
18
+ readonly test: string;
17
19
  }
18
20
  /**
19
21
  * The current user (the one viewing the game in the browser).
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAClC,4EAA4E;IAC5E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,oEAAoE;IACpE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,0DAA0D;IAC1D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,yDAAyD;IACzD,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,oCAAoC;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,oCAAoC;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAClC,4EAA4E;IAC5E,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,oEAAoE;IACpE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE3B,0DAA0D;IAC1D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,yDAAyD;IACzD,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAE/C,iBAAiB;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC3B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,oCAAoC;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC7B,qDAAqD;IACrD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAExB,oCAAoC;IACpC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAE7B,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
package/dist/version.d.ts CHANGED
@@ -7,5 +7,5 @@
7
7
  * its Custom Element, and the shell verifies major-version compatibility
8
8
  * before mounting the game.
9
9
  */
10
- export declare const CONTRACT_VERSION = "0.0.1";
10
+ export declare const CONTRACT_VERSION = "0.1.1";
11
11
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -7,4 +7,4 @@
7
7
  * its Custom Element, and the shell verifies major-version compatibility
8
8
  * before mounting the game.
9
9
  */
10
- export const CONTRACT_VERSION = '0.0.1';
10
+ export const CONTRACT_VERSION = '0.1.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tableverse/contracts",
3
- "version": "0.0.1",
3
+ "version": "0.1.1",
4
4
  "description": "TypeScript contracts for the Table Verse game platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",