Current section

14 Versions

Jump to

Compare versions

3 files changed
+14 additions
-14 deletions
  @@ -1,9 +1,9 @@
1 1 name = "gleam_fetch"
2 - version = "0.2.1"
2 + version = "0.3.0"
3 3 licences = ["Apache-2.0"]
4 4 description = "Make HTTP requests in Gleam JavaScript with Fetch"
5 5 target = "javascript"
6 - gleam = ">= 0.30.0"
6 + gleam = ">= 0.32.0"
7 7
8 8 repository = { type = "github", user = "gleam-lang", repo = "fetch" }
9 9 links = [
  @@ -14,7 +14,7 @@ links = [
14 14 [dependencies]
15 15 gleam_http = "~> 3.1"
16 16 gleam_javascript = "~> 0.3"
17 - gleam_stdlib = "~> 0.31"
17 + gleam_stdlib = "~> 0.32"
18 18
19 19 [dev-dependencies]
20 20 gleeunit = "~> 0.8"
  @@ -1,6 +1,6 @@
1 1 {<<"name">>, <<"gleam_fetch">>}.
2 2 {<<"app">>, <<"gleam_fetch">>}.
3 - {<<"version">>, <<"0.2.1">>}.
3 + {<<"version">>, <<"0.3.0">>}.
4 4 {<<"description">>, <<"Make HTTP requests in Gleam JavaScript with Fetch">>}.
5 5 {<<"licenses">>, [<<"Apache-2.0">>]}.
6 6 {<<"build_tools">>, [<<"gleam">>]}.
  @@ -10,20 +10,20 @@
10 10 {<<"Repository">>, <<"https://github.com/gleam-lang/fetch">>}
11 11 ]}.
12 12 {<<"requirements">>, [
13 - {<<"gleam_javascript">>, [
14 - {<<"app">>, <<"gleam_javascript">>},
15 - {<<"optional">>, false},
16 - {<<"requirement">>, <<"~> 0.3">>}
17 - ]},
18 13 {<<"gleam_stdlib">>, [
19 14 {<<"app">>, <<"gleam_stdlib">>},
20 15 {<<"optional">>, false},
21 - {<<"requirement">>, <<"~> 0.31">>}
16 + {<<"requirement">>, <<"~> 0.32">>}
22 17 ]},
23 18 {<<"gleam_http">>, [
24 19 {<<"app">>, <<"gleam_http">>},
25 20 {<<"optional">>, false},
26 21 {<<"requirement">>, <<"~> 3.1">>}
22 + ]},
23 + {<<"gleam_javascript">>, [
24 + {<<"app">>, <<"gleam_javascript">>},
25 + {<<"optional">>, false},
26 + {<<"requirement">>, <<"~> 0.3">>}
27 27 ]}
28 28 ]}.
29 29 {<<"files">>, [
  @@ -1,7 +1,7 @@
1 - import gleam/http/request.{Request}
2 - import gleam/http/response.{Response}
3 - import gleam/dynamic.{Dynamic}
4 - import gleam/javascript/promise.{Promise}
1 + import gleam/http/request.{type Request}
2 + import gleam/http/response.{type Response}
3 + import gleam/dynamic.{type Dynamic}
4 + import gleam/javascript/promise.{type Promise}
5 5
6 6 pub type FetchError {
7 7 NetworkError(String)