@escapenavigator/types 1.10.124 → 1.10.125
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.
|
@@ -78,5 +78,14 @@ export declare class OpenapiWidgetInfoRO {
|
|
|
78
78
|
mailchimp?: string | Mailchimp;
|
|
79
79
|
daysAhead?: number;
|
|
80
80
|
buttonTooltipText?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Bearer-токен для protected widget endpoints. Эквивалентен значению
|
|
83
|
+
* `widget-token` cookie (та же подпись и payload) и нужен для случаев,
|
|
84
|
+
* когда браузер блокирует 3rd-party cookies (Safari ITP, Brave,
|
|
85
|
+
* Firefox ETP, Chrome incognito). Виджет хранит его в памяти и
|
|
86
|
+
* шлёт `Authorization: Bearer <widgetToken>` на все защищённые ручки;
|
|
87
|
+
* `WidgetGuard` принимает оба источника.
|
|
88
|
+
*/
|
|
89
|
+
widgetToken?: string;
|
|
81
90
|
}
|
|
82
91
|
export {};
|
|
@@ -245,3 +245,7 @@ __decorate([
|
|
|
245
245
|
(0, class_transformer_1.Expose)(),
|
|
246
246
|
__metadata("design:type", String)
|
|
247
247
|
], OpenapiWidgetInfoRO.prototype, "buttonTooltipText", void 0);
|
|
248
|
+
__decorate([
|
|
249
|
+
(0, class_transformer_1.Expose)(),
|
|
250
|
+
__metadata("design:type", String)
|
|
251
|
+
], OpenapiWidgetInfoRO.prototype, "widgetToken", void 0);
|