@sentry/junior 0.9.0 → 0.9.1
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/{chunk-IJVZEV3K.js → chunk-7GLBFSWP.js} +7 -8
- package/dist/{chunk-DIMXJUSL.js → chunk-JNHYSCAO.js} +1 -1
- package/dist/{chunk-I3DYWLM6.js → chunk-T7BIFBYH.js} +1 -1
- package/dist/{chunk-4G2LA7RO.js → chunk-UPCIISWE.js} +2 -2
- package/dist/cli/snapshot-warmup.js +1 -1
- package/dist/handlers/queue-callback.js +3 -3
- package/dist/handlers/router.js +4 -4
- package/dist/handlers/webhooks.js +1 -1
- package/dist/{production-XMCJXOOI.js → production-PPQEQOPO.js} +2 -2
- package/package.json +1 -1
|
@@ -247,19 +247,18 @@ function getVercelSandboxCredentials() {
|
|
|
247
247
|
const token = toOptionalTrimmed2(process.env.VERCEL_TOKEN);
|
|
248
248
|
const teamId = toOptionalTrimmed2(process.env.VERCEL_TEAM_ID);
|
|
249
249
|
const projectId = toOptionalTrimmed2(process.env.VERCEL_PROJECT_ID);
|
|
250
|
-
if (
|
|
250
|
+
if (token && teamId && projectId) {
|
|
251
|
+
return { token, teamId, projectId };
|
|
252
|
+
}
|
|
253
|
+
if (toOptionalTrimmed2(process.env.VERCEL_OIDC_TOKEN)) {
|
|
251
254
|
return void 0;
|
|
252
255
|
}
|
|
253
|
-
if (
|
|
256
|
+
if (token || teamId || projectId) {
|
|
254
257
|
throw new Error(
|
|
255
|
-
"Missing Vercel Sandbox credentials: set VERCEL_TOKEN, VERCEL_TEAM_ID, and VERCEL_PROJECT_ID together."
|
|
258
|
+
"Missing Vercel Sandbox credentials: set VERCEL_TOKEN, VERCEL_TEAM_ID, and VERCEL_PROJECT_ID together, or provide VERCEL_OIDC_TOKEN."
|
|
256
259
|
);
|
|
257
260
|
}
|
|
258
|
-
return
|
|
259
|
-
token,
|
|
260
|
-
teamId,
|
|
261
|
-
projectId
|
|
262
|
-
};
|
|
261
|
+
return void 0;
|
|
263
262
|
}
|
|
264
263
|
|
|
265
264
|
// src/chat/sandbox/paths.ts
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { after } from "next/server";
|
|
13
13
|
import * as Sentry from "@sentry/nextjs";
|
|
14
14
|
async function loadBot() {
|
|
15
|
-
const { bot } = await import("./production-
|
|
15
|
+
const { bot } = await import("./production-PPQEQOPO.js");
|
|
16
16
|
return bot;
|
|
17
17
|
}
|
|
18
18
|
async function POST(request, context) {
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
getThreadMessageTopic,
|
|
8
8
|
removeReactionFromMessage,
|
|
9
9
|
slackRuntime
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JNHYSCAO.js";
|
|
11
11
|
import {
|
|
12
12
|
getConnectedStateContext,
|
|
13
13
|
getStateAdapter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7GLBFSWP.js";
|
|
15
15
|
import {
|
|
16
16
|
createRequestContext,
|
|
17
17
|
logError,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
POST
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-UPCIISWE.js";
|
|
4
|
+
import "../chunk-JNHYSCAO.js";
|
|
5
5
|
import "../chunk-VM3CPAZF.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7GLBFSWP.js";
|
|
7
7
|
import "../chunk-ZBWWHP6Q.js";
|
|
8
8
|
import "../chunk-KCLEEKYX.js";
|
|
9
9
|
import "../chunk-ZW4OVKF5.js";
|
package/dist/handlers/router.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
POST as POST2
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-T7BIFBYH.js";
|
|
4
4
|
import {
|
|
5
5
|
POST
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-UPCIISWE.js";
|
|
7
7
|
import {
|
|
8
8
|
buildConversationContext,
|
|
9
9
|
buildSlackOutputMessage,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
updateConversationStats,
|
|
32
32
|
uploadFilesToThread,
|
|
33
33
|
upsertConversationMessage
|
|
34
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-JNHYSCAO.js";
|
|
35
35
|
import {
|
|
36
36
|
GET
|
|
37
37
|
} from "../chunk-4RBEYCOG.js";
|
|
@@ -39,7 +39,7 @@ import "../chunk-VM3CPAZF.js";
|
|
|
39
39
|
import {
|
|
40
40
|
botConfig,
|
|
41
41
|
getStateAdapter
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-7GLBFSWP.js";
|
|
43
43
|
import {
|
|
44
44
|
buildOAuthTokenRequest,
|
|
45
45
|
getPluginOAuthConfig,
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
bot,
|
|
3
3
|
createNormalizingStream,
|
|
4
4
|
slackRuntime
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JNHYSCAO.js";
|
|
6
6
|
import "./chunk-VM3CPAZF.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-7GLBFSWP.js";
|
|
8
8
|
import "./chunk-ZBWWHP6Q.js";
|
|
9
9
|
import "./chunk-KCLEEKYX.js";
|
|
10
10
|
import "./chunk-ZW4OVKF5.js";
|