Skip to content

Commit e0fa8a5

Browse files
committed
update wit deps to 0.4.0
1 parent eb4d24d commit e0fa8a5

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

wit/deps.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[protocols]
2-
url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.3.0.tar.gz"
3-
sha256 = "4d412367fff6f826280acbe95f7067e362d9299d76e60994981e7e27c74d1576"
4-
sha512 = "65021cace5ed07990fdfb563699accb975a31cb22311739ff6189849b969b06b564a0f8f72de154fd086ba474757d3cffaef0175778e4989c467280cf1c86284"
2+
url = "https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz"
3+
sha256 = "8b5c8ea97c81d1d6cf4f227e75afb8c4dc5c0a411c3a0401fb7e4f7b745e21ba"
4+
sha512 = "16771cd12095409e7c4857a8f5c0b4ad680959e3c35dcd7999e11131bcce05d3b1a1b829daefceabbd853ae5b7f6453e3e359ddfbdebd6e2a94db6c55780368f"

wit/deps.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.3.0.tar.gz"
1+
protocols="https://github.com/edgee-cloud/edgee-wit/archive/refs/tags/v0.4.0.tar.gz"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package edgee:protocols;
22

33
interface consent-mapping {
4-
type config = list<tuple<string,string>>;
4+
type dict = list<tuple<string,string>>;
55

66
enum consent {
77
pending,
88
granted,
99
denied,
1010
}
1111

12-
map: func(cookie: string, config: config) -> option<consent>;
12+
map: func(cookie: string, settings: dict) -> option<consent>;
1313
}

wit/deps/protocols/data-collection.wit

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ interface data-collection {
102102
method: http-method,
103103
url: string,
104104
headers: dict,
105+
forward-client-headers: bool,
105106
body: string,
106107
}
107108

108109
enum http-method { GET, PUT, POST, DELETE }
109110

110-
page: func(e: event, cred: dict) -> result<edgee-request, string>;
111-
track: func(e: event, cred: dict) -> result<edgee-request, string>;
112-
user: func(e: event, cred:dict) -> result<edgee-request, string>;
111+
page: func(e: event, settings: dict) -> result<edgee-request, string>;
112+
track: func(e: event, settings: dict) -> result<edgee-request, string>;
113+
user: func(e: event, settings:dict) -> result<edgee-request, string>;
113114
}

0 commit comments

Comments
 (0)