@scrypted/server 0.0.94 → 0.0.95

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.

Potentially problematic release.


This version of @scrypted/server might be problematic. Click here for more details.

@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ const { spawn } = require('child_process')
3
+ spawn('node', ['--expose-gc', 'dist/scrypted-main.js'], { stdio: 'inherit' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/server",
3
- "version": "0.0.94",
3
+ "version": "0.0.95",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@scrypted/sdk": "^0.0.128",
@@ -57,6 +57,9 @@
57
57
  "@types/whatwg-mimetype": "^2.1.0",
58
58
  "@types/ws": "^7.4.7"
59
59
  },
60
+ "bin": {
61
+ "scrypted-server": "dist/main.js"
62
+ },
60
63
  "scripts": {
61
64
  "preserve": "npm run build",
62
65
  "serve": "node --expose-gc dist/scrypted-main.js",
package/python/media.py CHANGED
@@ -7,7 +7,7 @@ import asyncio
7
7
  import json
8
8
  import aiofiles
9
9
  import os
10
- from typing import TypedDict
10
+ from typing_extensions import TypedDict
11
11
  import base64
12
12
  from os import sys
13
13
  import time