@manabrew/protocol 5.2.0 → 5.3.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/README.md CHANGED
@@ -20,8 +20,13 @@ npm install @manabrew/protocol
20
20
 
21
21
  ```ts
22
22
  import type { Prompt, PromptInput, PromptOutput } from "@manabrew/protocol";
23
- import { VERSION, PROTOCOL_VERSION } from "@manabrew/protocol";
23
+ import { VERSION, PROTOCOL_VERSION, RELAY_PROTOCOL_VERSION } from "@manabrew/protocol";
24
24
  ```
25
25
 
26
- `VERSION` is the package version; `PROTOCOL_VERSION` is the integer wire version
27
- a client must match to interoperate.
26
+ `VERSION` is this package's own version, matching what you installed.
27
+
28
+ `PROTOCOL_VERSION` is the integer wire version a client must report to a relay
29
+ to interoperate. It is the major of `manabrew-relay-protocol`, so it only moves
30
+ on a breaking wire change, and most releases leave it alone.
31
+ `RELAY_PROTOCOL_VERSION` is that crate's full version, for anyone who needs to
32
+ tell two releases apart at the same wire version.
package/dist/version.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- export declare const VERSION = "5.4.1";
1
+ export declare const VERSION = "5.3.1";
2
+ export declare const RELAY_PROTOCOL_VERSION = "5.5.1";
2
3
  export declare const PROTOCOL_VERSION = 5;
package/dist/version.js CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PROTOCOL_VERSION = exports.VERSION = void 0;
3
+ exports.PROTOCOL_VERSION = exports.RELAY_PROTOCOL_VERSION = exports.VERSION = void 0;
4
4
  // AUTO-GENERATED by `cargo run -p manabrew-relay-protocol --bin gen-protocol`. Do not edit.
5
- exports.VERSION = "5.4.1";
5
+ exports.VERSION = "5.3.1";
6
+ exports.RELAY_PROTOCOL_VERSION = "5.5.1";
6
7
  exports.PROTOCOL_VERSION = 5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manabrew/protocol",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "TypeScript types for the Manabrew wire protocol — the engine↔client message contract for the Manabrew Magic: The Gathering client.",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "repository": {