@absolutejs/auth 0.53.2 → 0.53.3
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/cli/migrate.js +2 -9
- package/dist/cli/migrate.js.map +3 -3
- package/dist/htmx/index.js +6 -22
- package/dist/htmx/index.js.map +3 -3
- package/dist/index.js +6 -22
- package/dist/index.js.map +3 -3
- package/dist/manifest.js +14 -3
- package/dist/manifest.js.map +3 -3
- package/dist/manifest.json +18 -18
- package/dist/providers/index.js +6 -22
- package/dist/providers/index.js.map +3 -3
- package/package.json +2 -2
package/dist/cli/migrate.js
CHANGED
|
@@ -2392,10 +2392,7 @@ var getWithingsProps = async (config) => {
|
|
|
2392
2392
|
nonceUrl.searchParams.set("timestamp", timestamp.toString());
|
|
2393
2393
|
nonceUrl.searchParams.set("signature", hashedSignature);
|
|
2394
2394
|
const nonceTarget = nonceUrl.toString();
|
|
2395
|
-
const nonceResponse = await fetch(nonceTarget, {
|
|
2396
|
-
...h2IfHttps(nonceTarget),
|
|
2397
|
-
method: "POST"
|
|
2398
|
-
});
|
|
2395
|
+
const nonceResponse = await fetch(nonceTarget, { method: "POST" });
|
|
2399
2396
|
const nonceData = await nonceResponse.json();
|
|
2400
2397
|
if (nonceData.status === 0) {
|
|
2401
2398
|
return {
|
|
@@ -2405,10 +2402,6 @@ var getWithingsProps = async (config) => {
|
|
|
2405
2402
|
}
|
|
2406
2403
|
return;
|
|
2407
2404
|
};
|
|
2408
|
-
var h2IfHttps = (url) => {
|
|
2409
|
-
const init = url.startsWith("https://") ? { protocol: "http2" } : {};
|
|
2410
|
-
return init;
|
|
2411
|
-
};
|
|
2412
2405
|
var hmacSha256 = async (message, secret) => {
|
|
2413
2406
|
const encoder = new TextEncoder;
|
|
2414
2407
|
const key = await crypto.subtle.importKey("raw", encoder.encode(secret), { hash: "SHA-256", name: "HMAC" }, false, ["sign"]);
|
|
@@ -3256,5 +3249,5 @@ var main = async () => {
|
|
|
3256
3249
|
};
|
|
3257
3250
|
await main();
|
|
3258
3251
|
|
|
3259
|
-
//# debugId=
|
|
3252
|
+
//# debugId=0718F2D4349E9A5864756E2164756E21
|
|
3260
3253
|
//# sourceMappingURL=migrate.js.map
|