solara-enterprise 1.33.0__tar.gz → 1.34.1__tar.gz

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 (24) hide show
  1. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/PKG-INFO +3 -3
  2. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/pyproject.toml +2 -2
  3. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/__init__.py +1 -1
  4. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/search/search.vue +2 -5
  5. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/.gitignore +0 -0
  6. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/LICENSE +0 -0
  7. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/RELEASE.md +0 -0
  8. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/__init__.py +0 -0
  9. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/components.py +0 -0
  10. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/flask.py +0 -0
  11. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/middleware.py +0 -0
  12. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/starlette.py +0 -0
  13. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/auth/utils.py +0 -0
  14. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/__init__.py +0 -0
  15. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/base.py +0 -0
  16. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/disk.py +0 -0
  17. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/memory_size.py +0 -0
  18. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/multi_level.py +0 -0
  19. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/cache/redis.py +0 -0
  20. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/license.py +0 -0
  21. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/search/__init__.py +0 -0
  22. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/search/index.py +0 -0
  23. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/search/search.py +0 -0
  24. {solara_enterprise-1.33.0 → solara_enterprise-1.34.1}/solara_enterprise/ssg.py +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solara-enterprise
3
- Version: 1.33.0
3
+ Version: 1.34.1
4
4
  Dynamic: Summary
5
5
  Project-URL: Home, https://www.github.com/widgetti/solara
6
6
  Author-email: "Maarten A. Breddels" <maartenbreddels@gmail.com>, Mario Buikhuizen <mariobuikhuizen@gmail.com>
7
7
  License: Not open source, contact contact@solara.dev for licencing.
8
8
  License-File: LICENSE
9
9
  Classifier: License :: Free for non-commercial use
10
- Requires-Dist: solara-server==1.33.0
11
- Requires-Dist: solara-ui==1.33.0
10
+ Requires-Dist: solara-server==1.34.1
11
+ Requires-Dist: solara-ui==1.34.1
12
12
  Provides-Extra: all
13
13
  Requires-Dist: solara-enterprise[auth]; extra == 'all'
14
14
  Requires-Dist: solara-enterprise[cache]; extra == 'all'
@@ -11,8 +11,8 @@ license = {file = "LICENSE"}
11
11
  classifiers = ["License :: Free for non-commercial use"]
12
12
  dynamic = ["version", "description"]
13
13
  dependencies = [
14
- "solara-ui==1.33.0",
15
- "solara-server==1.33.0",
14
+ "solara-ui==1.34.1",
15
+ "solara-server==1.34.1",
16
16
  ]
17
17
 
18
18
  [project.optional-dependencies]
@@ -1,3 +1,3 @@
1
1
  "Enterprise features for Solara"
2
2
 
3
- __version__ = "1.33.0"
3
+ __version__ = "1.34.1"
@@ -137,10 +137,7 @@ module.exports = {
137
137
  document.head.appendChild(script);
138
138
  });
139
139
  },
140
- getBaseUrl() {
141
- if (window.solara && window.solara.rootPath !== undefined) {
142
- return solara.rootPath + "/";
143
- }
140
+ getJupyterBaseUrl() {
144
141
  // if base url is set, we use ./ for relative paths compared to the base url
145
142
  if (document.getElementsByTagName("base").length) {
146
143
  return document.baseURI;
@@ -157,7 +154,7 @@ module.exports = {
157
154
  return base
158
155
  },
159
156
  getCdn() {
160
- return (typeof solara_cdn !== "undefined" && solara_cdn) || `${this.getBaseUrl()}_solara/cdn`;
157
+ return window.solara ? window.solara.cdn : `${this.getJupyterBaseUrl()}_solara/cdn`;
161
158
  },
162
159
  }
163
160
  }