This repository was archived by the owner on Mar 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +33
-12
lines changed
Expand file tree Collapse file tree 6 files changed +33
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resolver = "2"
44
55[workspace .package ]
66edition = " 2021"
7- version = " 2.3 .0"
7+ version = " 2.4 .0"
88license = " MIT"
99authors = [" Lay3r Labs Team" ]
1010repository = " https://github.com/Lay3rLabs/WAVS-WASI"
Original file line number Diff line number Diff line change 1- package wavs : aggregator @ 2.3 .0;
1+ package wavs : aggregator @ 2.4 .0;
22
3- use wavs :types /core @ 2.3 .0 as core-types;
4- use wavs :types /service @ 2.3 .0 as service-types;
5- use wavs :types /chain @ 2.3 .0 as chain-types;
6- use wavs :types /events @ 2.3 .0 as event-types;
3+ use wavs :types /core @ 2.4 .0 as core-types;
4+ use wavs :types /service @ 2.4 .0 as service-types;
5+ use wavs :types /chain @ 2.4 .0 as chain-types;
6+ use wavs :types /events @ 2.4 .0 as event-types;
77
88interface aggregator {
99 use core-types . {duration , u128 };
Original file line number Diff line number Diff line change 1- package wavs : operator @ 2.3 .0;
1+ package wavs : operator @ 2.4 .0;
22
3- use wavs :types /core @ 2.3 .0 as core-types;
4- use wavs :types /service @ 2.3 .0 as service-types;
5- use wavs :types /chain @ 2.3 .0 as chain-types;
6- use wavs :types /events @ 2.3 .0 as event-types;
3+ use wavs :types /core @ 2.4 .0 as core-types;
4+ use wavs :types /service @ 2.4 .0 as service-types;
5+ use wavs :types /chain @ 2.4 .0 as chain-types;
6+ use wavs :types /events @ 2.4 .0 as event-types;
77
88interface input {
99 use service-types . {service-id , workflow-id , trigger };
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ interface events {
99 cosmos-contract-event (trigger-data-cosmos-contract-event ),
1010 block-interval (trigger-data-block-interval ),
1111 cron (trigger-data-cron ),
12+ atproto-event (trigger-data-atproto-event ),
1213 raw (list <u8 >)
1314 }
1415
@@ -33,4 +34,17 @@ interface events {
3334 record trigger-data-cron {
3435 trigger-time : timestamp
3536 }
37+
38+ record trigger-data-atproto-event {
39+ sequence : s64 ,
40+ timestamp : s64 ,
41+ repo : string ,
42+ collection : string ,
43+ rkey : string ,
44+ action : string ,
45+ cid : option <string >,
46+ record-data : option <string >,
47+ rev : option <string >,
48+ op-index : option <u32 >
49+ }
3650}
Original file line number Diff line number Diff line change 1- package wavs : types @ 2.3 .0;
1+ package wavs : types @ 2.4 .0;
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ interface service {
9292 cosmos-contract-event (trigger-cosmos-contract-event ),
9393 block-interval (trigger-block-interval ),
9494 cron (trigger-cron ),
95+ atproto-event (trigger-atproto-event ),
9596 manual
9697 }
9798
@@ -120,6 +121,12 @@ interface service {
120121 end-time : option <timestamp >
121122 }
122123
124+ record trigger-atproto-event {
125+ collection : string ,
126+ repo-did : option <string >,
127+ action : option <string >
128+ }
129+
123130
124131 // Submit types
125132 variant submit {
You can’t perform that action at this time.
0 commit comments