Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
edisontim committed Dec 14, 2024
1 parent dcf0358 commit 861ef4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/c/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::ffi::{c_char, CStr, CString};
use std::ffi::{CStr, CString, c_char};

use starknet::core::utils::get_selector_from_name;
use torii_client::client::Client;
Expand Down
4 changes: 2 additions & 2 deletions src/wasm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ impl ToriiClient {
/// # Returns
/// Result containing paginated entities or error
#[wasm_bindgen(js_name = getAllEntities)]
pub async fn get_all_entities(&self, limit: u32, offset: u32, internal_updated_at: u64) -> Result<Entities, JsValue> {
pub async fn get_all_entities(&self, limit: u32, offset: u32) -> Result<Entities, JsValue> {
#[cfg(feature = "console-error-panic")]
console_error_panic_hook::set_once();

Expand All @@ -689,7 +689,7 @@ impl ToriiClient {
dont_include_hashed_keys: false,
order_by: vec![],
entity_models: vec![],
internal_updated_at,
internal_updated_at: 0,
})
.await;

Expand Down
2 changes: 1 addition & 1 deletion src/wasm/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use serde_wasm_bindgen::to_value;
use starknet::core::types::FunctionCall;
use starknet::core::utils::get_selector_from_name;
use starknet_crypto::Felt;
use tsify_next::{declare, Tsify};
use tsify_next::{Tsify, declare};
use wasm_bindgen::prelude::*;

use super::utils::parse_ty_as_json_str;
Expand Down

0 comments on commit 861ef4c

Please sign in to comment.