@xtr-dev/rondevu-server 0.5.13 → 0.5.15

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtr-dev/rondevu-server",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "description": "DNS-like WebRTC signaling server with credential-based authentication and service discovery",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
package/src/app.ts CHANGED
@@ -22,7 +22,7 @@ export function createApp(storage: Storage, config: Config) {
22
22
  return config.corsOrigins[0];
23
23
  },
24
24
  allowMethods: ['GET', 'POST', 'OPTIONS'],
25
- allowHeaders: ['Content-Type', 'Origin', 'X-Name', 'X-Timestamp', 'X-Nonce', 'X-Signature'],
25
+ allowHeaders: ['Content-Type', 'Origin', 'X-PublicKey', 'X-Timestamp', 'X-Nonce', 'X-Signature'],
26
26
  exposeHeaders: ['Content-Type'],
27
27
  credentials: false,
28
28
  maxAge: 86400,
@@ -33,7 +33,7 @@ export function createApp(storage: Storage, config: Config) {
33
33
  return c.json({
34
34
  version: config.version,
35
35
  name: 'Rondevu',
36
- description: 'WebRTC signaling with RPC interface and HMAC signature-based authentication',
36
+ description: 'WebRTC signaling with RPC interface and Ed25519 signature-based authentication',
37
37
  }, 200);
38
38
  });
39
39
 
package/wrangler.toml CHANGED
@@ -24,7 +24,7 @@ OFFER_MAX_TTL = "86400000"
24
24
  OFFER_MIN_TTL = "60000"
25
25
  MAX_OFFERS_PER_REQUEST = "100"
26
26
  CORS_ORIGINS = "*"
27
- VERSION = "0.5.2"
27
+ VERSION = "0.5.13"
28
28
 
29
29
  # MASTER_ENCRYPTION_KEY must be set as a secret:
30
30
  # npx wrangler secret put MASTER_ENCRYPTION_KEY