deepspace 0.3.9 → 0.3.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/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +1 -1
- package/dist/worker.js +1 -1
- package/dist/worker.js.map +1 -1
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -2713,7 +2713,7 @@ declare function handleToolsRequest(ctx: ToolsApiContext, request: Request, path
|
|
|
2713
2713
|
interface JwtVerifierConfig {
|
|
2714
2714
|
/** PEM-encoded public key (ES256) for JWT verification */
|
|
2715
2715
|
publicKey: string;
|
|
2716
|
-
/** Expected issuer (e.g. "https://auth.deep.space") */
|
|
2716
|
+
/** Expected issuer (e.g. "https://auth.deep.space/api/auth") */
|
|
2717
2717
|
issuer: string;
|
|
2718
2718
|
/** Expected audience (usually the configured platform API URL) */
|
|
2719
2719
|
audience?: string | string[];
|
package/dist/server.js
CHANGED
|
@@ -588,7 +588,7 @@ function createDeepSpaceAuth(config) {
|
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
// src/server/utils/cron.ts
|
|
591
|
-
var DEFAULT_API_BASE_URL = "https://
|
|
591
|
+
var DEFAULT_API_BASE_URL = "https://api-worker.deep.space";
|
|
592
592
|
function buildCronContext(env, ownerUserId, roomId = "default") {
|
|
593
593
|
const hmacSecret = env.INTERNAL_STORAGE_HMAC_SECRET;
|
|
594
594
|
const apiBase = env.API_BASE_URL || DEFAULT_API_BASE_URL;
|