@powerhousedao/analytics-engine-pg 6.0.0-dev.69 → 6.0.0-dev.71
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/src/index.js +161 -136
- package/package.json +3 -3
package/dist/src/index.js
CHANGED
|
@@ -4,43 +4,25 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
function __accessProp(key) {
|
|
8
|
-
return this[key];
|
|
9
|
-
}
|
|
10
|
-
var __toESMCache_node;
|
|
11
|
-
var __toESMCache_esm;
|
|
12
7
|
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
-
var canCache = mod != null && typeof mod === "object";
|
|
14
|
-
if (canCache) {
|
|
15
|
-
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
-
var cached = cache.get(mod);
|
|
17
|
-
if (cached)
|
|
18
|
-
return cached;
|
|
19
|
-
}
|
|
20
8
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
9
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
10
|
for (let key of __getOwnPropNames(mod))
|
|
23
11
|
if (!__hasOwnProp.call(to, key))
|
|
24
12
|
__defProp(to, key, {
|
|
25
|
-
get:
|
|
13
|
+
get: () => mod[key],
|
|
26
14
|
enumerable: true
|
|
27
15
|
});
|
|
28
|
-
if (canCache)
|
|
29
|
-
cache.set(mod, to);
|
|
30
16
|
return to;
|
|
31
17
|
};
|
|
32
18
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
33
|
-
var __returnValue = (v) => v;
|
|
34
|
-
function __exportSetter(name, newValue) {
|
|
35
|
-
this[name] = __returnValue.bind(null, newValue);
|
|
36
|
-
}
|
|
37
19
|
var __export = (target, all) => {
|
|
38
20
|
for (var name in all)
|
|
39
21
|
__defProp(target, name, {
|
|
40
22
|
get: all[name],
|
|
41
23
|
enumerable: true,
|
|
42
24
|
configurable: true,
|
|
43
|
-
set:
|
|
25
|
+
set: (newValue) => all[name] = () => newValue
|
|
44
26
|
});
|
|
45
27
|
};
|
|
46
28
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
@@ -16927,11 +16909,12 @@ var require_postgres_interval = __commonJS((exports, module) => {
|
|
|
16927
16909
|
}
|
|
16928
16910
|
});
|
|
16929
16911
|
|
|
16930
|
-
// ../../../node_modules/.pnpm/postgres-bytea@1.0.
|
|
16912
|
+
// ../../../node_modules/.pnpm/postgres-bytea@1.0.1/node_modules/postgres-bytea/index.js
|
|
16931
16913
|
var require_postgres_bytea = __commonJS((exports, module) => {
|
|
16914
|
+
var bufferFrom = Buffer.from || Buffer;
|
|
16932
16915
|
module.exports = function parseBytea(input) {
|
|
16933
16916
|
if (/^\\x/.test(input)) {
|
|
16934
|
-
return
|
|
16917
|
+
return bufferFrom(input.substr(2), "hex");
|
|
16935
16918
|
}
|
|
16936
16919
|
var output = "";
|
|
16937
16920
|
var i = 0;
|
|
@@ -16955,7 +16938,7 @@ var require_postgres_bytea = __commonJS((exports, module) => {
|
|
|
16955
16938
|
}
|
|
16956
16939
|
}
|
|
16957
16940
|
}
|
|
16958
|
-
return
|
|
16941
|
+
return bufferFrom(output, "binary");
|
|
16959
16942
|
};
|
|
16960
16943
|
});
|
|
16961
16944
|
|
|
@@ -18735,7 +18718,7 @@ var require_query = __commonJS((exports, module) => {
|
|
|
18735
18718
|
module.exports = Query;
|
|
18736
18719
|
});
|
|
18737
18720
|
|
|
18738
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
18721
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/messages.js
|
|
18739
18722
|
var require_messages = __commonJS((exports) => {
|
|
18740
18723
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18741
18724
|
exports.NoticeMessage = exports.DataRowMessage = exports.CommandCompleteMessage = exports.ReadyForQueryMessage = exports.NotificationResponseMessage = exports.BackendKeyDataMessage = exports.AuthenticationMD5Password = exports.ParameterStatusMessage = exports.ParameterDescriptionMessage = exports.RowDescriptionMessage = exports.Field = exports.CopyResponse = exports.CopyDataMessage = exports.DatabaseError = exports.copyDone = exports.emptyQuery = exports.replicationStart = exports.portalSuspended = exports.noData = exports.closeComplete = exports.bindComplete = exports.parseComplete = undefined;
|
|
@@ -18911,7 +18894,7 @@ var require_messages = __commonJS((exports) => {
|
|
|
18911
18894
|
exports.NoticeMessage = NoticeMessage;
|
|
18912
18895
|
});
|
|
18913
18896
|
|
|
18914
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
18897
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/buffer-writer.js
|
|
18915
18898
|
var require_buffer_writer = __commonJS((exports) => {
|
|
18916
18899
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18917
18900
|
exports.Writer = undefined;
|
|
@@ -18990,7 +18973,7 @@ var require_buffer_writer = __commonJS((exports) => {
|
|
|
18990
18973
|
exports.Writer = Writer;
|
|
18991
18974
|
});
|
|
18992
18975
|
|
|
18993
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
18976
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/serializer.js
|
|
18994
18977
|
var require_serializer = __commonJS((exports) => {
|
|
18995
18978
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18996
18979
|
exports.serialize = undefined;
|
|
@@ -19153,16 +19136,15 @@ var require_serializer = __commonJS((exports) => {
|
|
|
19153
19136
|
exports.serialize = serialize;
|
|
19154
19137
|
});
|
|
19155
19138
|
|
|
19156
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
19139
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/buffer-reader.js
|
|
19157
19140
|
var require_buffer_reader = __commonJS((exports) => {
|
|
19158
19141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19159
19142
|
exports.BufferReader = undefined;
|
|
19160
|
-
var emptyBuffer = Buffer.allocUnsafe(0);
|
|
19161
19143
|
|
|
19162
19144
|
class BufferReader {
|
|
19163
19145
|
constructor(offset3 = 0) {
|
|
19164
19146
|
this.offset = offset3;
|
|
19165
|
-
this.buffer =
|
|
19147
|
+
this.buffer = Buffer.allocUnsafe(0);
|
|
19166
19148
|
this.encoding = "utf-8";
|
|
19167
19149
|
}
|
|
19168
19150
|
setBuffer(offset3, buffer) {
|
|
@@ -19210,7 +19192,7 @@ var require_buffer_reader = __commonJS((exports) => {
|
|
|
19210
19192
|
exports.BufferReader = BufferReader;
|
|
19211
19193
|
});
|
|
19212
19194
|
|
|
19213
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
19195
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/parser.js
|
|
19214
19196
|
var require_parser2 = __commonJS((exports) => {
|
|
19215
19197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19216
19198
|
exports.Parser = undefined;
|
|
@@ -19515,7 +19497,7 @@ var require_parser2 = __commonJS((exports) => {
|
|
|
19515
19497
|
};
|
|
19516
19498
|
});
|
|
19517
19499
|
|
|
19518
|
-
// ../../../node_modules/.pnpm/pg-protocol@1.
|
|
19500
|
+
// ../../../node_modules/.pnpm/pg-protocol@1.12.0/node_modules/pg-protocol/dist/index.js
|
|
19519
19501
|
var require_dist = __commonJS((exports) => {
|
|
19520
19502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19521
19503
|
exports.DatabaseError = exports.serialize = exports.parse = undefined;
|
|
@@ -20629,7 +20611,7 @@ var require_client2 = __commonJS((exports, module) => {
|
|
|
20629
20611
|
module.exports = Client;
|
|
20630
20612
|
});
|
|
20631
20613
|
|
|
20632
|
-
// ../../../node_modules/.pnpm/pg-pool@3.
|
|
20614
|
+
// ../../../node_modules/.pnpm/pg-pool@3.12.0_pg@8.18.0/node_modules/pg-pool/index.js
|
|
20633
20615
|
var require_pg_pool = __commonJS((exports, module) => {
|
|
20634
20616
|
var EventEmitter = __require("events").EventEmitter;
|
|
20635
20617
|
var NOOP = function() {};
|
|
@@ -20823,9 +20805,15 @@ var require_pg_pool = __commonJS((exports, module) => {
|
|
|
20823
20805
|
let timeoutHit = false;
|
|
20824
20806
|
if (this.options.connectionTimeoutMillis) {
|
|
20825
20807
|
tid = setTimeout(() => {
|
|
20826
|
-
|
|
20827
|
-
|
|
20828
|
-
|
|
20808
|
+
if (client.connection) {
|
|
20809
|
+
this.log("ending client due to timeout");
|
|
20810
|
+
timeoutHit = true;
|
|
20811
|
+
client.connection.stream.destroy();
|
|
20812
|
+
} else if (!client.isConnected()) {
|
|
20813
|
+
this.log("ending client due to timeout");
|
|
20814
|
+
timeoutHit = true;
|
|
20815
|
+
client.end();
|
|
20816
|
+
}
|
|
20829
20817
|
}, this.options.connectionTimeoutMillis);
|
|
20830
20818
|
}
|
|
20831
20819
|
this.log("connecting new client");
|
|
@@ -21446,7 +21434,7 @@ var require_lib3 = __commonJS((exports, module) => {
|
|
|
21446
21434
|
});
|
|
21447
21435
|
});
|
|
21448
21436
|
|
|
21449
|
-
// ../../../node_modules/.pnpm/pg-cursor@2.
|
|
21437
|
+
// ../../../node_modules/.pnpm/pg-cursor@2.18.0_pg@8.18.0/node_modules/pg-cursor/index.js
|
|
21450
21438
|
var require_pg_cursor = __commonJS((exports, module) => {
|
|
21451
21439
|
var Result = require_result();
|
|
21452
21440
|
var prepare = require_utils3().prepareValue;
|
|
@@ -25924,9 +25912,9 @@ var require_dist3 = __commonJS((exports) => {
|
|
|
25924
25912
|
}
|
|
25925
25913
|
});
|
|
25926
25914
|
|
|
25927
|
-
// ../../../node_modules/.pnpm/@azure+msal-common@15.
|
|
25928
|
-
var
|
|
25929
|
-
/*! @azure/msal-common v15.
|
|
25915
|
+
// ../../../node_modules/.pnpm/@azure+msal-common@15.15.0/node_modules/@azure/msal-common/lib/index-node-BtzY9XyU.js
|
|
25916
|
+
var require_index_node_BtzY9XyU = __commonJS((exports) => {
|
|
25917
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
25930
25918
|
var Constants = {
|
|
25931
25919
|
LIBRARY_NAME: "MSAL.JS",
|
|
25932
25920
|
SKU: "msal.js.common",
|
|
@@ -27252,7 +27240,8 @@ var require_index_node_CYiBwGSg = __commonJS((exports) => {
|
|
|
27252
27240
|
LoadAccount: "loadAccount",
|
|
27253
27241
|
LoadIdToken: "loadIdToken",
|
|
27254
27242
|
LoadAccessToken: "loadAccessToken",
|
|
27255
|
-
LoadRefreshToken: "loadRefreshToken"
|
|
27243
|
+
LoadRefreshToken: "loadRefreshToken",
|
|
27244
|
+
SsoCapable: "ssoCapable"
|
|
27256
27245
|
};
|
|
27257
27246
|
var PerformanceEventAbbreviations = new Map([
|
|
27258
27247
|
[PerformanceEvents.AcquireTokenByCode, "ATByCode"],
|
|
@@ -27479,7 +27468,8 @@ var require_index_node_CYiBwGSg = __commonJS((exports) => {
|
|
|
27479
27468
|
[PerformanceEvents.Encrypt, "encrypt"],
|
|
27480
27469
|
[PerformanceEvents.Decrypt, "decrypt"],
|
|
27481
27470
|
[PerformanceEvents.GenerateEarKey, "genEarKey"],
|
|
27482
|
-
[PerformanceEvents.DecryptEarResponse, "decryptEarResp"]
|
|
27471
|
+
[PerformanceEvents.DecryptEarResponse, "decryptEarResp"],
|
|
27472
|
+
[PerformanceEvents.SsoCapable, "SsoCapable"]
|
|
27483
27473
|
]);
|
|
27484
27474
|
var PerformanceEventStatus = {
|
|
27485
27475
|
NotStarted: 0,
|
|
@@ -28683,7 +28673,7 @@ Error Description: ${typedError.message}`);
|
|
|
28683
28673
|
}
|
|
28684
28674
|
}
|
|
28685
28675
|
var name = "@azure/msal-common";
|
|
28686
|
-
var version = "15.
|
|
28676
|
+
var version = "15.15.0";
|
|
28687
28677
|
|
|
28688
28678
|
class ScopeSet {
|
|
28689
28679
|
constructor(inputScopes) {
|
|
@@ -30371,11 +30361,13 @@ Error Description: ${typedError.message}`);
|
|
|
30371
30361
|
var consentRequired = "consent_required";
|
|
30372
30362
|
var loginRequired = "login_required";
|
|
30373
30363
|
var badToken = "bad_token";
|
|
30364
|
+
var interruptedUser = "interrupted_user";
|
|
30374
30365
|
var InteractionRequiredAuthErrorCodes = /* @__PURE__ */ Object.freeze({
|
|
30375
30366
|
__proto__: null,
|
|
30376
30367
|
badToken,
|
|
30377
30368
|
consentRequired,
|
|
30378
30369
|
interactionRequired,
|
|
30370
|
+
interruptedUser,
|
|
30379
30371
|
loginRequired,
|
|
30380
30372
|
nativeAccountUnavailable,
|
|
30381
30373
|
noTokensFound,
|
|
@@ -30387,7 +30379,8 @@ Error Description: ${typedError.message}`);
|
|
|
30387
30379
|
consentRequired,
|
|
30388
30380
|
loginRequired,
|
|
30389
30381
|
badToken,
|
|
30390
|
-
uxNotAllowed
|
|
30382
|
+
uxNotAllowed,
|
|
30383
|
+
interruptedUser
|
|
30391
30384
|
];
|
|
30392
30385
|
var InteractionRequiredAuthSubErrorMessage = [
|
|
30393
30386
|
"message_only",
|
|
@@ -30395,14 +30388,16 @@ Error Description: ${typedError.message}`);
|
|
|
30395
30388
|
"basic_action",
|
|
30396
30389
|
"user_password_expired",
|
|
30397
30390
|
"consent_required",
|
|
30398
|
-
"bad_token"
|
|
30391
|
+
"bad_token",
|
|
30392
|
+
"interrupted_user"
|
|
30399
30393
|
];
|
|
30400
30394
|
var InteractionRequiredAuthErrorMessages = {
|
|
30401
30395
|
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
30402
30396
|
[nativeAccountUnavailable]: "The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",
|
|
30403
30397
|
[refreshTokenExpired]: "Refresh token has expired.",
|
|
30404
30398
|
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
30405
|
-
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve."
|
|
30399
|
+
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
30400
|
+
[interruptedUser]: "The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve."
|
|
30406
30401
|
};
|
|
30407
30402
|
var InteractionRequiredAuthErrorMessage = {
|
|
30408
30403
|
noTokensFoundError: {
|
|
@@ -30416,6 +30411,10 @@ Error Description: ${typedError.message}`);
|
|
|
30416
30411
|
bad_token: {
|
|
30417
30412
|
code: badToken,
|
|
30418
30413
|
desc: InteractionRequiredAuthErrorMessages[badToken]
|
|
30414
|
+
},
|
|
30415
|
+
interrupted_user: {
|
|
30416
|
+
code: interruptedUser,
|
|
30417
|
+
desc: InteractionRequiredAuthErrorMessages[interruptedUser]
|
|
30419
30418
|
}
|
|
30420
30419
|
};
|
|
30421
30420
|
|
|
@@ -31692,10 +31691,10 @@ ${serverError}`);
|
|
|
31692
31691
|
exports.version = version;
|
|
31693
31692
|
});
|
|
31694
31693
|
|
|
31695
|
-
// ../../../node_modules/.pnpm/@azure+msal-common@15.
|
|
31694
|
+
// ../../../node_modules/.pnpm/@azure+msal-common@15.15.0/node_modules/@azure/msal-common/lib/index-browser.cjs
|
|
31696
31695
|
var require_index_browser = __commonJS((exports) => {
|
|
31697
|
-
/*! @azure/msal-common v15.
|
|
31698
|
-
var indexNode =
|
|
31696
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
31697
|
+
var indexNode = require_index_node_BtzY9XyU();
|
|
31699
31698
|
var missingKidError = "missing_kid_error";
|
|
31700
31699
|
var missingAlgError = "missing_alg_error";
|
|
31701
31700
|
var JoseHeaderErrorMessages = {
|
|
@@ -32265,10 +32264,10 @@ var require_index_browser = __commonJS((exports) => {
|
|
|
32265
32264
|
exports.PerformanceClient = PerformanceClient;
|
|
32266
32265
|
});
|
|
32267
32266
|
|
|
32268
|
-
// ../../../node_modules/.pnpm/@azure+msal-common@15.
|
|
32267
|
+
// ../../../node_modules/.pnpm/@azure+msal-common@15.15.0/node_modules/@azure/msal-common/lib/index.cjs
|
|
32269
32268
|
var require_lib4 = __commonJS((exports) => {
|
|
32270
|
-
/*! @azure/msal-common v15.
|
|
32271
|
-
var indexNode =
|
|
32269
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
32270
|
+
var indexNode = require_index_node_BtzY9XyU();
|
|
32272
32271
|
var indexBrowser = require_index_browser();
|
|
32273
32272
|
exports.AADAuthorityConstants = indexNode.AADAuthorityConstants;
|
|
32274
32273
|
exports.AADServerParamKeys = indexNode.AADServerParamKeys;
|
|
@@ -36038,9 +36037,9 @@ var require_jsonwebtoken = __commonJS((exports, module) => {
|
|
|
36038
36037
|
};
|
|
36039
36038
|
});
|
|
36040
36039
|
|
|
36041
|
-
// ../../../node_modules/.pnpm/@azure+msal-node@3.8.
|
|
36040
|
+
// ../../../node_modules/.pnpm/@azure+msal-node@3.8.8/node_modules/@azure/msal-node/lib/msal-node.cjs
|
|
36042
36041
|
var require_msal_node = __commonJS((exports) => {
|
|
36043
|
-
/*! @azure/msal-node v3.8.
|
|
36042
|
+
/*! @azure/msal-node v3.8.8 2026-02-23 */
|
|
36044
36043
|
var http = __require("http");
|
|
36045
36044
|
var https = __require("https");
|
|
36046
36045
|
var uuid = require_dist3();
|
|
@@ -36155,7 +36154,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36155
36154
|
};
|
|
36156
36155
|
}
|
|
36157
36156
|
}
|
|
36158
|
-
/*! @azure/msal-common v15.
|
|
36157
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36159
36158
|
var Constants$1 = {
|
|
36160
36159
|
LIBRARY_NAME: "MSAL.JS",
|
|
36161
36160
|
SKU: "msal.js.common",
|
|
@@ -36356,7 +36355,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36356
36355
|
HEX: "hex",
|
|
36357
36356
|
UTF8: "utf-8"
|
|
36358
36357
|
};
|
|
36359
|
-
/*! @azure/msal-common v15.
|
|
36358
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36360
36359
|
var unexpectedError = "unexpected_error";
|
|
36361
36360
|
var postRequestFailed = "post_request_failed";
|
|
36362
36361
|
var AuthErrorCodes = /* @__PURE__ */ Object.freeze({
|
|
@@ -36364,7 +36363,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36364
36363
|
postRequestFailed,
|
|
36365
36364
|
unexpectedError
|
|
36366
36365
|
});
|
|
36367
|
-
/*! @azure/msal-common v15.
|
|
36366
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36368
36367
|
var AuthErrorMessages = {
|
|
36369
36368
|
[unexpectedError]: "Unexpected error in authentication.",
|
|
36370
36369
|
[postRequestFailed]: "Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."
|
|
@@ -36397,7 +36396,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36397
36396
|
function createAuthError(code, additionalMessage) {
|
|
36398
36397
|
return new AuthError(code, additionalMessage ? `${AuthErrorMessages[code]} ${additionalMessage}` : AuthErrorMessages[code]);
|
|
36399
36398
|
}
|
|
36400
|
-
/*! @azure/msal-common v15.
|
|
36399
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36401
36400
|
var clientInfoDecodingError = "client_info_decoding_error";
|
|
36402
36401
|
var clientInfoEmptyError = "client_info_empty_error";
|
|
36403
36402
|
var tokenParsingError = "token_parsing_error";
|
|
@@ -36491,7 +36490,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36491
36490
|
userCanceled,
|
|
36492
36491
|
userTimeoutReached
|
|
36493
36492
|
});
|
|
36494
|
-
/*! @azure/msal-common v15.
|
|
36493
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36495
36494
|
var ClientAuthErrorMessages = {
|
|
36496
36495
|
[clientInfoDecodingError]: "The client info could not be parsed/decoded correctly",
|
|
36497
36496
|
[clientInfoEmptyError]: "The client info was empty",
|
|
@@ -36728,7 +36727,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36728
36727
|
function createClientAuthError(errorCode, additionalMessage) {
|
|
36729
36728
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
36730
36729
|
}
|
|
36731
|
-
/*! @azure/msal-common v15.
|
|
36730
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36732
36731
|
var DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
36733
36732
|
createNewGuid: () => {
|
|
36734
36733
|
throw createClientAuthError(methodNotImplemented);
|
|
@@ -36761,7 +36760,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36761
36760
|
throw createClientAuthError(methodNotImplemented);
|
|
36762
36761
|
}
|
|
36763
36762
|
};
|
|
36764
|
-
/*! @azure/msal-common v15.
|
|
36763
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36765
36764
|
exports.LogLevel = undefined;
|
|
36766
36765
|
(function(LogLevel) {
|
|
36767
36766
|
LogLevel[LogLevel["Error"] = 0] = "Error";
|
|
@@ -36888,10 +36887,10 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36888
36887
|
return this.piiLoggingEnabled || false;
|
|
36889
36888
|
}
|
|
36890
36889
|
}
|
|
36891
|
-
/*! @azure/msal-common v15.
|
|
36890
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36892
36891
|
var name$1 = "@azure/msal-common";
|
|
36893
|
-
var version$1 = "15.
|
|
36894
|
-
/*! @azure/msal-common v15.
|
|
36892
|
+
var version$1 = "15.15.0";
|
|
36893
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36895
36894
|
var AzureCloudInstance = {
|
|
36896
36895
|
None: "none",
|
|
36897
36896
|
AzurePublic: "https://login.microsoftonline.com",
|
|
@@ -36900,7 +36899,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36900
36899
|
AzureGermany: "https://login.microsoftonline.de",
|
|
36901
36900
|
AzureUsGovernment: "https://login.microsoftonline.us"
|
|
36902
36901
|
};
|
|
36903
|
-
/*! @azure/msal-common v15.
|
|
36902
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36904
36903
|
var redirectUriEmpty = "redirect_uri_empty";
|
|
36905
36904
|
var claimsRequestParsingError = "claims_request_parsing_error";
|
|
36906
36905
|
var authorityUriInsecure = "authority_uri_insecure";
|
|
@@ -36952,7 +36951,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
36952
36951
|
urlEmptyError,
|
|
36953
36952
|
urlParseError
|
|
36954
36953
|
});
|
|
36955
|
-
/*! @azure/msal-common v15.
|
|
36954
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
36956
36955
|
var ClientConfigurationErrorMessages = {
|
|
36957
36956
|
[redirectUriEmpty]: "A redirect URI is required for all calls, and none has been set.",
|
|
36958
36957
|
[claimsRequestParsingError]: "Could not parse the given claims request object.",
|
|
@@ -37088,7 +37087,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37088
37087
|
function createClientConfigurationError(errorCode) {
|
|
37089
37088
|
return new ClientConfigurationError(errorCode);
|
|
37090
37089
|
}
|
|
37091
|
-
/*! @azure/msal-common v15.
|
|
37090
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37092
37091
|
|
|
37093
37092
|
class StringUtils {
|
|
37094
37093
|
static isEmptyObj(strObj) {
|
|
@@ -37140,7 +37139,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37140
37139
|
return regex.test(input);
|
|
37141
37140
|
}
|
|
37142
37141
|
}
|
|
37143
|
-
/*! @azure/msal-common v15.
|
|
37142
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37144
37143
|
|
|
37145
37144
|
class ScopeSet {
|
|
37146
37145
|
constructor(inputScopes) {
|
|
@@ -37251,7 +37250,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37251
37250
|
return this.printScopes().toLowerCase();
|
|
37252
37251
|
}
|
|
37253
37252
|
}
|
|
37254
|
-
/*! @azure/msal-common v15.
|
|
37253
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37255
37254
|
function buildClientInfo(rawClientInfo, base64Decode) {
|
|
37256
37255
|
if (!rawClientInfo) {
|
|
37257
37256
|
throw createClientAuthError(clientInfoEmptyError);
|
|
@@ -37273,7 +37272,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37273
37272
|
utid: clientInfoParts.length < 2 ? Constants$1.EMPTY_STRING : clientInfoParts[1]
|
|
37274
37273
|
};
|
|
37275
37274
|
}
|
|
37276
|
-
/*! @azure/msal-common v15.
|
|
37275
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37277
37276
|
function tenantIdMatchesHomeTenant(tenantId, homeAccountId) {
|
|
37278
37277
|
return !!tenantId && !!homeAccountId && tenantId === homeAccountId.split(".")[1];
|
|
37279
37278
|
}
|
|
@@ -37316,14 +37315,14 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37316
37315
|
}
|
|
37317
37316
|
return updatedAccountInfo;
|
|
37318
37317
|
}
|
|
37319
|
-
/*! @azure/msal-common v15.
|
|
37318
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37320
37319
|
var AuthorityType = {
|
|
37321
37320
|
Default: 0,
|
|
37322
37321
|
Adfs: 1,
|
|
37323
37322
|
Dsts: 2,
|
|
37324
37323
|
Ciam: 3
|
|
37325
37324
|
};
|
|
37326
|
-
/*! @azure/msal-common v15.
|
|
37325
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37327
37326
|
function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
37328
37327
|
if (idTokenClaims) {
|
|
37329
37328
|
const tenantId = idTokenClaims.tid || idTokenClaims.tfp || idTokenClaims.acr;
|
|
@@ -37331,13 +37330,13 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37331
37330
|
}
|
|
37332
37331
|
return null;
|
|
37333
37332
|
}
|
|
37334
|
-
/*! @azure/msal-common v15.
|
|
37333
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37335
37334
|
var ProtocolMode = {
|
|
37336
37335
|
AAD: "AAD",
|
|
37337
37336
|
OIDC: "OIDC",
|
|
37338
37337
|
EAR: "EAR"
|
|
37339
37338
|
};
|
|
37340
|
-
/*! @azure/msal-common v15.
|
|
37339
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37341
37340
|
|
|
37342
37341
|
class AccountEntity {
|
|
37343
37342
|
static getAccountInfo(accountEntity) {
|
|
@@ -37459,7 +37458,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37459
37458
|
return accountA.homeAccountId === accountB.homeAccountId && accountA.localAccountId === accountB.localAccountId && accountA.username === accountB.username && accountA.tenantId === accountB.tenantId && accountA.loginHint === accountB.loginHint && accountA.environment === accountB.environment && accountA.nativeAccountId === accountB.nativeAccountId && claimsMatch;
|
|
37460
37459
|
}
|
|
37461
37460
|
}
|
|
37462
|
-
/*! @azure/msal-common v15.
|
|
37461
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37463
37462
|
function extractTokenClaims(encodedToken, base64Decode) {
|
|
37464
37463
|
const jswPayload = getJWSPayload(encodedToken);
|
|
37465
37464
|
try {
|
|
@@ -37494,7 +37493,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37494
37493
|
throw createClientAuthError(maxAgeTranspired);
|
|
37495
37494
|
}
|
|
37496
37495
|
}
|
|
37497
|
-
/*! @azure/msal-common v15.
|
|
37496
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37498
37497
|
function stripLeadingHashOrQuery(responseString) {
|
|
37499
37498
|
if (responseString.startsWith("#/")) {
|
|
37500
37499
|
return responseString.substring(2);
|
|
@@ -37529,7 +37528,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37529
37528
|
});
|
|
37530
37529
|
return queryParameterArray.join("&");
|
|
37531
37530
|
}
|
|
37532
|
-
/*! @azure/msal-common v15.
|
|
37531
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37533
37532
|
|
|
37534
37533
|
class UrlString {
|
|
37535
37534
|
get urlString() {
|
|
@@ -37633,7 +37632,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37633
37632
|
return !!getDeserializedResponse(response);
|
|
37634
37633
|
}
|
|
37635
37634
|
}
|
|
37636
|
-
/*! @azure/msal-common v15.
|
|
37635
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37637
37636
|
var rawMetdataJSON = {
|
|
37638
37637
|
endpointMetadata: {
|
|
37639
37638
|
"login.microsoftonline.com": {
|
|
@@ -37778,10 +37777,10 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37778
37777
|
}
|
|
37779
37778
|
return null;
|
|
37780
37779
|
}
|
|
37781
|
-
/*! @azure/msal-common v15.
|
|
37780
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37782
37781
|
var cacheQuotaExceeded = "cache_quota_exceeded";
|
|
37783
37782
|
var cacheErrorUnknown = "cache_error_unknown";
|
|
37784
|
-
/*! @azure/msal-common v15.
|
|
37783
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37785
37784
|
var CacheErrorMessages = {
|
|
37786
37785
|
[cacheQuotaExceeded]: "Exceeded cache storage capacity.",
|
|
37787
37786
|
[cacheErrorUnknown]: "Unexpected error occurred when using cache storage."
|
|
@@ -37807,7 +37806,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
37807
37806
|
return new CacheError(e.name, e.message);
|
|
37808
37807
|
}
|
|
37809
37808
|
}
|
|
37810
|
-
/*! @azure/msal-common v15.
|
|
37809
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
37811
37810
|
|
|
37812
37811
|
class CacheManager {
|
|
37813
37812
|
constructor(clientId, cryptoImpl, logger, performanceClient, staticAuthorityOptions) {
|
|
@@ -38546,7 +38545,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
38546
38545
|
throw createClientAuthError(methodNotImplemented);
|
|
38547
38546
|
}
|
|
38548
38547
|
}
|
|
38549
|
-
/*! @azure/msal-common v15.
|
|
38548
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38550
38549
|
var PerformanceEvents = {
|
|
38551
38550
|
AcquireTokenByCode: "acquireTokenByCode",
|
|
38552
38551
|
AcquireTokenByRefreshToken: "acquireTokenByRefreshToken",
|
|
@@ -38651,12 +38650,13 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
38651
38650
|
LoadAccount: "loadAccount",
|
|
38652
38651
|
LoadIdToken: "loadIdToken",
|
|
38653
38652
|
LoadAccessToken: "loadAccessToken",
|
|
38654
|
-
LoadRefreshToken: "loadRefreshToken"
|
|
38653
|
+
LoadRefreshToken: "loadRefreshToken",
|
|
38654
|
+
SsoCapable: "ssoCapable"
|
|
38655
38655
|
};
|
|
38656
38656
|
var PerformanceEventStatus = {
|
|
38657
38657
|
InProgress: 1
|
|
38658
38658
|
};
|
|
38659
|
-
/*! @azure/msal-common v15.
|
|
38659
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38660
38660
|
|
|
38661
38661
|
class StubPerformanceMeasurement {
|
|
38662
38662
|
startMeasurement() {
|
|
@@ -38731,7 +38731,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
38731
38731
|
return;
|
|
38732
38732
|
}
|
|
38733
38733
|
}
|
|
38734
|
-
/*! @azure/msal-common v15.
|
|
38734
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38735
38735
|
var DEFAULT_SYSTEM_OPTIONS$1 = {
|
|
38736
38736
|
tokenRenewalOffsetSeconds: DEFAULT_TOKEN_RENEWAL_OFFSET_SEC,
|
|
38737
38737
|
preventCorsPreflight: false
|
|
@@ -38807,12 +38807,12 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
38807
38807
|
function isOidcProtocolMode(config) {
|
|
38808
38808
|
return config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC;
|
|
38809
38809
|
}
|
|
38810
|
-
/*! @azure/msal-common v15.
|
|
38810
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38811
38811
|
var CcsCredentialType = {
|
|
38812
38812
|
HOME_ACCOUNT_ID: "home_account_id",
|
|
38813
38813
|
UPN: "UPN"
|
|
38814
38814
|
};
|
|
38815
|
-
/*! @azure/msal-common v15.
|
|
38815
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38816
38816
|
var CLIENT_ID = "client_id";
|
|
38817
38817
|
var REDIRECT_URI = "redirect_uri";
|
|
38818
38818
|
var RESPONSE_TYPE = "response_type";
|
|
@@ -38858,7 +38858,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
38858
38858
|
var BROKER_CLIENT_ID = "brk_client_id";
|
|
38859
38859
|
var BROKER_REDIRECT_URI = "brk_redirect_uri";
|
|
38860
38860
|
var INSTANCE_AWARE = "instance_aware";
|
|
38861
|
-
/*! @azure/msal-common v15.
|
|
38861
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
38862
38862
|
function instrumentBrokerParams(parameters, correlationId, performanceClient) {
|
|
38863
38863
|
if (!correlationId) {
|
|
38864
38864
|
return;
|
|
@@ -39067,19 +39067,19 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
39067
39067
|
parameters.set(BROKER_REDIRECT_URI, brokerRedirectUri);
|
|
39068
39068
|
}
|
|
39069
39069
|
}
|
|
39070
|
-
/*! @azure/msal-common v15.
|
|
39070
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39071
39071
|
function isOpenIdConfigResponse(response) {
|
|
39072
39072
|
return response.hasOwnProperty("authorization_endpoint") && response.hasOwnProperty("token_endpoint") && response.hasOwnProperty("issuer") && response.hasOwnProperty("jwks_uri");
|
|
39073
39073
|
}
|
|
39074
|
-
/*! @azure/msal-common v15.
|
|
39074
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39075
39075
|
function isCloudInstanceDiscoveryResponse(response) {
|
|
39076
39076
|
return response.hasOwnProperty("tenant_discovery_endpoint") && response.hasOwnProperty("metadata");
|
|
39077
39077
|
}
|
|
39078
|
-
/*! @azure/msal-common v15.
|
|
39078
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39079
39079
|
function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
39080
39080
|
return response.hasOwnProperty("error") && response.hasOwnProperty("error_description");
|
|
39081
39081
|
}
|
|
39082
|
-
/*! @azure/msal-common v15.
|
|
39082
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39083
39083
|
var invoke = (callback, eventName, logger, telemetryClient, correlationId) => {
|
|
39084
39084
|
return (...args) => {
|
|
39085
39085
|
logger.trace(`Executing function ${eventName}`);
|
|
@@ -39138,7 +39138,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
39138
39138
|
});
|
|
39139
39139
|
};
|
|
39140
39140
|
};
|
|
39141
|
-
/*! @azure/msal-common v15.
|
|
39141
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39142
39142
|
|
|
39143
39143
|
class RegionDiscovery {
|
|
39144
39144
|
constructor(networkInterface, logger, performanceClient, correlationId) {
|
|
@@ -39204,7 +39204,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
39204
39204
|
Metadata: "true"
|
|
39205
39205
|
}
|
|
39206
39206
|
};
|
|
39207
|
-
/*! @azure/msal-common v15.
|
|
39207
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39208
39208
|
function nowSeconds() {
|
|
39209
39209
|
return Math.round(new Date().getTime() / 1000);
|
|
39210
39210
|
}
|
|
@@ -39226,7 +39226,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
39226
39226
|
function delay(t, value) {
|
|
39227
39227
|
return new Promise((resolve) => setTimeout(() => resolve(value), t));
|
|
39228
39228
|
}
|
|
39229
|
-
/*! @azure/msal-common v15.
|
|
39229
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39230
39230
|
function createIdTokenEntity(homeAccountId, environment, idToken, clientId, tenantId) {
|
|
39231
39231
|
const idTokenEntity = {
|
|
39232
39232
|
credentialType: CredentialType.ID_TOKEN,
|
|
@@ -39380,7 +39380,7 @@ var require_msal_node = __commonJS((exports) => {
|
|
|
39380
39380
|
function isAuthorityMetadataExpired(metadata) {
|
|
39381
39381
|
return metadata.expiresAt <= nowSeconds();
|
|
39382
39382
|
}
|
|
39383
|
-
/*! @azure/msal-common v15.
|
|
39383
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39384
39384
|
|
|
39385
39385
|
class Authority {
|
|
39386
39386
|
constructor(authority, networkInterface, cacheManager, authorityOptions, logger, correlationId, performanceClient, managedIdentity) {
|
|
@@ -39926,7 +39926,7 @@ Error Description: ${typedError.message}`);
|
|
|
39926
39926
|
cloudDiscoveryMetadata
|
|
39927
39927
|
};
|
|
39928
39928
|
}
|
|
39929
|
-
/*! @azure/msal-common v15.
|
|
39929
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39930
39930
|
async function createDiscoveredInstance(authorityUri, networkClient, cacheManager, authorityOptions, logger, correlationId, performanceClient) {
|
|
39931
39931
|
performanceClient?.addQueueMeasurement(PerformanceEvents.AuthorityFactoryCreateDiscoveredInstance, correlationId);
|
|
39932
39932
|
const authorityUriFinal = Authority.transformCIAMAuthority(formatAuthorityUri(authorityUri));
|
|
@@ -39938,7 +39938,7 @@ Error Description: ${typedError.message}`);
|
|
|
39938
39938
|
throw createClientAuthError(endpointResolutionError);
|
|
39939
39939
|
}
|
|
39940
39940
|
}
|
|
39941
|
-
/*! @azure/msal-common v15.
|
|
39941
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39942
39942
|
|
|
39943
39943
|
class ServerError extends AuthError {
|
|
39944
39944
|
constructor(errorCode, errorMessage, subError, errorNo, status) {
|
|
@@ -39949,7 +39949,7 @@ Error Description: ${typedError.message}`);
|
|
|
39949
39949
|
Object.setPrototypeOf(this, ServerError.prototype);
|
|
39950
39950
|
}
|
|
39951
39951
|
}
|
|
39952
|
-
/*! @azure/msal-common v15.
|
|
39952
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39953
39953
|
function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
39954
39954
|
return {
|
|
39955
39955
|
clientId,
|
|
@@ -39965,7 +39965,7 @@ Error Description: ${typedError.message}`);
|
|
|
39965
39965
|
embeddedClientId: request.embeddedClientId || request.tokenBodyParameters?.clientId
|
|
39966
39966
|
};
|
|
39967
39967
|
}
|
|
39968
|
-
/*! @azure/msal-common v15.
|
|
39968
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
39969
39969
|
|
|
39970
39970
|
class ThrottlingUtils {
|
|
39971
39971
|
static generateThrottlingStorageKey(thumbprint) {
|
|
@@ -40014,7 +40014,7 @@ Error Description: ${typedError.message}`);
|
|
|
40014
40014
|
cacheManager.removeItem(key, request.correlationId);
|
|
40015
40015
|
}
|
|
40016
40016
|
}
|
|
40017
|
-
/*! @azure/msal-common v15.
|
|
40017
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40018
40018
|
|
|
40019
40019
|
class NetworkError extends AuthError {
|
|
40020
40020
|
constructor(error, httpStatus, responseHeaders) {
|
|
@@ -40026,7 +40026,7 @@ Error Description: ${typedError.message}`);
|
|
|
40026
40026
|
this.responseHeaders = responseHeaders;
|
|
40027
40027
|
}
|
|
40028
40028
|
}
|
|
40029
|
-
/*! @azure/msal-common v15.
|
|
40029
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40030
40030
|
|
|
40031
40031
|
class BaseClient {
|
|
40032
40032
|
constructor(configuration, performanceClient) {
|
|
@@ -40122,7 +40122,7 @@ Error Description: ${typedError.message}`);
|
|
|
40122
40122
|
return mapToQueryString(parameters);
|
|
40123
40123
|
}
|
|
40124
40124
|
}
|
|
40125
|
-
/*! @azure/msal-common v15.
|
|
40125
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40126
40126
|
var noTokensFound = "no_tokens_found";
|
|
40127
40127
|
var nativeAccountUnavailable = "native_account_unavailable";
|
|
40128
40128
|
var refreshTokenExpired = "refresh_token_expired";
|
|
@@ -40131,24 +40131,27 @@ Error Description: ${typedError.message}`);
|
|
|
40131
40131
|
var consentRequired = "consent_required";
|
|
40132
40132
|
var loginRequired = "login_required";
|
|
40133
40133
|
var badToken = "bad_token";
|
|
40134
|
+
var interruptedUser = "interrupted_user";
|
|
40134
40135
|
var InteractionRequiredAuthErrorCodes = /* @__PURE__ */ Object.freeze({
|
|
40135
40136
|
__proto__: null,
|
|
40136
40137
|
badToken,
|
|
40137
40138
|
consentRequired,
|
|
40138
40139
|
interactionRequired,
|
|
40140
|
+
interruptedUser,
|
|
40139
40141
|
loginRequired,
|
|
40140
40142
|
nativeAccountUnavailable,
|
|
40141
40143
|
noTokensFound,
|
|
40142
40144
|
refreshTokenExpired,
|
|
40143
40145
|
uxNotAllowed
|
|
40144
40146
|
});
|
|
40145
|
-
/*! @azure/msal-common v15.
|
|
40147
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40146
40148
|
var InteractionRequiredServerErrorMessage = [
|
|
40147
40149
|
interactionRequired,
|
|
40148
40150
|
consentRequired,
|
|
40149
40151
|
loginRequired,
|
|
40150
40152
|
badToken,
|
|
40151
|
-
uxNotAllowed
|
|
40153
|
+
uxNotAllowed,
|
|
40154
|
+
interruptedUser
|
|
40152
40155
|
];
|
|
40153
40156
|
var InteractionRequiredAuthSubErrorMessage = [
|
|
40154
40157
|
"message_only",
|
|
@@ -40156,14 +40159,16 @@ Error Description: ${typedError.message}`);
|
|
|
40156
40159
|
"basic_action",
|
|
40157
40160
|
"user_password_expired",
|
|
40158
40161
|
"consent_required",
|
|
40159
|
-
"bad_token"
|
|
40162
|
+
"bad_token",
|
|
40163
|
+
"interrupted_user"
|
|
40160
40164
|
];
|
|
40161
40165
|
var InteractionRequiredAuthErrorMessages = {
|
|
40162
40166
|
[noTokensFound]: "No refresh token found in the cache. Please sign-in.",
|
|
40163
40167
|
[nativeAccountUnavailable]: "The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",
|
|
40164
40168
|
[refreshTokenExpired]: "Refresh token has expired.",
|
|
40165
40169
|
[badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
|
|
40166
|
-
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve."
|
|
40170
|
+
[uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
|
|
40171
|
+
[interruptedUser]: "The user could not be authenticated due to an interrupted state. Please invoke an interactive API to resolve."
|
|
40167
40172
|
};
|
|
40168
40173
|
var InteractionRequiredAuthErrorMessage = {
|
|
40169
40174
|
noTokensFoundError: {
|
|
@@ -40177,6 +40182,10 @@ Error Description: ${typedError.message}`);
|
|
|
40177
40182
|
bad_token: {
|
|
40178
40183
|
code: badToken,
|
|
40179
40184
|
desc: InteractionRequiredAuthErrorMessages[badToken]
|
|
40185
|
+
},
|
|
40186
|
+
interrupted_user: {
|
|
40187
|
+
code: interruptedUser,
|
|
40188
|
+
desc: InteractionRequiredAuthErrorMessages[interruptedUser]
|
|
40180
40189
|
}
|
|
40181
40190
|
};
|
|
40182
40191
|
|
|
@@ -40203,7 +40212,7 @@ Error Description: ${typedError.message}`);
|
|
|
40203
40212
|
function createInteractionRequiredAuthError(errorCode) {
|
|
40204
40213
|
return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
|
|
40205
40214
|
}
|
|
40206
|
-
/*! @azure/msal-common v15.
|
|
40215
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40207
40216
|
|
|
40208
40217
|
class ProtocolUtils {
|
|
40209
40218
|
static setRequestState(cryptoObj, userState, meta) {
|
|
@@ -40245,7 +40254,7 @@ Error Description: ${typedError.message}`);
|
|
|
40245
40254
|
}
|
|
40246
40255
|
}
|
|
40247
40256
|
}
|
|
40248
|
-
/*! @azure/msal-common v15.
|
|
40257
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40249
40258
|
var KeyLocation = {
|
|
40250
40259
|
SW: "sw"
|
|
40251
40260
|
};
|
|
@@ -40292,7 +40301,7 @@ Error Description: ${typedError.message}`);
|
|
|
40292
40301
|
}, keyId, shrOptions, request.correlationId);
|
|
40293
40302
|
}
|
|
40294
40303
|
}
|
|
40295
|
-
/*! @azure/msal-common v15.
|
|
40304
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40296
40305
|
|
|
40297
40306
|
class TokenCacheContext {
|
|
40298
40307
|
constructor(tokenCache, hasChanged) {
|
|
@@ -40306,7 +40315,7 @@ Error Description: ${typedError.message}`);
|
|
|
40306
40315
|
return this.cache;
|
|
40307
40316
|
}
|
|
40308
40317
|
}
|
|
40309
|
-
/*! @azure/msal-common v15.
|
|
40318
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40310
40319
|
|
|
40311
40320
|
class ResponseHandler {
|
|
40312
40321
|
constructor(clientId, cacheStorage, cryptoObj, logger, serializableCache, persistencePlugin, performanceClient) {
|
|
@@ -40532,7 +40541,7 @@ ${serverError}`);
|
|
|
40532
40541
|
baseAccount.tenantProfiles = tenantProfiles;
|
|
40533
40542
|
return baseAccount;
|
|
40534
40543
|
}
|
|
40535
|
-
/*! @azure/msal-common v15.
|
|
40544
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40536
40545
|
async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
|
|
40537
40546
|
if (typeof clientAssertion === "string") {
|
|
40538
40547
|
return clientAssertion;
|
|
@@ -40544,7 +40553,7 @@ ${serverError}`);
|
|
|
40544
40553
|
return clientAssertion(config);
|
|
40545
40554
|
}
|
|
40546
40555
|
}
|
|
40547
|
-
/*! @azure/msal-common v15.
|
|
40556
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40548
40557
|
|
|
40549
40558
|
class AuthorizationCodeClient extends BaseClient {
|
|
40550
40559
|
constructor(configuration, performanceClient) {
|
|
@@ -40713,7 +40722,7 @@ ${serverError}`);
|
|
|
40713
40722
|
return mapToQueryString(parameters, this.config.authOptions.encodeExtraQueryParams, request.extraQueryParameters);
|
|
40714
40723
|
}
|
|
40715
40724
|
}
|
|
40716
|
-
/*! @azure/msal-common v15.
|
|
40725
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40717
40726
|
var DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300;
|
|
40718
40727
|
|
|
40719
40728
|
class RefreshTokenClient extends BaseClient {
|
|
@@ -40870,7 +40879,7 @@ ${serverError}`);
|
|
|
40870
40879
|
return mapToQueryString(parameters);
|
|
40871
40880
|
}
|
|
40872
40881
|
}
|
|
40873
|
-
/*! @azure/msal-common v15.
|
|
40882
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40874
40883
|
|
|
40875
40884
|
class SilentFlowClient extends BaseClient {
|
|
40876
40885
|
constructor(configuration, performanceClient) {
|
|
@@ -40940,7 +40949,7 @@ ${serverError}`);
|
|
|
40940
40949
|
return ResponseHandler.generateAuthenticationResult(this.cryptoUtils, this.authority, cacheRecord, true, request, idTokenClaims);
|
|
40941
40950
|
}
|
|
40942
40951
|
}
|
|
40943
|
-
/*! @azure/msal-common v15.
|
|
40952
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
40944
40953
|
function getStandardAuthorizeRequestParameters(authOptions, request, logger, performanceClient) {
|
|
40945
40954
|
const correlationId = request.correlationId;
|
|
40946
40955
|
const parameters = new Map;
|
|
@@ -41038,7 +41047,7 @@ ${serverError}`);
|
|
|
41038
41047
|
function extractLoginHint(account) {
|
|
41039
41048
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
41040
41049
|
}
|
|
41041
|
-
/*! @azure/msal-common v15.
|
|
41050
|
+
/*! @azure/msal-common v15.15.0 2026-02-23 */
|
|
41042
41051
|
var skuGroupSeparator = ",";
|
|
41043
41052
|
var skuValueSeparator = "|";
|
|
41044
41053
|
function makeExtraSkuString(params) {
|
|
@@ -41484,7 +41493,7 @@ ${serverError}`);
|
|
|
41484
41493
|
}
|
|
41485
41494
|
}
|
|
41486
41495
|
var name = "@azure/msal-node";
|
|
41487
|
-
var version = "3.8.
|
|
41496
|
+
var version = "3.8.8";
|
|
41488
41497
|
|
|
41489
41498
|
class HttpClient {
|
|
41490
41499
|
constructor(proxyUrl, customAgentOptions, loggerOptions) {
|
|
@@ -52422,7 +52431,7 @@ var init_is_inside_container = __esm(() => {
|
|
|
52422
52431
|
init_is_docker();
|
|
52423
52432
|
});
|
|
52424
52433
|
|
|
52425
|
-
// ../../../node_modules/.pnpm/is-wsl@3.1.
|
|
52434
|
+
// ../../../node_modules/.pnpm/is-wsl@3.1.1/node_modules/is-wsl/index.js
|
|
52426
52435
|
import process2 from "node:process";
|
|
52427
52436
|
import os from "node:os";
|
|
52428
52437
|
import fs3 from "node:fs";
|
|
@@ -52437,10 +52446,14 @@ var isWsl = () => {
|
|
|
52437
52446
|
return true;
|
|
52438
52447
|
}
|
|
52439
52448
|
try {
|
|
52440
|
-
|
|
52441
|
-
|
|
52442
|
-
|
|
52449
|
+
if (fs3.readFileSync("/proc/version", "utf8").toLowerCase().includes("microsoft")) {
|
|
52450
|
+
return !isInsideContainer();
|
|
52451
|
+
}
|
|
52452
|
+
} catch {}
|
|
52453
|
+
if (fs3.existsSync("/proc/sys/fs/binfmt_misc/WSLInterop") || fs3.existsSync("/run/WSL")) {
|
|
52454
|
+
return !isInsideContainer();
|
|
52443
52455
|
}
|
|
52456
|
+
return false;
|
|
52444
52457
|
}, is_wsl_default;
|
|
52445
52458
|
var init_is_wsl = __esm(() => {
|
|
52446
52459
|
init_is_inside_container();
|
|
@@ -52508,7 +52521,7 @@ function defineLazyProperty(object, propertyName, valueGetter) {
|
|
|
52508
52521
|
return object;
|
|
52509
52522
|
}
|
|
52510
52523
|
|
|
52511
|
-
// ../../../node_modules/.pnpm/default-browser-id@5.0.
|
|
52524
|
+
// ../../../node_modules/.pnpm/default-browser-id@5.0.1/node_modules/default-browser-id/index.js
|
|
52512
52525
|
import { promisify } from "node:util";
|
|
52513
52526
|
import process4 from "node:process";
|
|
52514
52527
|
import { execFile } from "node:child_process";
|
|
@@ -52518,7 +52531,11 @@ async function defaultBrowserId() {
|
|
|
52518
52531
|
}
|
|
52519
52532
|
const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
|
|
52520
52533
|
const match3 = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
|
|
52521
|
-
|
|
52534
|
+
const browserId = match3?.groups.id ?? "com.apple.Safari";
|
|
52535
|
+
if (browserId === "com.apple.safari") {
|
|
52536
|
+
return "com.apple.Safari";
|
|
52537
|
+
}
|
|
52538
|
+
return browserId;
|
|
52522
52539
|
}
|
|
52523
52540
|
var execFileAsync;
|
|
52524
52541
|
var init_default_browser_id = __esm(() => {
|
|
@@ -52555,7 +52572,7 @@ var init_bundle_name = __esm(() => {
|
|
|
52555
52572
|
init_run_applescript();
|
|
52556
52573
|
});
|
|
52557
52574
|
|
|
52558
|
-
// ../../../node_modules/.pnpm/default-browser@5.
|
|
52575
|
+
// ../../../node_modules/.pnpm/default-browser@5.5.0/node_modules/default-browser/windows.js
|
|
52559
52576
|
import { promisify as promisify3 } from "node:util";
|
|
52560
52577
|
import { execFile as execFile3 } from "node:child_process";
|
|
52561
52578
|
async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
@@ -52570,31 +52587,39 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
|
|
|
52570
52587
|
throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(stdout)}`);
|
|
52571
52588
|
}
|
|
52572
52589
|
const { id } = match3.groups;
|
|
52573
|
-
const
|
|
52574
|
-
|
|
52575
|
-
|
|
52576
|
-
|
|
52577
|
-
return
|
|
52590
|
+
const dotIndex = id.lastIndexOf(".");
|
|
52591
|
+
const hyphenIndex = id.lastIndexOf("-");
|
|
52592
|
+
const baseIdByDot = dotIndex === -1 ? undefined : id.slice(0, dotIndex);
|
|
52593
|
+
const baseIdByHyphen = hyphenIndex === -1 ? undefined : id.slice(0, hyphenIndex);
|
|
52594
|
+
return windowsBrowserProgIds[id] ?? windowsBrowserProgIds[baseIdByDot] ?? windowsBrowserProgIds[baseIdByHyphen] ?? { name: id, id };
|
|
52578
52595
|
}
|
|
52579
|
-
var execFileAsync3, windowsBrowserProgIds, UnknownBrowserError;
|
|
52596
|
+
var execFileAsync3, windowsBrowserProgIds, _windowsBrowserProgIdMap, UnknownBrowserError;
|
|
52580
52597
|
var init_windows = __esm(() => {
|
|
52581
52598
|
execFileAsync3 = promisify3(execFile3);
|
|
52582
52599
|
windowsBrowserProgIds = {
|
|
52583
|
-
AppXq0fevzme2pys62n3e0fbqa7peapykr8v: { name: "Edge", id: "com.microsoft.edge.old" },
|
|
52584
|
-
MSEdgeDHTML: { name: "Edge", id: "com.microsoft.edge" },
|
|
52585
52600
|
MSEdgeHTM: { name: "Edge", id: "com.microsoft.edge" },
|
|
52586
|
-
|
|
52587
|
-
|
|
52601
|
+
MSEdgeBHTML: { name: "Edge Beta", id: "com.microsoft.edge.beta" },
|
|
52602
|
+
MSEdgeDHTML: { name: "Edge Dev", id: "com.microsoft.edge.dev" },
|
|
52603
|
+
AppXq0fevzme2pys62n3e0fbqa7peapykr8v: { name: "Edge", id: "com.microsoft.edge.old" },
|
|
52588
52604
|
ChromeHTML: { name: "Chrome", id: "com.google.chrome" },
|
|
52605
|
+
ChromeBHTML: { name: "Chrome Beta", id: "com.google.chrome.beta" },
|
|
52606
|
+
ChromeDHTML: { name: "Chrome Dev", id: "com.google.chrome.dev" },
|
|
52607
|
+
ChromiumHTM: { name: "Chromium", id: "org.chromium.Chromium" },
|
|
52589
52608
|
BraveHTML: { name: "Brave", id: "com.brave.Browser" },
|
|
52590
52609
|
BraveBHTML: { name: "Brave Beta", id: "com.brave.Browser.beta" },
|
|
52591
|
-
|
|
52610
|
+
BraveDHTML: { name: "Brave Dev", id: "com.brave.Browser.dev" },
|
|
52611
|
+
BraveSSHTM: { name: "Brave Nightly", id: "com.brave.Browser.nightly" },
|
|
52612
|
+
FirefoxURL: { name: "Firefox", id: "org.mozilla.firefox" },
|
|
52613
|
+
OperaStable: { name: "Opera", id: "com.operasoftware.Opera" },
|
|
52614
|
+
VivaldiHTM: { name: "Vivaldi", id: "com.vivaldi.Vivaldi" },
|
|
52615
|
+
"IE.HTTP": { name: "Internet Explorer", id: "com.microsoft.ie" }
|
|
52592
52616
|
};
|
|
52617
|
+
_windowsBrowserProgIdMap = new Map(Object.entries(windowsBrowserProgIds));
|
|
52593
52618
|
UnknownBrowserError = class UnknownBrowserError extends Error {
|
|
52594
52619
|
};
|
|
52595
52620
|
});
|
|
52596
52621
|
|
|
52597
|
-
// ../../../node_modules/.pnpm/default-browser@5.
|
|
52622
|
+
// ../../../node_modules/.pnpm/default-browser@5.5.0/node_modules/default-browser/index.js
|
|
52598
52623
|
import { promisify as promisify4 } from "node:util";
|
|
52599
52624
|
import process6 from "node:process";
|
|
52600
52625
|
import { execFile as execFile4 } from "node:child_process";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/analytics-engine-pg",
|
|
3
|
-
"version": "6.0.0-dev.
|
|
3
|
+
"version": "6.0.0-dev.71",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"pg-query-stream": "4.12.0",
|
|
36
36
|
"oracledb": "6.10.0",
|
|
37
37
|
"vitest": "3.2.4",
|
|
38
|
-
"@powerhousedao/analytics-engine-core": "6.0.0-dev.
|
|
39
|
-
"@powerhousedao/analytics-engine-knex": "6.0.0-dev.
|
|
38
|
+
"@powerhousedao/analytics-engine-core": "6.0.0-dev.71",
|
|
39
|
+
"@powerhousedao/analytics-engine-knex": "6.0.0-dev.71"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"test:pg": "PG_CONNECTION_STRING=postgresql://postgres:password@localhost:5555/analytics vitest --run ./**/*.test.ts",
|