From cb4ce4da8676cd21be6df762e981ac6be02eb05e Mon Sep 17 00:00:00 2001 From: Khashayar Barooti Date: Thu, 9 Jan 2025 10:32:17 +0000 Subject: [PATCH] some visibility changes due to merging main into the branch fixed --- src/get_literal.nr | 2 +- src/json.nr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/get_literal.nr b/src/get_literal.nr index 6e2d0d3..f3693ab 100644 --- a/src/get_literal.nr +++ b/src/get_literal.nr @@ -13,7 +13,7 @@ global LITERAL_OFFSET_SHIFT: [Field; 6] = * @brief a JSON "literal" type has 3 states: "true", "false", "null". * As such we can't directly convert to a bool and cover all possible cases **/ -struct JSONLiteral { +pub struct JSONLiteral { value: Field, } diff --git a/src/json.nr b/src/json.nr index 2c7c806..d412ede 100644 --- a/src/json.nr +++ b/src/json.nr @@ -20,7 +20,7 @@ use crate::transcript_entry::{ /** * @brief records a value in a json blob **/ -struct JSONValue { +pub struct JSONValue { value: BoundedVec, // raw bytes that constitute the json value entry value_type: Field, // either STRING_TOKEN, NUMERIC_TOKEN or LITERAL_TOKEN }