@danhachuel/thunderbolt 0.7.17 → 0.7.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/app/main.py +2 -3
  2. package/package.json +1 -1
package/app/main.py CHANGED
@@ -35,7 +35,6 @@ from typing import Any
35
35
 
36
36
  import requests
37
37
  import streamlit as st
38
- import streamlit.components.v1 as components
39
38
 
40
39
  ROOT = Path(__file__).resolve().parents[1]
41
40
  if str(ROOT) not in sys.path:
@@ -268,8 +267,8 @@ ensure_storage()
268
267
  st.set_page_config(page_title="Thunderbolt", page_icon="T", layout="wide", initial_sidebar_state="expanded")
269
268
 
270
269
  theme_base = (st.get_option("theme.base") or "dark").lower()
271
- components.html(
272
- """
270
+ st.iframe(
271
+ srcdoc="""
273
272
  <script>
274
273
  (() => {
275
274
  const STYLE_ID = "thunderbolt-light-theme-style";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danhachuel/thunderbolt",
3
- "version": "0.7.17",
3
+ "version": "0.7.18",
4
4
  "description": "Thunderbolt — interface local para operação de canais faceless e motor MoneyPrinterTurbo",
5
5
  "license": "MIT",
6
6
  "main": "scripts/cli.mjs",