funcnodes-react-flow 0.3.16__py3-none-any.whl → 0.3.17__py3-none-any.whl

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.
@@ -35,9 +35,13 @@ def get_react_plugin_content(key: str) -> ExpandedReactPlugin:
35
35
  if key not in FUNCNODES_REACT_PLUGIN:
36
36
  raise ValueError(f"React plugin {key} not found")
37
37
 
38
+ if FUNCNODES_REACT_PLUGIN[key]["module"]:
39
+ with open(FUNCNODES_REACT_PLUGIN[key]["module"], "rb") as f:
40
+ module = f.read()
41
+
38
42
  resp: ExpandedReactPlugin = {
39
43
  "js": [],
40
- "module": FUNCNODES_REACT_PLUGIN[key]["module"],
44
+ "module": module,
41
45
  "css": [],
42
46
  }
43
47
  if "js" in FUNCNODES_REACT_PLUGIN[key]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: funcnodes-react-flow
3
- Version: 0.3.16
3
+ Version: 0.3.17
4
4
  Summary: funcnodes frontend for react flow
5
5
  License: AGPL-3.0
6
6
  Author: Julian Kimmig
@@ -1,4 +1,4 @@
1
- funcnodes_react_flow/__init__.py,sha256=poogHIDAyf8noWPCAtFm1LwijB0tNSetjU0OEZuaxRc,1425
1
+ funcnodes_react_flow/__init__.py,sha256=aWp-F5XrGRyUc-pCE9QmpHwWjduJd4Wbdg3VCm68COk,1540
2
2
  funcnodes_react_flow/__main__.py,sha256=79nKibsa_5l066OU4fpHnims30464ZZy-N18CGwb5Mk,834
3
3
  funcnodes_react_flow/plugin_setup.py,sha256=gOmfuS0Opo6Cip5e0HilSquOl6Ur3Dwpc7_gFR_rSWI,1100
4
4
  funcnodes_react_flow/run.py,sha256=Eong6BUNms3BIxkpv4ILWSRN-STT-g5DZEpEYV0rj8I,512
@@ -18,8 +18,8 @@ funcnodes_react_flow/static/logo192.png,sha256=XAIrH5_B6T77mW4eEP2emYcTkprrwuokS
18
18
  funcnodes_react_flow/static/logo512.png,sha256=9SEEPsgJusj_-fxvDf11ea2YpUKXOdLhSPT3DNRw9e8,65653
19
19
  funcnodes_react_flow/static/manifest.json,sha256=ULPYw5A68_eNhxuUVXqxT045yhkurKPSz6hjyGcnmhQ,492
20
20
  funcnodes_react_flow/static/robots.txt,sha256=kNJLw79pisHhc3OVAimMzKcq3x9WT6sF9IS4xI0crdI,67
21
- funcnodes_react_flow-0.3.16.dist-info/LICENSE,sha256=21Lj2q2SYKHMY4768_a3pr3q0jY2VYamAHipoodhMDc,34273
22
- funcnodes_react_flow-0.3.16.dist-info/METADATA,sha256=TvDXvzB1iayXkqUjbS2E9wQSAOteY_KuyM36T8FqF1Q,819
23
- funcnodes_react_flow-0.3.16.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
- funcnodes_react_flow-0.3.16.dist-info/entry_points.txt,sha256=eXzH_hMr3HHg35s8Qw9fCT5NDAG2avZcxIdsCWgFWJo,148
25
- funcnodes_react_flow-0.3.16.dist-info/RECORD,,
21
+ funcnodes_react_flow-0.3.17.dist-info/LICENSE,sha256=21Lj2q2SYKHMY4768_a3pr3q0jY2VYamAHipoodhMDc,34273
22
+ funcnodes_react_flow-0.3.17.dist-info/METADATA,sha256=I9vdLgTJxGjxdoMg4941bzNDEhM3tA26ki2udgPJE7Q,819
23
+ funcnodes_react_flow-0.3.17.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
24
+ funcnodes_react_flow-0.3.17.dist-info/entry_points.txt,sha256=eXzH_hMr3HHg35s8Qw9fCT5NDAG2avZcxIdsCWgFWJo,148
25
+ funcnodes_react_flow-0.3.17.dist-info/RECORD,,