Skip to content

Commit

Permalink
prep 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andrieshiemstra committed Apr 29, 2021
1 parent 795a2dd commit bed60a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 0.4.2 (work in progress)
# 0.5 (work in progress)

# 0.4.2

* moved reflection code to reflection/mod.rs (should not affect api)
* toPrimitive for Proxy classes (do stuff like console.log('got: ' + MyProxyInstanceOrClass))
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "quickjs_runtime"
version = "0.4.1"
version = "0.4.2"
authors = ["Andries Hiemstra <info@hirofa.com>"]
edition = "2018"
description = "Wrapper API and utils for the QuickJS JavaScript engine"
Expand All @@ -17,6 +17,7 @@ tokio_full = ["tokio/full"]

[dependencies]
hirofa_utils = "0.1"
#hirofa_utils = {path="../utils"}
backtrace = "0.3.56"
libquickjs-sys = "0.9.0"
lazy_static = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion src/features/fetch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub(crate) fn init(es_rt: &EsRuntime) -> Result<(), EsError> {
// init the fetch method

let func_ref =
functions::new_native_function_q(q_ctx, "fetch", Some(fetch_func), 1, false)?;
functions::new_native_function_q(q_ctx, "fetch", Some(fetch_func), 2, false)?;
unsafe {
objects::set_property(
q_ctx.context,
Expand Down

0 comments on commit bed60a6

Please sign in to comment.