From 213c4810c2cc5cd4f421b43e90a5ce4e2185398d Mon Sep 17 00:00:00 2001 From: Jeff Schwab Date: Fri, 13 Mar 2026 12:52:02 -0400 Subject: [PATCH 1/2] cargo clippy --fix -p bluefin-pro --examples --- rust/examples/account-value-history-by-account.rs | 4 ++-- rust/examples/expanded-usage.rs | 10 ++++------ rust/examples/trade-cancel-order.rs | 5 ++--- rust/examples/trade-create-order.rs | 5 ++--- rust/examples/trade-withdraw.rs | 5 ++--- rust/examples/ws-account-update-stream.rs | 5 ++--- rust/examples/ws-candlestick-stream.rs | 4 ++-- rust/examples/ws-leverage-update-failure.rs | 5 ++--- rust/examples/ws-mark-price-stream.rs | 4 ++-- rust/examples/ws-market-price-stream.rs | 4 ++-- rust/examples/ws-oracle-price-stream.rs | 4 ++-- rust/examples/ws-orderbook-diff-depth-stream.rs | 4 ++-- rust/examples/ws-partial-depth-stream.rs | 4 ++-- rust/examples/ws-recent-trade-stream.rs | 4 ++-- rust/examples/ws-ticker-all-stream.rs | 4 ++-- rust/examples/ws-ticker-stream.rs | 4 ++-- 16 files changed, 34 insertions(+), 41 deletions(-) diff --git a/rust/examples/account-value-history-by-account.rs b/rust/examples/account-value-history-by-account.rs index 0fb06a30..c395d36b 100644 --- a/rust/examples/account-value-history-by-account.rs +++ b/rust/examples/account-value-history-by-account.rs @@ -2,7 +2,7 @@ use bluefin_api::apis::account_data_api::get_account_value_history_by_account; use bluefin_api::apis::configuration::Configuration; use bluefin_api::models::AccountValueHistory; use bluefin_pro::prelude::*; -use hex::FromHex; + type Error = Box; type Result = std::result::Result; @@ -26,7 +26,7 @@ async fn main() -> Result<()> { let environment = Environment::Staging; let test_account_address = environment.test_keys().unwrap().address; - let response = send_request(test_account_address.into()).await?; + let response = send_request(test_account_address).await?; println!("{response:#?}"); diff --git a/rust/examples/expanded-usage.rs b/rust/examples/expanded-usage.rs index 5e720a86..8c592475 100644 --- a/rust/examples/expanded-usage.rs +++ b/rust/examples/expanded-usage.rs @@ -56,8 +56,7 @@ async fn listen_to_account_stream_websocket( ws_sender .send(Message::Text(serde_json::to_string( &AccountSubscriptionMessage::new(SubscriptionType::Subscribe, subscriptions), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -75,7 +74,7 @@ async fn listen_to_account_stream_websocket( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } @@ -134,8 +133,7 @@ async fn listen_to_market_stream_websocket( ws_sender .send(Message::Text(serde_json::to_string( &MarketSubscriptionMessage::new(SubscriptionType::Subscribe, subscriptions), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -153,7 +151,7 @@ async fn listen_to_market_stream_websocket( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/trade-cancel-order.rs b/rust/examples/trade-cancel-order.rs index 769cffaa..b7545665 100644 --- a/rust/examples/trade-cancel-order.rs +++ b/rust/examples/trade-cancel-order.rs @@ -85,8 +85,7 @@ async fn listen_to_account_order_updates( SubscriptionType::Subscribe, vec![AccountDataStream::AccountOrderUpdate], ), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -104,7 +103,7 @@ async fn listen_to_account_order_updates( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/trade-create-order.rs b/rust/examples/trade-create-order.rs index 800093c6..a55128e9 100644 --- a/rust/examples/trade-create-order.rs +++ b/rust/examples/trade-create-order.rs @@ -70,8 +70,7 @@ async fn listen_to_account_order_updates( SubscriptionType::Subscribe, vec![AccountDataStream::AccountOrderUpdate], ), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -89,7 +88,7 @@ async fn listen_to_account_order_updates( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/trade-withdraw.rs b/rust/examples/trade-withdraw.rs index 6a10e68a..fce27e53 100644 --- a/rust/examples/trade-withdraw.rs +++ b/rust/examples/trade-withdraw.rs @@ -65,8 +65,7 @@ async fn listen_to_account_info( SubscriptionType::Subscribe, vec![AccountDataStream::AccountUpdate], ), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -84,7 +83,7 @@ async fn listen_to_account_info( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-account-update-stream.rs b/rust/examples/ws-account-update-stream.rs index b1de7815..aa313f44 100644 --- a/rust/examples/ws-account-update-stream.rs +++ b/rust/examples/ws-account-update-stream.rs @@ -65,8 +65,7 @@ async fn listen_to_account_info( SubscriptionType::Subscribe, vec![AccountDataStream::AccountUpdate], ), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -84,7 +83,7 @@ async fn listen_to_account_info( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-candlestick-stream.rs b/rust/examples/ws-candlestick-stream.rs index 73dc2b34..3c0efba7 100644 --- a/rust/examples/ws-candlestick-stream.rs +++ b/rust/examples/ws-candlestick-stream.rs @@ -42,7 +42,7 @@ async fn listen_to_candlestick_updates( ); ws_sender - .send(Message::Text(serde_json::to_string(&sub_message)?.into())) + .send(Message::Text(serde_json::to_string(&sub_message)?)) .await?; // Spawn a websocket listener task to listen for messages on the subscribed topic. @@ -60,7 +60,7 @@ async fn listen_to_candlestick_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); } println!("Pong sent"); diff --git a/rust/examples/ws-leverage-update-failure.rs b/rust/examples/ws-leverage-update-failure.rs index 24c45e7e..706ec282 100644 --- a/rust/examples/ws-leverage-update-failure.rs +++ b/rust/examples/ws-leverage-update-failure.rs @@ -72,8 +72,7 @@ async fn listen_to_command_failures( SubscriptionType::Subscribe, vec![AccountDataStream::AccountCommandFailureUpdate], ), - )? - .into())) + )?)) .await?; // Now, we spawn a websocket listener task to listen for messages on the subscribed topic. @@ -91,7 +90,7 @@ async fn listen_to_command_failures( Message::Ping(_) => { println!("Ping received"); // Send Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-mark-price-stream.rs b/rust/examples/ws-mark-price-stream.rs index 05c9264d..236cd958 100644 --- a/rust/examples/ws-mark-price-stream.rs +++ b/rust/examples/ws-mark-price-stream.rs @@ -66,7 +66,7 @@ async fn listen_to_mark_price_updates( vec![MarketDataStreamName::MarkPrice], )], ))?; - ws_sender.send(Message::Text(sub_message.into())).await?; + ws_sender.send(Message::Text(sub_message)).await?; // Spawn a websocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -83,7 +83,7 @@ async fn listen_to_mark_price_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); } println!("Pong sent"); diff --git a/rust/examples/ws-market-price-stream.rs b/rust/examples/ws-market-price-stream.rs index 1691d33c..3541a45b 100644 --- a/rust/examples/ws-market-price-stream.rs +++ b/rust/examples/ws-market-price-stream.rs @@ -74,7 +74,7 @@ async fn listen_to_market_price_updates( )], ))?; - ws_sender.send(Message::Text(sub_message.into())).await?; + ws_sender.send(Message::Text(sub_message)).await?; // Spawn a websocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -91,7 +91,7 @@ async fn listen_to_market_price_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); } println!("Pong sent"); diff --git a/rust/examples/ws-oracle-price-stream.rs b/rust/examples/ws-oracle-price-stream.rs index 032dce77..6730ca22 100644 --- a/rust/examples/ws-oracle-price-stream.rs +++ b/rust/examples/ws-oracle-price-stream.rs @@ -66,7 +66,7 @@ async fn listen_to_oracle_price_updates( vec![MarketDataStreamName::OraclePrice], )], ))?; - ws_sender.send(Message::Text(sub_message.into())).await?; + ws_sender.send(Message::Text(sub_message)).await?; // Spawn a websocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -83,7 +83,7 @@ async fn listen_to_oracle_price_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); } println!("Pong sent"); diff --git a/rust/examples/ws-orderbook-diff-depth-stream.rs b/rust/examples/ws-orderbook-diff-depth-stream.rs index bbae127d..01daae8c 100644 --- a/rust/examples/ws-orderbook-diff-depth-stream.rs +++ b/rust/examples/ws-orderbook-diff-depth-stream.rs @@ -40,7 +40,7 @@ async fn listen_to_diff_depth_updates( println!("Sending subscription message: {subscription_message}"); // Send a subscription message to receive diff depth updates. - ws_sender.send(Message::Text(subscription_message.into())).await?; + ws_sender.send(Message::Text(subscription_message)).await?; // Spawn a WebSocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -57,7 +57,7 @@ async fn listen_to_diff_depth_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-partial-depth-stream.rs b/rust/examples/ws-partial-depth-stream.rs index 068900de..3728b99e 100644 --- a/rust/examples/ws-partial-depth-stream.rs +++ b/rust/examples/ws-partial-depth-stream.rs @@ -48,7 +48,7 @@ async fn listen_to_partial_depth_updates( println!("Sending subscription message: {subscription_message}"); // Send a subscription message to receive account order updates. - ws_sender.send(Message::Text(subscription_message.into())).await?; + ws_sender.send(Message::Text(subscription_message)).await?; // Spawn a WebSocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -65,7 +65,7 @@ async fn listen_to_partial_depth_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-recent-trade-stream.rs b/rust/examples/ws-recent-trade-stream.rs index 08f4e2cb..2a9fa645 100644 --- a/rust/examples/ws-recent-trade-stream.rs +++ b/rust/examples/ws-recent-trade-stream.rs @@ -41,7 +41,7 @@ async fn listen_to_recent_trade_updates( println!("Sending subscription message: {subscription_message}"); // Send a subscription message to receive recent trade updates. - ws_sender.send(Message::Text(subscription_message.into())).await?; + ws_sender.send(Message::Text(subscription_message)).await?; // Spawn a WebSocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -58,7 +58,7 @@ async fn listen_to_recent_trade_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-ticker-all-stream.rs b/rust/examples/ws-ticker-all-stream.rs index d57777b7..4bc06a14 100644 --- a/rust/examples/ws-ticker-all-stream.rs +++ b/rust/examples/ws-ticker-all-stream.rs @@ -40,7 +40,7 @@ async fn listen_to_ticker_all_updates( println!("Sending subscription message: {subscription_message}"); // Send a subscription message to receive ticker updates. - ws_sender.send(Message::Text(subscription_message.into())).await?; + ws_sender.send(Message::Text(subscription_message)).await?; // Spawn a WebSocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -57,7 +57,7 @@ async fn listen_to_ticker_all_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } diff --git a/rust/examples/ws-ticker-stream.rs b/rust/examples/ws-ticker-stream.rs index 36a44be8..56e4f5ea 100644 --- a/rust/examples/ws-ticker-stream.rs +++ b/rust/examples/ws-ticker-stream.rs @@ -41,7 +41,7 @@ async fn listen_to_ticker_updates( println!("Sending subscription message: {subscription_message}"); // Send a subscription message to receive ticker updates. - ws_sender.send(Message::Text(subscription_message.into())).await?; + ws_sender.send(Message::Text(subscription_message)).await?; // Spawn a WebSocket listener task to listen for messages on the subscribed topic. tokio::spawn(async move { @@ -58,7 +58,7 @@ async fn listen_to_ticker_updates( Message::Ping(_) => { println!("Ping received"); // Send back Pong. - if let Err(error) = ws_sender.send(Message::Pong(Vec::new().into())).await { + if let Err(error) = ws_sender.send(Message::Pong(Vec::new())).await { eprintln!("Error sending Pong: {error}"); return; } From 3526566463c898fde87283f806ca96e93f6a7deb Mon Sep 17 00:00:00 2001 From: Jeff Schwab Date: Fri, 13 Mar 2026 13:12:24 -0400 Subject: [PATCH 2/2] Run apigen --- .apigen-state | 13 ++++---- python/sdk/config.yaml | 2 +- python/sdk/pyproject.toml | 2 +- python/sdk/src/openapi_client/__init__.py | 2 +- python/sdk/src/openapi_client/api_client.py | 2 +- .../sdk/src/openapi_client/configuration.py | 2 +- python/sdk/src/openapi_client_README.md | 2 +- rust/Cargo.lock | 4 +-- rust/Cargo.toml | 30 +++++++++---------- rust/gen/bluefin_api/Cargo.toml | 2 +- rust/gen/bluefin_api/README.md | 2 +- rust/gen/config.yaml | 2 +- ts/sdk/package.json | 2 +- 13 files changed, 34 insertions(+), 33 deletions(-) diff --git a/.apigen-state b/.apigen-state index 2b0250ac..c4f9ab66 100644 --- a/.apigen-state +++ b/.apigen-state @@ -1,16 +1,17 @@ { "version": "1", "algorithm": "sha256", - "generated_at": "2026-03-09T16:37:05.015868Z", + "generated_at": "2026-03-13T17:12:11.050134Z", "spec_files": { "resources/account-data-api.yaml": "2d366acf63b1412c3b49583b22aea07829f297332ebd1b0680954d0d248f2998", - "resources/auth-api.yaml": "d323937afd8fd9431a1075bb7ae06a28181848afd6e5278675b9a2945b9257c1", - "resources/bluefin-api.yaml": "114c8ea5a7cb58d0a53f54a8fbfe4a7c9616bfb0286a951afa057906ebd69179", - "resources/common.yaml": "f0140950057e524457e5197c5b20bf8d74342e596378043ff8b4c75b5a3fc036", + "resources/auth-api.yaml": "d26ab4c10c7c716fd7888513a5a51123f5040067d56fd7e96b55431ed2f3184c", + "resources/bluefin-api.yaml": "b81cebbb70822b4806a9c56e819d6dd1b52453f4b37d63a95a14dae7cf0edb9c", + "resources/common.yaml": "71dc565fccebcc9e71b49b48448d2583903aec7e2d16ef1d69972b50f2e4250f", "resources/exchange-api.yaml": "a309b3a5c29fb71dcc26d6f8018883ec51b42db43c29fee7b7ed4f0997146f77", "resources/rewards-data-api.yaml": "2c715683d080ad11aa7667d81e36b1f36839da5d2af1bd3ce0d164db6f19cb0c", "resources/trade-api.yaml": "229ac3d9a7a30b640db928cc5d99cddc4e185e70b76e7c0d7273f94225cd1d37", - "resources/websocket-api.yaml": "eefb5b151d020ca372577927bb740b3bf1206cc2d31f8c0d8763bf6e56590330" + "resources/vera-api.yaml": "f4c51b5f6614dd4e3b9f5f1f01f945e06d9090849530ecb916ad4ae18d8f61a0", + "resources/websocket-api.yaml": "c2c51ceea701bff0b7e911e9afdb0addeb4d7f173b2a25b996d13f5462cb535b" }, - "combined_hash": "104e4eef97711bac98ad21c203db31ccd213605bda6cf241fab2c48dcffaca6d" + "combined_hash": "c9a9df6db69d3ab7c6a3c97c28336f560af1f5be224d70ff549da75c1be5e45a" } \ No newline at end of file diff --git a/python/sdk/config.yaml b/python/sdk/config.yaml index c5148a9d..72da24f6 100644 --- a/python/sdk/config.yaml +++ b/python/sdk/config.yaml @@ -2,4 +2,4 @@ additionalProperties: library: asyncio generateSourceCodeOnly: true useOneOfDiscriminatorLookup: true - packageVersion: 1.13.0 + packageVersion: 1.14.0 diff --git a/python/sdk/pyproject.toml b/python/sdk/pyproject.toml index b5a5b6b2..9763c9af 100644 --- a/python/sdk/pyproject.toml +++ b/python/sdk/pyproject.toml @@ -21,7 +21,7 @@ description = "Python Boilerplate contains all the boilerplate you need to creat name = "bluefin_pro_sdk" readme = "README.rst" requires-python = ">=3.9.2,<3.14.0" -version = "1.13.0" +version = "1.14.0" [[project.authors]] email = "audreyr@example.com" diff --git a/python/sdk/src/openapi_client/__init__.py b/python/sdk/src/openapi_client/__init__.py index 630fde20..090a41b0 100644 --- a/python/sdk/src/openapi_client/__init__.py +++ b/python/sdk/src/openapi_client/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "1.13.0" +__version__ = "1.14.0" # import apis into sdk package from openapi_client.api.account_data_api import AccountDataApi diff --git a/python/sdk/src/openapi_client/api_client.py b/python/sdk/src/openapi_client/api_client.py index 9e9b8085..ea3d3391 100644 --- a/python/sdk/src/openapi_client/api_client.py +++ b/python/sdk/src/openapi_client/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.13.0/python' + self.user_agent = 'OpenAPI-Generator/1.14.0/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/python/sdk/src/openapi_client/configuration.py b/python/sdk/src/openapi_client/configuration.py index 8710e3bf..aa98bc1b 100644 --- a/python/sdk/src/openapi_client/configuration.py +++ b/python/sdk/src/openapi_client/configuration.py @@ -507,7 +507,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 1.13.0".\ + "SDK Package Version: 1.14.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/python/sdk/src/openapi_client_README.md b/python/sdk/src/openapi_client_README.md index 9b863a5c..c5121230 100644 --- a/python/sdk/src/openapi_client_README.md +++ b/python/sdk/src/openapi_client_README.md @@ -4,7 +4,7 @@ Bluefin API The `openapi_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.13.0 +- Package version: 1.14.0 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 5a997ceb..f489a095 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "bluefin-pro" -version = "1.13.0" +version = "1.14.0" dependencies = [ "base64", "bcs", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "bluefin_api" -version = "1.13.0" +version = "1.14.0" dependencies = [ "reqwest", "serde", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 86fb53fe..cdb534cb 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,14 +1,3 @@ -[features] -# Default TLS mode: platform-native TLS backend. -default = ["tls-native-tls"] - -# Optional rustls backend with aws-lc-rs crypto provider. -tls-rustls = ["dep:rustls", "reqwest/rustls-tls-webpki-roots"] - -# Platform-native TLS backend (OpenSSL on many Linux distros, -# Security Framework on macOS, Schannel on Windows). -tls-native-tls = ["reqwest/native-tls"] - [dependencies] base64 = "0.22.1" bcs = "0.1.6" @@ -20,20 +9,23 @@ sha2 = "0.10.9" [dependencies.bluefin_api] path = "gen/bluefin_api" -version = "1.13.0" +version = "1.14.0" [dependencies.ed25519-dalek] features = ["rand_core"] version = "2.2.0" [dependencies.reqwest] -package = "reqwest" default-features = false +package = "reqwest" version = "0.12" [dependencies.rustls] default-features = false -features = ["aws-lc-rs", "std"] +features = [ + "aws-lc-rs", + "std", +] optional = true version = "0.23" @@ -75,6 +67,14 @@ version = "1.50.0" features = ["rustls-tls-webpki-roots"] version = "0.24.0" +[features] +default = ["tls-native-tls"] +tls-native-tls = ["reqwest/native-tls"] +tls-rustls = [ + "dep:rustls", + "reqwest/rustls-tls-webpki-roots", +] + [package] categories = [ "api-bindings", @@ -93,7 +93,7 @@ keywords = [ license = "Unlicense" name = "bluefin-pro" repository = "https://github.com/fireflyprotocol/pro-sdk" -version = "1.13.0" +version = "1.14.0" [workspace] members = [ diff --git a/rust/gen/bluefin_api/Cargo.toml b/rust/gen/bluefin_api/Cargo.toml index 9c84f7f3..1f8a6e1a 100644 --- a/rust/gen/bluefin_api/Cargo.toml +++ b/rust/gen/bluefin_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bluefin_api" -version = "1.13.0" +version = "1.14.0" authors = ["OpenAPI Generator team and contributors"] description = "Bluefin API" license = "MIT OR Apache-2.0" diff --git a/rust/gen/bluefin_api/README.md b/rust/gen/bluefin_api/README.md index 66c73829..70aadda3 100644 --- a/rust/gen/bluefin_api/README.md +++ b/rust/gen/bluefin_api/README.md @@ -8,7 +8,7 @@ Bluefin API This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0.0 -- Package version: 1.13.0 +- Package version: 1.14.0 - Generator version: 7.13.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/rust/gen/config.yaml b/rust/gen/config.yaml index 1a8b3c17..dee615a2 100644 --- a/rust/gen/config.yaml +++ b/rust/gen/config.yaml @@ -2,5 +2,5 @@ additionalProperties: hideGenerationTimestamp: 'true' avoidBoxedModels: 'true' packageName: bluefin_api - packageVersion: 1.13.0 + packageVersion: 1.14.0 preferUnsignedInt: 'true' diff --git a/ts/sdk/package.json b/ts/sdk/package.json index c19eae40..54e974b0 100644 --- a/ts/sdk/package.json +++ b/ts/sdk/package.json @@ -52,5 +52,5 @@ "prepare": "npm run build" }, "types": "./dist/types/index.d.ts", - "version": "1.13.2" + "version": "1.14.0" } \ No newline at end of file