@scrypted/server 0.94.11 → 0.94.13

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.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.94.11",
3
+ "version": "0.94.13",
4
4
  "description": "",
5
5
  "dependencies": {
6
- "@bjia56/portable-python-3.9": "^0.1.9",
6
+ "@bjia56/portable-python-3.9": "^0.1.10",
7
7
  "@mapbox/node-pre-gyp": "^1.0.11",
8
8
  "@scrypted/types": "^0.3.13",
9
9
  "adm-zip": "^0.5.10",
@@ -9,7 +9,6 @@ import multiprocessing.connection
9
9
  import os
10
10
  import platform
11
11
  import shutil
12
- import ssl
13
12
  import sys
14
13
  import threading
15
14
  import time
@@ -33,14 +32,6 @@ from scrypted_python.scrypted_sdk.types import (Device, DeviceManifest,
33
32
  ScryptedInterfaceProperty,
34
33
  Storage)
35
34
 
36
- default_create_default_context = ssl.create_default_context
37
- def new_create_default_context(*args, **kwargs):
38
- capath = os.path.dirname(os.path.dirname(sys.executable)) + "/lib/python3.9/site-packages/pip/_vendor/certifi/cacert.pem"
39
- return default_create_default_context(*args, cafile=capath, **kwargs)
40
-
41
- ssl.create_default_context = new_create_default_context
42
- ssl._create_default_https_context = new_create_default_context
43
-
44
35
  class ClusterObject(TypedDict):
45
36
  id: str
46
37
  port: int