@burdenoff/fe-libs 2026.716.2 → 2026.717.2
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/shared/components/assistantWidget/AssistantWidget.d.ts +30 -2
- package/dist/shared/components/assistantWidget/AssistantWidget.d.ts.map +1 -1
- package/dist/shared/components/assistantWidget/AssistantWidget.js +214 -168
- package/dist/shared/components/index.d.ts +1 -1
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/graphql/fetch.d.ts +20 -0
- package/dist/shared/graphql/fetch.d.ts.map +1 -1
- package/dist/shared/graphql/fetch.js +136 -106
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +152 -146
- package/dist/shared/utils/authErrorHandling.d.ts +6 -0
- package/dist/shared/utils/authErrorHandling.d.ts.map +1 -1
- package/dist/shared/utils/authErrorHandling.js +17 -7
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export { UpgradeInlineBanner } from './UpgradeInlineBanner';
|
|
|
27
27
|
export type { UpgradeInlineBannerProps } from './UpgradeInlineBanner';
|
|
28
28
|
export { getSSORedirectUrl, SSORedirectSpinner, checkSLO, checkRemoteSLO, clearLocalAuthState, } from './SSORedirectGuard';
|
|
29
29
|
export { AssistantWidget, ASSISTANT_WIDGET_TOGGLE_EVENT } from './assistantWidget/AssistantWidget';
|
|
30
|
-
export type { AssistantWidgetProps } from './assistantWidget/AssistantWidget';
|
|
30
|
+
export type { AssistantWidgetProps, AssistantModeOption } from './assistantWidget/AssistantWidget';
|
|
31
31
|
export { useVoiceInput } from './assistantWidget/useVoiceInput';
|
|
32
32
|
export type { UseVoiceInputReturn } from './assistantWidget/useVoiceInput';
|
|
33
33
|
export type { AssistantTransport, AssistantSendArgs, AssistantSessionSummary, AssistantWidgetMessage, AssistantWidgetRole, } from './assistantWidget/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRo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,EAAE,eAAe,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AACnG,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,yBAAyB,CAAC"}
|
|
@@ -56,6 +56,26 @@ export interface GraphQLFetchOptions {
|
|
|
56
56
|
* The returned `errors` are still available to the caller.
|
|
57
57
|
*/
|
|
58
58
|
suppressGlobalErrorEvent?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Skip the automatic UNAUTHENTICATED → refresh-token → retry-once cycle for
|
|
61
|
+
* this call. Set internally on (a) the refresh mutation itself and (b) the
|
|
62
|
+
* one post-refresh retry, so the recovery path can never recurse. Callers
|
|
63
|
+
* implementing their own refresh handling (the Apollo error link) may also
|
|
64
|
+
* set it to opt out.
|
|
65
|
+
*/
|
|
66
|
+
skipAuthRetry?: boolean;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Fired when the session is definitively expired: an authenticated request got
|
|
70
|
+
* UNAUTHENTICATED and the refresh-token attempt failed for a non-transient
|
|
71
|
+
* reason. AppShellProvider listens and performs the forced logout + redirect
|
|
72
|
+
* to login (with `reason=session-expired`), so the user is told the session
|
|
73
|
+
* ended instead of watching data silently disappear.
|
|
74
|
+
*/
|
|
75
|
+
export declare const SESSION_EXPIRED_EVENT: "burdenoff:session-expired";
|
|
76
|
+
export interface SessionExpiredDetail {
|
|
77
|
+
operationName?: string;
|
|
78
|
+
gateway?: Gateway;
|
|
59
79
|
}
|
|
60
80
|
export interface GraphQLResponse<T = unknown> {
|
|
61
81
|
data: T | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAY,KAAK,OAAO,EAAsB,MAAM,WAAW,CAAC;AAuBvE,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpC,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAClC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,mCAAmC;IACnC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB;;;;;;;;OAQG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAY,KAAK,OAAO,EAAsB,MAAM,WAAW,CAAC;AAuBvE,MA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MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAuFzB;AAED,uCAAuC;AACvC,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAmBD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAqCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAIrD;AA6ND,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,MAAM,CAAC,EAAE,WAAW,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,OAAO,CAAC,CAyElB;AAgBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAsB,YAAY,CAAC,CAAC,GAAG,OAAO,EAC5C,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAsN7B"}
|
|
@@ -8,8 +8,12 @@ import { getValidAccessTokenFromStorage as c, sanitizeExtraHeaders as l, sanitiz
|
|
|
8
8
|
import { isWorkspaceTokenValidForContext as f } from "./workspaceToken.js";
|
|
9
9
|
import { dispatchBackendErrorEvent as p, markConnectionHealthy as m } from "../utils/backendErrors.js";
|
|
10
10
|
//#region src/shared/graphql/fetch.ts
|
|
11
|
-
var h = "
|
|
12
|
-
function
|
|
11
|
+
var h = "burdenoff:session-expired";
|
|
12
|
+
function g(e) {
|
|
13
|
+
typeof window > "u" || window.dispatchEvent(new CustomEvent(h, { detail: e }));
|
|
14
|
+
}
|
|
15
|
+
var _ = "\n mutation IssueWorkspaceToken($input: IssueWorkspaceTokenInput!) {\n issueWorkspaceToken(input: $input) {\n success\n token\n workspaceId\n error {\n message\n }\n }\n }\n", v = /* @__PURE__ */ new Map();
|
|
16
|
+
function y() {
|
|
13
17
|
try {
|
|
14
18
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
15
19
|
return e ? c(localStorage.getItem(`bf-p-${e}-tokens`)) : null;
|
|
@@ -17,21 +21,21 @@ function _() {
|
|
|
17
21
|
return null;
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
|
-
function
|
|
24
|
+
function b() {
|
|
21
25
|
try {
|
|
22
26
|
return i();
|
|
23
27
|
} catch {
|
|
24
28
|
return null;
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
|
-
function
|
|
31
|
+
function x() {
|
|
28
32
|
try {
|
|
29
33
|
return sessionStorage.getItem("bf-active-profile");
|
|
30
34
|
} catch {
|
|
31
35
|
return null;
|
|
32
36
|
}
|
|
33
37
|
}
|
|
34
|
-
function
|
|
38
|
+
function S(e) {
|
|
35
39
|
try {
|
|
36
40
|
let [, t] = e.split(".");
|
|
37
41
|
if (!t || typeof globalThis.atob != "function") return null;
|
|
@@ -41,11 +45,11 @@ function b(e) {
|
|
|
41
45
|
return null;
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
|
-
function
|
|
45
|
-
let t =
|
|
48
|
+
function C(e) {
|
|
49
|
+
let t = S(e)?.exp;
|
|
46
50
|
return typeof t == "number" ? t * 1e3 <= Date.now() + 3e4 : !1;
|
|
47
51
|
}
|
|
48
|
-
function
|
|
52
|
+
function ee() {
|
|
49
53
|
try {
|
|
50
54
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
51
55
|
if (e) {
|
|
@@ -58,7 +62,7 @@ function S() {
|
|
|
58
62
|
return null;
|
|
59
63
|
}
|
|
60
64
|
}
|
|
61
|
-
function
|
|
65
|
+
function w() {
|
|
62
66
|
try {
|
|
63
67
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
64
68
|
if (e) {
|
|
@@ -70,64 +74,64 @@ function C() {
|
|
|
70
74
|
return "en";
|
|
71
75
|
}
|
|
72
76
|
}
|
|
73
|
-
function
|
|
77
|
+
function T() {
|
|
74
78
|
return s("workspace");
|
|
75
79
|
}
|
|
76
|
-
function
|
|
80
|
+
function E() {
|
|
77
81
|
return s("organization");
|
|
78
82
|
}
|
|
79
|
-
function
|
|
83
|
+
function D() {
|
|
80
84
|
return s("tenant");
|
|
81
85
|
}
|
|
82
|
-
function
|
|
86
|
+
function O() {
|
|
83
87
|
return s("project");
|
|
84
88
|
}
|
|
85
|
-
function
|
|
89
|
+
function k() {
|
|
86
90
|
try {
|
|
87
91
|
return typeof window > "u" ? null : new URLSearchParams(window.location.search).get("org");
|
|
88
92
|
} catch {
|
|
89
93
|
return null;
|
|
90
94
|
}
|
|
91
95
|
}
|
|
92
|
-
function
|
|
96
|
+
function A(e) {
|
|
93
97
|
return {
|
|
94
|
-
workspaceId: typeof e.workspaceId == "string" ? e.workspaceId :
|
|
95
|
-
organizationId: typeof e.organizationId == "string" ? e.organizationId :
|
|
96
|
-
tenantId: typeof e.tenantId == "string" ? e.tenantId :
|
|
97
|
-
projectId: typeof e.projectId == "string" ? e.projectId :
|
|
98
|
+
workspaceId: typeof e.workspaceId == "string" ? e.workspaceId : T() || void 0,
|
|
99
|
+
organizationId: typeof e.organizationId == "string" ? e.organizationId : E() || k() || void 0,
|
|
100
|
+
tenantId: typeof e.tenantId == "string" ? e.tenantId : D() || void 0,
|
|
101
|
+
projectId: typeof e.projectId == "string" ? e.projectId : O() || void 0
|
|
98
102
|
};
|
|
99
103
|
}
|
|
100
|
-
function
|
|
104
|
+
function j(e, t, n) {
|
|
101
105
|
try {
|
|
102
|
-
let r = a() ??
|
|
106
|
+
let r = a() ?? x();
|
|
103
107
|
if (!r) return;
|
|
104
108
|
o(r, t), sessionStorage.setItem("burdenoff-active-context-workspace", e), n && sessionStorage.setItem("burdenoff-active-context-organization", n);
|
|
105
109
|
} catch {}
|
|
106
110
|
}
|
|
107
|
-
async function
|
|
111
|
+
async function M(e) {
|
|
108
112
|
let { url: t, authToken: n, workspaceId: r, organizationId: i, projectId: a, locale: o, signal: s, currentQuery: c } = e;
|
|
109
113
|
if (!n || c.includes("issueWorkspaceToken")) return null;
|
|
110
|
-
let l = r ||
|
|
114
|
+
let l = r || T();
|
|
111
115
|
if (!l) return null;
|
|
112
|
-
let u =
|
|
116
|
+
let u = b(), d = T(), p = i || E() || k();
|
|
113
117
|
if (u && d === l && f(u, {
|
|
114
118
|
workspaceId: l,
|
|
115
119
|
organizationId: p,
|
|
116
120
|
projectId: a
|
|
117
121
|
})) return u;
|
|
118
122
|
if (!p) return null;
|
|
119
|
-
let m = `${p}:${l}:${a ?? ""}`,
|
|
120
|
-
if (
|
|
121
|
-
let
|
|
123
|
+
let m = `${p}:${l}:${a ?? ""}`, h = v.get(m);
|
|
124
|
+
if (h) return h;
|
|
125
|
+
let g = fetch(t, {
|
|
122
126
|
method: "POST",
|
|
123
127
|
headers: {
|
|
124
128
|
"Content-Type": "application/json",
|
|
125
|
-
[
|
|
129
|
+
[G]: "true",
|
|
126
130
|
Authorization: `Bearer ${n}`,
|
|
127
131
|
...o ? { "Accept-Language": o } : {}
|
|
128
132
|
},
|
|
129
133
|
body: JSON.stringify({
|
|
130
|
-
query:
|
|
134
|
+
query: _,
|
|
131
135
|
variables: { input: {
|
|
132
136
|
organizationId: p,
|
|
133
137
|
workspaceId: l,
|
|
@@ -137,80 +141,80 @@ async function j(e) {
|
|
|
137
141
|
signal: s
|
|
138
142
|
}).then(async (e) => {
|
|
139
143
|
let t = (await e.json()).data?.issueWorkspaceToken;
|
|
140
|
-
return t?.success && t.token ? (
|
|
144
|
+
return t?.success && t.token ? (j(t.workspaceId || l, t.token, p), t.token) : null;
|
|
141
145
|
}).catch(() => null).finally(() => {
|
|
142
|
-
|
|
146
|
+
v.delete(m);
|
|
143
147
|
});
|
|
144
|
-
return
|
|
148
|
+
return v.set(m, g), g;
|
|
145
149
|
}
|
|
146
|
-
function
|
|
150
|
+
function N(e, n) {
|
|
147
151
|
let i = r[e], a = t(), o = e === "global" ? a.globalBaseUrl : a.workspaceBaseUrl, s = n || o;
|
|
148
152
|
return `${s.endsWith("/") ? s.slice(0, -1) : s}${i.graphql}`;
|
|
149
153
|
}
|
|
150
|
-
function
|
|
154
|
+
function P() {
|
|
151
155
|
return globalThis;
|
|
152
156
|
}
|
|
153
|
-
function
|
|
154
|
-
let e =
|
|
157
|
+
function F() {
|
|
158
|
+
let e = P();
|
|
155
159
|
return e.__graphqlFetchQueues ||= /* @__PURE__ */ new Map(), e.__graphqlFetchQueues;
|
|
156
160
|
}
|
|
157
|
-
function
|
|
158
|
-
let e =
|
|
161
|
+
function I() {
|
|
162
|
+
let e = P();
|
|
159
163
|
return e.__graphqlFetchResponseCache ||= /* @__PURE__ */ new Map(), e.__graphqlFetchResponseCache;
|
|
160
164
|
}
|
|
161
|
-
function
|
|
162
|
-
let e =
|
|
165
|
+
function L() {
|
|
166
|
+
let e = P();
|
|
163
167
|
return e.__graphqlFetchPendingResponses ||= /* @__PURE__ */ new Map(), e.__graphqlFetchPendingResponses;
|
|
164
168
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
169
|
+
function R() {
|
|
170
|
+
I().clear(), L().clear(), n();
|
|
167
171
|
}
|
|
168
|
-
var
|
|
172
|
+
var z = 10, B = 600, V = 100, H = 1e4, U = 15e3, W = new Set([
|
|
169
173
|
"traceparent",
|
|
170
174
|
"tracestate",
|
|
171
175
|
"baggage"
|
|
172
|
-
]),
|
|
173
|
-
function
|
|
174
|
-
if (typeof performance > "u") return
|
|
175
|
-
let e =
|
|
176
|
-
return e.__graphqlFetchBurstStartedAt ??= performance.now(), performance.now() - e.__graphqlFetchBurstStartedAt <
|
|
176
|
+
]), G = "Apollo-Require-Preflight";
|
|
177
|
+
function te() {
|
|
178
|
+
if (typeof performance > "u") return V;
|
|
179
|
+
let e = P();
|
|
180
|
+
return e.__graphqlFetchBurstStartedAt ??= performance.now(), performance.now() - e.__graphqlFetchBurstStartedAt < H ? B : V;
|
|
177
181
|
}
|
|
178
|
-
function
|
|
182
|
+
function ne(e) {
|
|
179
183
|
return typeof e.query == "string" ? /^\s*query\b/.test(e.query) : !1;
|
|
180
184
|
}
|
|
181
|
-
function
|
|
185
|
+
function re(e) {
|
|
182
186
|
return typeof e.operationName == "string" && e.operationName.length > 0 ? {
|
|
183
187
|
operationName: e.operationName,
|
|
184
188
|
variables: e.variables ?? null
|
|
185
189
|
} : e;
|
|
186
190
|
}
|
|
187
|
-
function
|
|
191
|
+
function ie(e) {
|
|
188
192
|
let t = /* @__PURE__ */ new Map();
|
|
189
193
|
for (let [n, r] of Object.entries(e)) {
|
|
190
194
|
let e = n.toLowerCase();
|
|
191
|
-
|
|
195
|
+
W.has(e) || t.set(e, r);
|
|
192
196
|
}
|
|
193
197
|
return Object.fromEntries(Array.from(t.entries()).sort(([e], [t]) => e.localeCompare(t)));
|
|
194
198
|
}
|
|
195
|
-
function
|
|
199
|
+
function K(t) {
|
|
196
200
|
let n = e();
|
|
197
201
|
return {
|
|
198
202
|
...t,
|
|
199
|
-
[
|
|
203
|
+
[G]: "true",
|
|
200
204
|
traceparent: n.traceparent
|
|
201
205
|
};
|
|
202
206
|
}
|
|
203
|
-
function
|
|
204
|
-
return
|
|
207
|
+
function q(e) {
|
|
208
|
+
return ae(e) && Array.isArray(e.errors);
|
|
205
209
|
}
|
|
206
|
-
function
|
|
210
|
+
function J(e) {
|
|
207
211
|
let t = e.status;
|
|
208
212
|
return t === 401 ? "Invalid email or password." : t === 403 ? "You do not have permission to do that." : t === 404 ? "We could not find what you were looking for." : t === 408 || t === 504 ? "The server took too long to respond. Please try again." : t === 429 ? "Too many requests. Please wait a moment and try again." : t >= 500 && t < 600 ? "The server is having trouble right now. Please try again in a moment." : t >= 400 && t < 500 ? "The request could not be processed. Please refresh and try again." : "We could not reach the server. Please check your connection and try again.";
|
|
209
213
|
}
|
|
210
|
-
function
|
|
214
|
+
function ae(e) {
|
|
211
215
|
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
212
216
|
}
|
|
213
|
-
async function
|
|
217
|
+
async function Y(e) {
|
|
214
218
|
let t = await e.text();
|
|
215
219
|
if (!t) return null;
|
|
216
220
|
try {
|
|
@@ -219,21 +223,21 @@ async function X(e) {
|
|
|
219
223
|
return t;
|
|
220
224
|
}
|
|
221
225
|
}
|
|
222
|
-
async function
|
|
226
|
+
async function X(e, t, n) {
|
|
223
227
|
if (n.length === 1) {
|
|
224
228
|
let r = n[0];
|
|
225
229
|
try {
|
|
226
230
|
let n = await fetch(e, {
|
|
227
231
|
method: "POST",
|
|
228
|
-
headers:
|
|
232
|
+
headers: K(t),
|
|
229
233
|
credentials: "include",
|
|
230
234
|
body: JSON.stringify(r.body),
|
|
231
235
|
signal: r.signal
|
|
232
|
-
}), i = await
|
|
233
|
-
if (!n.ok && !
|
|
234
|
-
r.cacheKey &&
|
|
236
|
+
}), i = await Y(n);
|
|
237
|
+
if (!n.ok && !q(i)) throw Error(J(n));
|
|
238
|
+
r.cacheKey && !q(i) && I().set(r.cacheKey, {
|
|
235
239
|
value: i,
|
|
236
|
-
expiresAt: Date.now() +
|
|
240
|
+
expiresAt: Date.now() + U
|
|
237
241
|
}), r.resolve(i);
|
|
238
242
|
} catch (e) {
|
|
239
243
|
r.reject(e);
|
|
@@ -244,40 +248,40 @@ async function Z(e, t, n) {
|
|
|
244
248
|
try {
|
|
245
249
|
let i = await fetch(e, {
|
|
246
250
|
method: "POST",
|
|
247
|
-
headers:
|
|
251
|
+
headers: K(t),
|
|
248
252
|
credentials: "include",
|
|
249
253
|
body: JSON.stringify(r)
|
|
250
|
-
}), a = await
|
|
251
|
-
if (!i.ok && !
|
|
254
|
+
}), a = await Y(i);
|
|
255
|
+
if (!i.ok && !q(a)) throw Error(J(i));
|
|
252
256
|
if (Array.isArray(a)) a.forEach((e, t) => {
|
|
253
257
|
let r = n[t];
|
|
254
|
-
r && (r.cacheKey &&
|
|
258
|
+
r && (r.cacheKey && !q(e) && I().set(r.cacheKey, {
|
|
255
259
|
value: e,
|
|
256
|
-
expiresAt: Date.now() +
|
|
260
|
+
expiresAt: Date.now() + U
|
|
257
261
|
}), r.resolve(e));
|
|
258
262
|
});
|
|
259
263
|
else {
|
|
260
|
-
let e =
|
|
261
|
-
|
|
264
|
+
let e = q(a) ? a.errors?.[0]?.message ?? J(i) : J(i), t = Error(e);
|
|
265
|
+
q(a) && (t.errors = a.errors), n.forEach((e) => e.reject(t));
|
|
262
266
|
}
|
|
263
267
|
} catch (e) {
|
|
264
268
|
n.forEach((t) => t.reject(e));
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
|
-
function
|
|
268
|
-
let a =
|
|
271
|
+
function Z(e, t, n, r, i) {
|
|
272
|
+
let a = ie(t), o = Math.max(1, i?.batchMax ?? z), s = Math.max(0, i?.batchInterval ?? te()), c = `${e}|${JSON.stringify(a)}`, l = ne(n) ? `${c}|${JSON.stringify(re(n))}` : void 0;
|
|
269
273
|
if (l) {
|
|
270
|
-
let e =
|
|
274
|
+
let e = I(), t = e.get(l);
|
|
271
275
|
if (t) {
|
|
272
276
|
if (t.expiresAt > Date.now()) return Promise.resolve(t.value);
|
|
273
277
|
e.delete(l);
|
|
274
278
|
}
|
|
275
|
-
let n =
|
|
279
|
+
let n = L().get(l);
|
|
276
280
|
if (n) return n;
|
|
277
281
|
}
|
|
278
282
|
let u = new Promise((t, i) => {
|
|
279
283
|
if (o <= 1) {
|
|
280
|
-
|
|
284
|
+
X(e, a, [{
|
|
281
285
|
body: n,
|
|
282
286
|
resolve: t,
|
|
283
287
|
reject: i,
|
|
@@ -286,7 +290,7 @@ function Q(e, t, n, r, i) {
|
|
|
286
290
|
}]);
|
|
287
291
|
return;
|
|
288
292
|
}
|
|
289
|
-
let u =
|
|
293
|
+
let u = F(), d = u.get(c);
|
|
290
294
|
if (d || (d = {
|
|
291
295
|
requests: [],
|
|
292
296
|
timer: null,
|
|
@@ -299,68 +303,94 @@ function Q(e, t, n, r, i) {
|
|
|
299
303
|
signal: r,
|
|
300
304
|
cacheKey: l
|
|
301
305
|
}), d.requests.length >= d.batchMax) {
|
|
302
|
-
|
|
306
|
+
Q(e, a, c);
|
|
303
307
|
return;
|
|
304
308
|
}
|
|
305
|
-
d.timer ||= setTimeout(() =>
|
|
309
|
+
d.timer ||= setTimeout(() => Q(e, a, c), d.batchInterval);
|
|
306
310
|
});
|
|
307
|
-
return l && (
|
|
308
|
-
|
|
311
|
+
return l && (L().set(l, u), u.finally(() => {
|
|
312
|
+
L().delete(l);
|
|
309
313
|
}).catch(() => {})), u;
|
|
310
314
|
}
|
|
311
|
-
function
|
|
312
|
-
let r =
|
|
313
|
-
i && (r.delete(n), i.timer &&= (clearTimeout(i.timer), null),
|
|
315
|
+
function Q(e, t, n) {
|
|
316
|
+
let r = F(), i = r.get(n);
|
|
317
|
+
i && (r.delete(n), i.timer &&= (clearTimeout(i.timer), null), X(e, t, i.requests));
|
|
314
318
|
}
|
|
315
|
-
async function
|
|
316
|
-
let { gateway: t, query: n, variables: r, operationName: i, authToken: a, workspaceToken: o, workspaceId: s, organizationId: c, tenantId: u, projectId: h, locale:
|
|
319
|
+
async function $(e) {
|
|
320
|
+
let { gateway: t, query: n, variables: r, operationName: i, authToken: a, workspaceToken: o, workspaceId: s, organizationId: c, tenantId: u, projectId: h, locale: _, baseUrl: v, extraHeaders: x, signal: S, suppressGlobalErrorEvent: T } = e, E = d(N(t, v)), O = a && !C(a) ? a : y(), k = _ ?? w(), j = A({
|
|
317
321
|
workspaceId: s,
|
|
318
322
|
organizationId: c,
|
|
319
323
|
tenantId: u,
|
|
320
324
|
projectId: h
|
|
321
325
|
}), P = {
|
|
322
326
|
"Content-Type": "application/json",
|
|
323
|
-
[
|
|
327
|
+
[G]: "true"
|
|
324
328
|
};
|
|
325
|
-
O && (P.Authorization = `Bearer ${O}`),
|
|
326
|
-
let F =
|
|
329
|
+
O && (P.Authorization = `Bearer ${O}`), k && (P["Accept-Language"] = k);
|
|
330
|
+
let F = ee();
|
|
327
331
|
if (F?.country && (P["X-Geo-Country"] = F.country), F?.currency && (P["X-Geo-Currency"] = F.currency), F?.timezone && (P["X-Geo-Timezone"] = F.timezone), t === "workspace" ? o !== !1 : o) {
|
|
328
|
-
let e = typeof o == "string" ? o :
|
|
329
|
-
e && !f(e,
|
|
330
|
-
url:
|
|
332
|
+
let e = typeof o == "string" ? o : b();
|
|
333
|
+
e && !f(e, j) && (e = null), !e && (o === !0 || t === "workspace" && o === void 0 || typeof o == "string") && (e = await M({
|
|
334
|
+
url: E,
|
|
331
335
|
authToken: O,
|
|
332
|
-
workspaceId:
|
|
333
|
-
organizationId:
|
|
334
|
-
projectId:
|
|
335
|
-
locale:
|
|
336
|
-
signal:
|
|
336
|
+
workspaceId: j.workspaceId,
|
|
337
|
+
organizationId: j.organizationId,
|
|
338
|
+
projectId: j.projectId,
|
|
339
|
+
locale: k,
|
|
340
|
+
signal: S,
|
|
337
341
|
currentQuery: n
|
|
338
342
|
})), e && (P["X-Workspace-Authorization"] = `Bearer ${e}`);
|
|
339
343
|
}
|
|
340
344
|
if (t === "workspace" || s) {
|
|
341
|
-
let e =
|
|
345
|
+
let e = j.workspaceId;
|
|
342
346
|
e && (P["x-workspace-id"] = e);
|
|
343
347
|
}
|
|
344
348
|
if (t === "global" || c) {
|
|
345
|
-
let e =
|
|
349
|
+
let e = j.organizationId;
|
|
346
350
|
e && (P["x-org-id"] = e);
|
|
347
351
|
}
|
|
348
352
|
if (u) {
|
|
349
|
-
let e = typeof u == "string" ? u :
|
|
353
|
+
let e = typeof u == "string" ? u : D();
|
|
350
354
|
e && (P["x-tenant-id"] = e);
|
|
351
355
|
}
|
|
352
356
|
if (t === "workspace" || h) {
|
|
353
|
-
let e =
|
|
357
|
+
let e = j.projectId;
|
|
354
358
|
e && (P["x-project-id"] = e);
|
|
355
359
|
}
|
|
356
|
-
let I = l(
|
|
360
|
+
let I = l(x);
|
|
357
361
|
I && Object.assign(P, I);
|
|
358
362
|
let L = { query: n };
|
|
359
363
|
r && (L.variables = r), i && (L.operationName = i);
|
|
364
|
+
let R = async (n) => {
|
|
365
|
+
if (e.skipAuthRetry || !O || typeof window > "u" || !n?.length) return null;
|
|
366
|
+
let r = await import("../utils/authErrorHandling.js");
|
|
367
|
+
return r.hasAuthGraphQLErrors(n) ? await r.attemptTokenRefresh({
|
|
368
|
+
globalBaseUrl: d(N("global", t === "global" ? v : void 0)),
|
|
369
|
+
...r.getSharedTokenRefreshRefs()
|
|
370
|
+
}) ? $({
|
|
371
|
+
...e,
|
|
372
|
+
authToken: void 0,
|
|
373
|
+
workspaceToken: typeof o == "string" ? !0 : o,
|
|
374
|
+
skipAuthRetry: !0
|
|
375
|
+
}) : (g({
|
|
376
|
+
operationName: i,
|
|
377
|
+
gateway: t
|
|
378
|
+
}), null) : null;
|
|
379
|
+
};
|
|
360
380
|
try {
|
|
361
|
-
let e = await
|
|
362
|
-
|
|
381
|
+
let e = await Z(E, P, L, S);
|
|
382
|
+
if (m(), e.errors?.length) {
|
|
383
|
+
let t = await R(e.errors);
|
|
384
|
+
if (t) return t;
|
|
385
|
+
T || p({ errors: e.errors }, { operationName: i });
|
|
386
|
+
}
|
|
387
|
+
return e;
|
|
363
388
|
} catch (e) {
|
|
389
|
+
let t = e.errors;
|
|
390
|
+
if (t?.length) {
|
|
391
|
+
let e = await R(t);
|
|
392
|
+
if (e) return e;
|
|
393
|
+
}
|
|
364
394
|
throw T || p(e, {
|
|
365
395
|
operationName: i,
|
|
366
396
|
fallbackMessage: "We could not reach the server. Please check your connection and try again."
|
|
@@ -368,4 +398,4 @@ async function re(e) {
|
|
|
368
398
|
}
|
|
369
399
|
}
|
|
370
400
|
//#endregion
|
|
371
|
-
export {
|
|
401
|
+
export { h as SESSION_EXPIRED_EVENT, R as clearGraphqlFetchResponseCache, Z as enqueueGraphQLFetch, M as ensureWorkspaceToken, y as getStoredAuthToken, w as getStoredLocale, E as getStoredOrganizationId, O as getStoredProjectId, T as getStoredWorkspaceId, b as getStoredWorkspaceToken, $ as graphqlFetch, N as resolveGatewayUrl };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1F,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAY/B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAQL,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1F,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAY/B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAQL,KAAK,kBAAkB,EACxB,MAAM,WAAW,C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