@burdenoff/fluidgrids-fe-sdk 2026.510.105 → 2026.524.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.
@@ -956,10 +956,21 @@ function getCategoryLabel(category) {
956
956
  return CATEGORY_LABELS[category] || category;
957
957
  }
958
958
  function getOAuthCallbackUrl() {
959
+ const path = "/integrations/oauth/callback";
960
+ const gatewayBase = getFluidGridsConfig().apiGatewayUrl;
961
+ if (gatewayBase) {
962
+ try {
963
+ return new URL(path, gatewayBase).toString();
964
+ } catch {
965
+ }
966
+ }
959
967
  if (typeof window !== "undefined" && window.location.hostname === "localhost") {
960
- return "http://localhost:3713/integrations/oauth/callback";
968
+ return `http://localhost:3713${path}`;
969
+ }
970
+ if (typeof window !== "undefined") {
971
+ return `${window.location.origin}${path}`;
961
972
  }
962
- return "/integrations/oauth/callback";
973
+ return path;
963
974
  }
964
975
  function OAuth2BaseForm({
965
976
  provider,
@@ -8844,5 +8855,5 @@ function useImportWorkflowTemplate() {
8844
8855
  }
8845
8856
 
8846
8857
  export { AVAILABLE_NODES, ConfigSchemaForm, ConnectionFormDialog, ConnectionSelector, HeaderWithIcon, NODES, NODES_METADATA, NODE_CONFIGS, NODE_TYPES, NodePropertyPanel, ProviderPicker, createNodeWithDefaultData, ensureNodeConfigsLoaded, getNodeDetail, getNodeMetadata, getProviderForm, isNodeConfigsInitialized, onNodeTypesUpdate, registerWorkflowNodeTypes, useConnection, useConnectionDialog, useConnections, useConnectionsByProvider, useCreateConnection, useImportWorkflowTemplate, useInitiateOAuth, useInstallNode, useInstalledNodes, useNodeExecution, useProviderByKey, useProviderCatalog, useProviders, useRefreshAvailableNodes };
8847
- //# sourceMappingURL=chunk-BXDSTMUA.js.map
8848
- //# sourceMappingURL=chunk-BXDSTMUA.js.map
8858
+ //# sourceMappingURL=chunk-QPZIBO3U.js.map
8859
+ //# sourceMappingURL=chunk-QPZIBO3U.js.map