@danhachuel/thunderbolt 0.7.19 → 0.7.20

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 +3 -2
  2. package/package.json +1 -1
package/app/main.py CHANGED
@@ -35,6 +35,7 @@ from typing import Any
35
35
 
36
36
  import requests
37
37
  import streamlit as st
38
+ import streamlit.components.v1 as components
38
39
 
39
40
  ROOT = Path(__file__).resolve().parents[1]
40
41
  if str(ROOT) not in sys.path:
@@ -267,8 +268,8 @@ ensure_storage()
267
268
  st.set_page_config(page_title="Thunderbolt", page_icon="T", layout="wide", initial_sidebar_state="expanded")
268
269
 
269
270
  theme_base = (st.get_option("theme.base") or "dark").lower()
270
- st.iframe(
271
- srcdoc="""
271
+ components.html(
272
+ """
272
273
  <script>
273
274
  (() => {
274
275
  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.19",
3
+ "version": "0.7.20",
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",