Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
fix: Fix memory issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Oct 21, 2023
1 parent 85b0aba commit c08c70b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.4.1

#### 🐞 Fixes

- Potentially fixed a WASM memory issue.

## 0.4.0

#### 🚀 Updates
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "schema_plugin"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "MIT"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion src/proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ pub fn load_versions(Json(_): Json<LoadVersionsInput>) -> FnResult<Json<LoadVers
}

if let Some(endpoint) = schema.resolve.manifest_url {
let response: Vec<JsonValue> = fetch_url_with_cache(endpoint)?;
let response: Vec<JsonValue> = fetch_url(endpoint)?;
let version_key = &schema.resolve.manifest_version_key;
let mut versions = vec![];

Expand Down

0 comments on commit c08c70b

Please sign in to comment.