@lifi/compose-spec 0.6.2 → 0.6.3

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -12,11 +12,13 @@ npm install @lifi/compose-spec
12
12
 
13
13
  ## What's included
14
14
 
15
- - **Flow schema types** — `Flow`, `Call`, `Continuation`, `Ref`, `BindValue`, and related types that define the structure of a Compose flow document
15
+ - **Flow schema types** — `Flow`, `Call`, `Ref`, `BindValue`, and related types that define the structure of a Compose flow document
16
+ - **Continuation types** — `ContinuationIntent`, `ContinuationOutcome`, `ContinuationPlan`
16
17
  - **Resource types** — `Resource`, `Availability`, plus helpers like `erc20Token`, `foldResource`, `resourceKey`
17
18
  - **Output types** — `Outputs`, `Output`, `ConsumedOutput`, `TerminalOutput`, `Amount`, `Estimate`, `Minimum`, `Delivery`, `EstimateBasis`, `MinimumBasis` — the per-port `outputs` record on a compile result
18
19
  - **Manifest types** — `ComposeManifest`, `ManifestOperation`, `ManifestGuard`, `ManifestMaterialiser`, `ManifestPrecondition`
19
20
  - **Port types** — `ResourcePort`, `HandlePort`, `OpInputPort`, `OpOutputPort`, and type guards
21
+ - **Request/response types** — `ComposeCompileRequest`, `ComposeCompileResult`, `ComposeRouteRequest`, `SimulateRequest`, `SimulateResult`
20
22
  - **Ref utilities** — `ref` to build bind refs (`ref.input('amount')`, `ref.context.sender`, `ref('nodeId.port')`), plus `parseRef`, `foldRef`, `refKey` for working with flow references
21
23
  - **Constructors** — `linear`, `copy`, `handle`, `native`, `erc20`, `resource`, `readResource`, `opHandle`, `resourceOutput`
22
24
  - **Zod schemas** — Runtime validation for manifests, ports, guards, and operations
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/compose-spec",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Public wire-format types and schemas for Compose flows",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -46,6 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@eslint/compat": "^1.4.0",
48
48
  "@lifi/eslint-plugin": "workspace:^",
49
+ "@lifi/vitest-config": "workspace:^",
49
50
  "@typescript-eslint/eslint-plugin": "^8.68.0",
50
51
  "@typescript-eslint/parser": "^8.68.0",
51
52
  "eslint": "^9.36.0",