@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.
@@ -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=EA43F33A72EECF7964756E2164756E21
3252
+ //# debugId=0718F2D4349E9A5864756E2164756E21
3260
3253
  //# sourceMappingURL=migrate.js.map