From bdac174e10d62eda4d628ba057f8c1b59ded4a9c Mon Sep 17 00:00:00 2001 From: Peter Date: Sun, 14 Jan 2024 19:44:03 +0100 Subject: [PATCH] bump version --- gleam.toml | 2 +- src/plinth/browser/audio.gleam | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gleam.toml b/gleam.toml index c01c89d..6983069 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "plinth" -version = "0.1.7" +version = "0.1.8" description = "Bindings to Node.js and browser platform APIs" target = "javascript" diff --git a/src/plinth/browser/audio.gleam b/src/plinth/browser/audio.gleam index a5c212a..1f52d10 100644 --- a/src/plinth/browser/audio.gleam +++ b/src/plinth/browser/audio.gleam @@ -1,5 +1,7 @@ import gleam/javascript/promise.{type Promise} +// Media is described as being only Audio or Video so this might be an occasion to use an Enum type. + pub type Audio @external(javascript, "../../audio_ffi.mjs", "newAudio")