Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Nov 22, 2022
1 parent 207d52d commit 1868a2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.2.0 - 2022-11-22

- The `promise.do_await_list` function has been removed.

## v0.1.0 - 2022-01-11

- The `javascript` module was created with the `TypeOf`, and `Symbol` types, and
Expand Down
5 changes: 4 additions & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "gleam_javascript"
version = "0.1.0"
version = "0.2.0"
licences = ["Apache-2.0"]
description = "Work with JavaScript types and values in Gleam"

Expand All @@ -11,6 +11,9 @@ links = [
{ title = "Sponsor", href = "https://github.com/sponsors/lpil" },
]

[javascript]
typescript_declarations = true

[dependencies]
gleam_stdlib = "~> 0.19"

Expand Down
4 changes: 2 additions & 2 deletions manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# You typically do not need to edit this file

packages = [
{ name = "gleam_stdlib", version = "0.19.2", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "FFA79EA12369F122B68885E694E097D6810402A2F86BFF48AAE9E40ACE654F4C" },
{ name = "gleeunit", version = "0.6.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "77701A5E5A565727E1EEAC9196FB878D544049B6331CD0305B5A69699135EA1C" },
{ name = "gleam_stdlib", version = "0.25.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "AD0F89928E0B919C8F8EDF640484633B28DBF88630A9E6AE504617A3E3E5B9A2" },
{ name = "gleeunit", version = "0.7.2", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "5F4FBED3E93CDEDB0570D30E9DECB7058C2D327996B78BB2D245C739C7136010" },
]

[requirements]
Expand Down
2 changes: 1 addition & 1 deletion src/gleam/javascript/promise.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ pub fn await_list(xs: List(Promise(a))) -> Promise(List(a)) {
|> map(array.to_list)
}

pub external fn do_await_list(List(Promise(a))) -> Promise(Array(a)) =
external fn do_await_list(List(Promise(a))) -> Promise(Array(a)) =
"../../ffi.mjs" "all_promises"

0 comments on commit 1868a2a

Please sign in to comment.