diff --git a/Cargo.toml b/Cargo.toml index 7b885c5..290825e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ resolver = "2" [workspace.package] edition = "2021" -version = "2.5.0" +version = "2.6.0" license = "MIT" authors = ["Lay3r Labs Team"] repository = "https://github.com/Lay3rLabs/WAVS-WASI" diff --git a/wit-definitions/aggregator/wit/aggregator.wit b/wit-definitions/aggregator/wit/aggregator.wit index 3e4f37b..03c0b48 100644 --- a/wit-definitions/aggregator/wit/aggregator.wit +++ b/wit-definitions/aggregator/wit/aggregator.wit @@ -1,9 +1,9 @@ -package wavs:aggregator@2.5.0; +package wavs:aggregator@2.6.0; -use wavs:types/core@2.5.0 as core-types; -use wavs:types/service@2.5.0 as service-types; -use wavs:types/chain@2.5.0 as chain-types; -use wavs:types/events@2.5.0 as event-types; +use wavs:types/core@2.6.0 as core-types; +use wavs:types/service@2.6.0 as service-types; +use wavs:types/chain@2.6.0 as chain-types; +use wavs:types/events@2.6.0 as event-types; use wavs:operator/input@2.5.0 as operator-input; use wavs:operator/output@2.5.0 as operator-output; diff --git a/wit-definitions/operator/wit/operator.wit b/wit-definitions/operator/wit/operator.wit index f7e9cad..a0e17ce 100644 --- a/wit-definitions/operator/wit/operator.wit +++ b/wit-definitions/operator/wit/operator.wit @@ -1,9 +1,9 @@ -package wavs:operator@2.5.0; +package wavs:operator@2.6.0; -use wavs:types/core@2.5.0 as core-types; -use wavs:types/service@2.5.0 as service-types; -use wavs:types/chain@2.5.0 as chain-types; -use wavs:types/events@2.5.0 as event-types; +use wavs:types/core@2.6.0 as core-types; +use wavs:types/service@2.6.0 as service-types; +use wavs:types/chain@2.6.0 as chain-types; +use wavs:types/events@2.6.0 as event-types; interface input { use service-types.{service-id, workflow-id, trigger}; diff --git a/wit-definitions/types/wit/events.wit b/wit-definitions/types/wit/events.wit index d837345..38f8f69 100644 --- a/wit-definitions/types/wit/events.wit +++ b/wit-definitions/types/wit/events.wit @@ -10,6 +10,7 @@ interface events { block-interval(trigger-data-block-interval), cron(trigger-data-cron), atproto-event(trigger-data-atproto-event), + hypercore-append(trigger-data-hypercore-append), raw(list) } @@ -47,4 +48,10 @@ interface events { rev: option, op-index: option } + + record trigger-data-hypercore-append { + feed-key: string, + index: u64, + data: list + } } diff --git a/wit-definitions/types/wit/lib.wit b/wit-definitions/types/wit/lib.wit index b82a48e..1da791d 100644 --- a/wit-definitions/types/wit/lib.wit +++ b/wit-definitions/types/wit/lib.wit @@ -1 +1 @@ -package wavs:types@2.5.0; +package wavs:types@2.6.0; diff --git a/wit-definitions/types/wit/service.wit b/wit-definitions/types/wit/service.wit index fa11abf..45df317 100644 --- a/wit-definitions/types/wit/service.wit +++ b/wit-definitions/types/wit/service.wit @@ -93,6 +93,7 @@ interface service { block-interval(trigger-block-interval), cron(trigger-cron), atproto-event(trigger-atproto-event), + hypercore-append(trigger-hypercore-append), manual } @@ -127,6 +128,10 @@ interface service { action: option } + record trigger-hypercore-append { + feed-key: string + } + // Submit types variant submit {