@pluno/product-agent-web 0.1.208 → 0.1.209
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.
|
@@ -2282,7 +2282,9 @@ class Ne {
|
|
|
2282
2282
|
const o = r.payload.request;
|
|
2283
2283
|
this.integrationAuthStatusByRequestId.set(o.authRequestId, "checking"), this.integrationAuthErrorByRequestId.delete(o.authRequestId), this.rebuildRuntimeInteractions();
|
|
2284
2284
|
try {
|
|
2285
|
-
await this.options.runtimeAdapters?.integrationAuthHandler?.(o)
|
|
2285
|
+
await this.options.runtimeAdapters?.integrationAuthHandler?.(o);
|
|
2286
|
+
const a = await this.options.runtimeAdapters?.integrationAuthStatusLoader?.(o) ?? "completed";
|
|
2287
|
+
this.integrationAuthStatusByRequestId.set(o.authRequestId, a);
|
|
2286
2288
|
} catch (a) {
|
|
2287
2289
|
this.integrationAuthStatusByRequestId.set(o.authRequestId, "error"), this.integrationAuthErrorByRequestId.set(
|
|
2288
2290
|
o.authRequestId,
|
|
@@ -2051,7 +2051,9 @@ class ho {
|
|
|
2051
2051
|
const a = o.payload.request;
|
|
2052
2052
|
this.integrationAuthStatusByRequestId.set(a.authRequestId, "checking"), this.integrationAuthErrorByRequestId.delete(a.authRequestId), this.rebuildRuntimeInteractions();
|
|
2053
2053
|
try {
|
|
2054
|
-
await this.options.runtimeAdapters?.integrationAuthHandler?.(a)
|
|
2054
|
+
await this.options.runtimeAdapters?.integrationAuthHandler?.(a);
|
|
2055
|
+
const r = await this.options.runtimeAdapters?.integrationAuthStatusLoader?.(a) ?? "completed";
|
|
2056
|
+
this.integrationAuthStatusByRequestId.set(a.authRequestId, r);
|
|
2055
2057
|
} catch (r) {
|
|
2056
2058
|
this.integrationAuthStatusByRequestId.set(a.authRequestId, "error"), this.integrationAuthErrorByRequestId.set(
|
|
2057
2059
|
a.authRequestId,
|
package/package.json
CHANGED