@deslop/auth 0.1.1512 → 0.1.1527

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.
@@ -16,11 +16,27 @@
16
16
 
17
17
  <title>Auth</title>
18
18
  <meta content="yes" name="apple-mobile-web-app-capable">
19
- <script type="module" crossorigin src="/assets/index-txRyhzX1.js"></script>
20
- <link rel="modulepreload" crossorigin href="/assets/effect-tuT-z4EB.js">
21
- <link rel="stylesheet" crossorigin href="/assets/index-a-OM_FRk.css">
19
+ <script type="module" crossorigin src="/assets/index-sgR6ehLE.js"></script>
20
+ <link rel="modulepreload" crossorigin href="/assets/effect-CbM5psGf.js">
21
+ <link rel="stylesheet" crossorigin href="/assets/index-c1jcVzNt.css">
22
22
  </head>
23
23
  <body>
24
24
  <div id="root"></div>
25
+ <div class="auth-startup" aria-label="Loading Auth" role="status" aria-busy="true">
26
+ <div class="auth-skeleton-list" aria-hidden="true"></div>
27
+ <div class="auth-skeleton-detail" aria-hidden="true">
28
+ <div class="auth-skeleton-list"></div>
29
+ </div>
30
+ </div>
31
+ <script>
32
+ const search = new URLSearchParams(location.search)
33
+ const startup = document.querySelector('.auth-startup')
34
+ startup.toggleAttribute('data-native', location.protocol === 'capacitor:')
35
+ startup.toggleAttribute(
36
+ 'data-detail',
37
+ search.get('pane') === 'detail' || (!search.has('pane') && search.has('person'))
38
+ )
39
+ startup.toggleAttribute('data-person', search.has('person'))
40
+ </script>
25
41
  </body>
26
42
  </html>
package/dist/server.js CHANGED
@@ -98393,7 +98393,11 @@ function returnTarget(next, canonical, local) {
98393
98393
  const GitHubOAuthState = pipe(NonEmptyString, brand("OAuthState"));
98394
98394
  const GitHubClientId = pipe(String$6, brand("GitHubClientId"));
98395
98395
  const AppSignIn = Struct$2({ app: Literals([
98396
+ "auth",
98397
+ "deploy",
98398
+ "gateway",
98396
98399
  "opm",
98400
+ "scope",
98397
98401
  "stash",
98398
98402
  "trips"
98399
98403
  ]) });
@@ -99252,11 +99256,7 @@ const COOKIE = {
99252
99256
  sameSite: "lax",
99253
99257
  secure: true
99254
99258
  };
99255
- const association = { webcredentials: { apps: flatMap$6([
99256
- "opm",
99257
- "stash",
99258
- "trips"
99259
- ], (slug) => map$10(["", ".dev"], (suffix) => `99K7MQUK7F.xyz.mp281x.${slug}${suffix}`)) } };
99259
+ const association = { webcredentials: { apps: flatMap$6(AppSignIn.fields.app.literals, (slug) => map$10(["", ".dev"], (suffix) => `99K7MQUK7F.xyz.mp281x.${slug}${suffix}`)) } };
99260
99260
  const SignInsHttp = use((router) => gen(function* () {
99261
99261
  const signIns = yield* SignIns;
99262
99262
  const canonical = yield* String$5("APP_URL");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/auth",
3
- "version": "0.1.1512",
3
+ "version": "0.1.1527",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",
@@ -29,5 +29,5 @@
29
29
  "engines": {
30
30
  "node": ">=26"
31
31
  },
32
- "fingerprint": "f2116a6ed1cc7d7f5309bf15cdbde44be4c713d2cca91a38506080dfce5ab775"
32
+ "fingerprint": "00c0e61bdaa80809c9357e282c794b4a4c8d62af73213e2d3ecf14d2f6e47a05"
33
33
  }