@foxford/navigation-widget 0.4.0 → 0.5.0

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.
Files changed (3) hide show
  1. package/index.d.ts +5 -2
  2. package/index.js +32 -32
  3. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -76,8 +76,11 @@ export type ContextOfUse = (typeof CONTEXT_OF_USE)[keyof typeof CONTEXT_OF_USE];
76
76
  export type NavigationSlotName = "aboveMenu" | "actionsButton" | "background" | "beforeEntry" | "belowMenu" | "platformChatButton" | "profileMenuBanner" | "searchPanel" | "sectionsBannerSide" | "sectionsBannerTop" | "top";
77
77
  export type FooterSlotName = "aboveLinks" | "banners" | "belowLinks" | "belowSubFooter";
78
78
  export interface MountConfig extends NavigationAnalyticsOptions {
79
- /** Origin бэкенда портала (например `https://foxford.ru`) — параметр РАНТАЙМА, не сборки. */
80
- apiOrigin: string;
79
+ /**
80
+ * Origin бэкенда портала (например `https://foxford.ru`) — параметр РАНТАЙМА, не сборки.
81
+ * Без него запросы идут на текущий origin.
82
+ */
83
+ apiOrigin?: string;
81
84
  /** Кобрендинговый логотип вместо обычного. */
82
85
  cobranding?: boolean;
83
86
  /**