@shuffleio/shuffle-mcps 0.0.69-staging-8db5f3b → 0.0.69-staging-acffbf3

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.
@@ -2,7 +2,7 @@ import {
2
2
  fetchApps,
3
3
  fetchAppsViaApiConfig,
4
4
  invalidateAppsCache
5
- } from "./chunk-TAHB4QZU.mjs";
5
+ } from "./chunk-WVWW4LQM.mjs";
6
6
  export {
7
7
  fetchApps,
8
8
  fetchAppsViaApiConfig,
@@ -996,11 +996,11 @@ var shuffleFetch = (url, init) => {
996
996
  }
997
997
  });
998
998
  };
999
- var getAuthHeader = (overrideOrgId) => {
999
+ var getAuthHeader = (overrideOrgId, targetUrl) => {
1000
1000
  const headers = {};
1001
1001
  const authMode = typeof localStorage !== "undefined" ? localStorage.getItem("shuffle_auth_mode") : null;
1002
1002
  const token = getSessionToken();
1003
- if (token && (authMode === "bearer" || isCapacitorNative() || isCrossDomainBackend())) {
1003
+ if (token && (authMode === "bearer" || isCapacitorNative() || isCrossDomainBackend(targetUrl))) {
1004
1004
  headers["Authorization"] = `Bearer ${token}`;
1005
1005
  }
1006
1006
  let orgId = overrideOrgId ?? _trackedOrgId;
package/dist/index.d.mts CHANGED
@@ -1330,7 +1330,7 @@ declare const getApiUrl: (endpoint: string) => string;
1330
1330
  * Use this instead of raw fetch() for all Shuffle API calls.
1331
1331
  */
1332
1332
  declare const shuffleFetch: (url: string, init?: RequestInit) => Promise<Response>;
1333
- declare const getAuthHeader: (overrideOrgId?: string | null) => Record<string, string>;
1333
+ declare const getAuthHeader: (overrideOrgId?: string | null, targetUrl?: string) => Record<string, string>;
1334
1334
 
1335
1335
  /**
1336
1336
  * Agent Activity service — standalone fetcher for agent workflow executions.
package/dist/index.d.ts CHANGED
@@ -1330,7 +1330,7 @@ declare const getApiUrl: (endpoint: string) => string;
1330
1330
  * Use this instead of raw fetch() for all Shuffle API calls.
1331
1331
  */
1332
1332
  declare const shuffleFetch: (url: string, init?: RequestInit) => Promise<Response>;
1333
- declare const getAuthHeader: (overrideOrgId?: string | null) => Record<string, string>;
1333
+ declare const getAuthHeader: (overrideOrgId?: string | null, targetUrl?: string) => Record<string, string>;
1334
1334
 
1335
1335
  /**
1336
1336
  * Agent Activity service — standalone fetcher for agent workflow executions.
package/dist/index.js CHANGED
@@ -1048,11 +1048,11 @@ var init_api = __esm({
1048
1048
  }
1049
1049
  });
1050
1050
  };
1051
- getAuthHeader = (overrideOrgId) => {
1051
+ getAuthHeader = (overrideOrgId, targetUrl) => {
1052
1052
  const headers = {};
1053
1053
  const authMode = typeof localStorage !== "undefined" ? localStorage.getItem("shuffle_auth_mode") : null;
1054
1054
  const token = getSessionToken();
1055
- if (token && (authMode === "bearer" || isCapacitorNative() || isCrossDomainBackend())) {
1055
+ if (token && (authMode === "bearer" || isCapacitorNative() || isCrossDomainBackend(targetUrl))) {
1056
1056
  headers["Authorization"] = `Bearer ${token}`;
1057
1057
  }
1058
1058
  let orgId = overrideOrgId ?? _trackedOrgId;
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  setHostBaseUrl,
24
24
  setRegionUrl,
25
25
  shuffleFetch
26
- } from "./chunk-TAHB4QZU.mjs";
26
+ } from "./chunk-WVWW4LQM.mjs";
27
27
 
28
28
  // ../lib/crypto-polyfill.ts
29
29
  var getGlobalCrypto = () => {
@@ -4317,7 +4317,7 @@ async function backfillAppImages(dedupedApps) {
4317
4317
  let missing = dedupedApps.filter((d) => !d.bestImage && !d.app.large_image);
4318
4318
  if (missing.length === 0) return dedupedApps;
4319
4319
  try {
4320
- const { fetchAppsViaApiConfig: fetchAppsViaApiConfig2 } = await import("./appsCache-UIU3LPWV.mjs");
4320
+ const { fetchAppsViaApiConfig: fetchAppsViaApiConfig2 } = await import("./appsCache-EPTGEFWE.mjs");
4321
4321
  const apps = await fetchAppsViaApiConfig2().catch(() => []);
4322
4322
  if (Array.isArray(apps) && apps.length > 0) {
4323
4323
  const byName = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shuffleio/shuffle-mcps",
3
- "version": "0.0.69-staging-8db5f3b",
3
+ "version": "0.0.69-staging-acffbf3",
4
4
  "description": "Turn 3,000+ SaaS tools into MCP servers your agents can use. Headless React component for search, selection, and OAuth handoff.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "@emotion/styled": ">=11",
54
54
  "lucide-react": ">=0.300.0",
55
55
  "react-router-dom": ">=6",
56
- "@shuffleio/shuffle-core": "0.0.69-staging-8db5f3b",
56
+ "@shuffleio/shuffle-core": "0.0.69-staging-acffbf3",
57
57
  "@tanstack/react-query": ">=5"
58
58
  },
59
59
  "peerDependenciesMeta": {