@phreshos/server 0.1.8 → 0.1.10

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/dist/theme.d.ts CHANGED
@@ -9,7 +9,6 @@ export default class ServerTheme extends Events {
9
9
  accent: string;
10
10
  spacing: number;
11
11
  radius: number;
12
- glass: import("@phreshos/core").ThemeGlass;
13
12
  surface: import("@phreshos/core").ThemeSurface;
14
13
  }>>;
15
14
  readonly update: (theme: ThemeProperties) => Promise<void>;
package/dist/theme.js CHANGED
@@ -29,8 +29,7 @@ function isObject(value) {
29
29
  const surface = theme.surface;
30
30
  return typeof theme.background === "string" && typeof theme.foreground === "string" && typeof theme.accent === "string"
31
31
  && typeof theme.spacing === "number" && typeof theme.radius === "number"
32
- && typeof theme.glass === "object" && theme.glass !== null
33
- && typeof surface === "object" && surface !== null && typeof surface.color === "string"
32
+ && typeof surface === "object" && surface !== null
34
33
  && typeof surface.grain === "number" && typeof surface.animation === "number"
35
34
  && typeof surface.backdrop === "number" && typeof surface.opacity === "number";
36
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phreshos/server",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "The SDK used by a Program's server endpoint.",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
@@ -46,13 +46,13 @@
46
46
  "prepack": "node --run build"
47
47
  },
48
48
  "peerDependencies": {
49
- "@phreshos/core": "^0.1.7"
49
+ "@phreshos/core": "^0.1.8"
50
50
  },
51
51
  "dependencies": {
52
52
  "@msgpack/msgpack": "^3.1.3"
53
53
  },
54
54
  "devDependencies": {
55
- "@phreshos/core": "^0.1.7",
55
+ "@phreshos/core": "^0.1.8",
56
56
  "@types/node": "^26.2.0",
57
57
  "typescript": "^6.0.3"
58
58
  }