@meistrari/chat-nuxt 1.8.0 → 1.8.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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "1.8.0",
4
+ "version": "1.8.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -5,8 +5,8 @@ async function loadPdfjs() {
5
5
  if (!import.meta.client)
6
6
  return null;
7
7
  if (!pdfjsLibPromise) {
8
- pdfjsLibPromise = import("pdfjs-dist").then((lib) => {
9
- lib.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${lib.version}/build/pdf.worker.min.mjs`;
8
+ pdfjsLibPromise = import("pdfjs-dist/legacy/build/pdf.mjs").then((lib) => {
9
+ lib.GlobalWorkerOptions.workerSrc = `https://unpkg.com/pdfjs-dist@${lib.version}/legacy/build/pdf.worker.min.mjs`;
10
10
  return lib;
11
11
  });
12
12
  }
@@ -161,6 +161,10 @@ export async function resolveDefaultAgentEnvironmentVariables(event, context, op
161
161
  if (resolveChatNuxtFeatures(useRuntimeConfig()).credentials) {
162
162
  try {
163
163
  credentialVariables = await resolveWorkspaceCredentials(event, context.workspaceId);
164
+ logger.info({
165
+ ...logContext,
166
+ credentialKeys: Object.keys(credentialVariables)
167
+ }, "Workspace credentials loaded for agent API");
164
168
  } catch (error) {
165
169
  logger.warn({ ...logContext, error }, options.credentialsFailureMessage);
166
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {