@deslop/auth 0.1.1534 → 0.1.1545

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.
Files changed (26) hide show
  1. package/README.md +2 -0
  2. package/dist/client/assets/effect-CdbXPLu6.js +17 -0
  3. package/dist/client/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2 +0 -0
  4. package/dist/client/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 +0 -0
  5. package/dist/client/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2 +0 -0
  6. package/dist/client/assets/geist-latin-wght-normal-BgDaEnEv.woff2 +0 -0
  7. package/dist/client/assets/geist-mono-cyrillic-ext-wght-normal-X_5orZeX.woff2 +0 -0
  8. package/dist/client/assets/geist-mono-cyrillic-wght-normal-DiZS0aHC.woff2 +0 -0
  9. package/dist/client/assets/geist-mono-latin-ext-wght-normal-Bwz-egvJ.woff2 +0 -0
  10. package/dist/client/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  11. package/dist/client/assets/geist-mono-symbols2-wght-normal-CO5SzqOn.woff2 +0 -0
  12. package/dist/client/assets/geist-mono-vietnamese-wght-normal-DadHysG0.woff2 +0 -0
  13. package/dist/client/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2 +0 -0
  14. package/dist/client/assets/index-CK4djlnm.css +1 -0
  15. package/dist/client/assets/index-DTN1tFj-.js +1 -0
  16. package/dist/client/index.html +11 -16
  17. package/dist/iphone/_expo/static/js/ios/main-1b3bb384f0ff0f505af1a46752dfb90c.hbc +0 -0
  18. package/dist/iphone/apple-touch-icon.png +0 -0
  19. package/dist/iphone/metadata.json +1 -0
  20. package/dist/iphone/update.json +1 -0
  21. package/dist/server.js +218 -12
  22. package/package.json +6 -5
  23. package/dist/client/assets/announce-Bgi2X_K2.js +0 -1
  24. package/dist/client/assets/effect-CbmzGo8_.js +0 -17
  25. package/dist/client/assets/index-CeGfOevE.js +0 -1
  26. package/dist/client/assets/index-fw0p5aEM.css +0 -2
@@ -1,37 +1,32 @@
1
1
  <!doctype html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" name="viewport">
5
-
6
4
  <meta charset="UTF-8" />
7
-
8
- <meta name="color-scheme" content="dark" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content"
8
+ />
9
9
  <meta name="theme-color" content="#000000" />
10
+ <meta name="color-scheme" content="dark" />
10
11
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
11
12
  <link rel="icon" href="/assets/icon-CPvsBESP.svg" />
12
13
  <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
13
14
  <link rel="manifest" href="/manifest.webmanifest" />
14
- <!-- Requested with the page, so the reads waiting on them never add a round trip. -->
15
- <link rel="preload" href="/api/runtime" as="fetch" crossorigin />
16
15
 
17
16
  <title>Auth</title>
18
- <meta content="yes" name="apple-mobile-web-app-capable">
19
- <script type="module" crossorigin src="/assets/index-CeGfOevE.js"></script>
20
- <link rel="modulepreload" crossorigin href="/assets/effect-CbmzGo8_.js">
21
- <link rel="stylesheet" crossorigin href="/assets/index-fw0p5aEM.css">
17
+ <script type="module" crossorigin src="/assets/index-DTN1tFj-.js"></script>
18
+ <link rel="modulepreload" crossorigin href="/assets/effect-CdbXPLu6.js">
19
+ <link rel="stylesheet" crossorigin href="/assets/index-CK4djlnm.css">
22
20
  </head>
23
- <body>
24
- <div id="root"></div>
21
+ <body style="margin: 0; background: #000; color: #f4f4f4">
22
+ <div id="root" style="height: 100dvh"></div>
25
23
  <div class="auth-startup" aria-label="Loading Auth" role="status" aria-busy="true">
26
24
  <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>
25
+ <div class="auth-skeleton-detail" aria-hidden="true"><div class="auth-skeleton-list"></div></div>
30
26
  </div>
31
27
  <script>
32
28
  const search = new URLSearchParams(location.search)
33
29
  const startup = document.querySelector('.auth-startup')
34
- startup.toggleAttribute('data-native', location.protocol === 'capacitor:')
35
30
  startup.toggleAttribute(
36
31
  'data-detail',
37
32
  search.get('pane') === 'detail' || (!search.has('pane') && search.has('person'))
Binary file
@@ -0,0 +1 @@
1
+ {"version":0,"bundler":"metro","fileMetadata":{"ios":{"bundle":"_expo/static/js/ios/main-1b3bb384f0ff0f505af1a46752dfb90c.hbc","assets":[]}}}
@@ -0,0 +1 @@
1
+ {"assets":[],"createdAt":"2026-11-27T20:53:39.162Z","extra":{"expoClient":{"ios":{"associatedDomains":["webcredentials:auth.mp281x.xyz"],"bundleIdentifier":"xyz.mp281x.auth","icon":"./src/iphone/app.icon","supportsTablet":true},"name":"Auth","orientation":"default","platforms":["ios"],"scheme":"auth","slug":"auth","userInterfaceStyle":"dark","runtimeVersion":{"policy":"fingerprint"},"updates":{"checkAutomatically":"ON_LOAD","fallbackToCacheTimeout":0,"url":"https://auth.mp281x.xyz/api/iphone-update"},"version":"0.1.0","sdkVersion":"58.0.0"}},"id":"c41058ec-65fe-449a-a0f4-616883ad45a4","launchAsset":{"contentType":"application/javascript","fileExtension":".bundle","hash":"-l6sVLHSzlybL4xCUbSpDRaq5F_JSHzH20t2Yb-PKXQ","key":"cb47ee96f2c6cf05c9f2708a772758fa","path":"_expo/static/js/ios/main-1b3bb384f0ff0f505af1a46752dfb90c.hbc"},"runtimeVersion":"334c48741c08d82db26071569e5d75b39eb08ba3"}
package/dist/server.js CHANGED
@@ -5,6 +5,7 @@ import { networkInterfaces, userInfo } from "node:os";
5
5
  import * as NodeChildProcess from "node:child_process";
6
6
  import { Duplex, PassThrough, Readable, Transform, finished, pipeline } from "node:stream";
7
7
  import * as NodeCrypto from "node:crypto";
8
+ import { createHash, randomUUID } from "node:crypto";
8
9
  import * as NFS from "node:fs";
9
10
  import * as Path from "node:path";
10
11
  import { Buffer as Buffer$1 } from "node:buffer";
@@ -3217,6 +3218,20 @@ const withFiber$1 = /*#__PURE__*/ makePrimitive$1({
3217
3218
  return this[args](fiber);
3218
3219
  }
3219
3220
  });
3221
+ /**
3222
+ * Accesses the current fiber to compute a value without a separate `succeed`
3223
+ * operation.
3224
+ *
3225
+ * @internal
3226
+ */
3227
+ const withFiberSucceed$1 = /*#__PURE__*/ makePrimitive$1({
3228
+ op: "WithFiberSucceed",
3229
+ [evaluate](fiber) {
3230
+ const value = this[args](fiber);
3231
+ const cont = fiber.getCont(contA);
3232
+ return cont ? cont[contA](value, fiber) : fiber.yieldWith(exitSucceed(value));
3233
+ }
3234
+ });
3220
3235
  /** @internal */
3221
3236
  const YieldableError = /*#__PURE__*/ function() {
3222
3237
  class YieldableError extends globalThis.Error {}
@@ -7510,6 +7525,30 @@ const ensure = (self) => Array$2.isArray(self) ? self : [self];
7510
7525
  */
7511
7526
  const match$5 = /*#__PURE__*/ dual(2, (self, { onEmpty, onNonEmpty }) => isReadonlyArrayNonEmpty(self) ? onNonEmpty(self) : onEmpty());
7512
7527
  /**
7528
+ * Adds a single element to the front of an iterable, returning a `NonEmptyArray`.
7529
+ *
7530
+ * **When to use**
7531
+ *
7532
+ * Use when you need to guarantee a non-empty result after adding a required
7533
+ * leading value.
7534
+ *
7535
+ * **Example** (Prepending an element)
7536
+ *
7537
+ * ```ts import.meta.vitest
7538
+ * import { Array } from "effect"
7539
+ *
7540
+ * Array.prepend([2, 3, 4], 1) // => [1, 2, 3, 4]
7541
+ * ```
7542
+ *
7543
+ * @see {@link append} — add to the end
7544
+ * @see {@link prependAll} — prepend multiple elements
7545
+ *
7546
+ * @stability stable
7547
+ * @category combining
7548
+ * @since 2.0.0
7549
+ */
7550
+ const prepend$1 = /*#__PURE__*/ dual(2, (self, head) => [head, ...self]);
7551
+ /**
7513
7552
  * Adds a single element to the end of an iterable, returning a `NonEmptyArray`.
7514
7553
  *
7515
7554
  * **When to use**
@@ -18180,6 +18219,24 @@ const yieldNow = yieldNow$1;
18180
18219
  */
18181
18220
  const withFiber = withFiber$1;
18182
18221
  /**
18222
+ * Accesses the current fiber to compute a successful value.
18223
+ *
18224
+ * **Example** (Computing a value from the current fiber)
18225
+ *
18226
+ * ```ts import.meta.vitest
18227
+ * import { Effect } from "effect"
18228
+ *
18229
+ * const program = Effect.withFiberSucceed((fiber) => typeof fiber.id)
18230
+ *
18231
+ * Effect.runSync(program) // => "number"
18232
+ * ```
18233
+ *
18234
+ * @stability stable
18235
+ * @category constructors
18236
+ * @since 4.0.0
18237
+ */
18238
+ const withFiberSucceed = withFiberSucceed$1;
18239
+ /**
18183
18240
  * Converts a `Result` to an `Effect`.
18184
18241
  *
18185
18242
  * **Example** (Converting a Result into an Effect)
@@ -42460,7 +42517,7 @@ const isKey$2 = (u) => hasProperty(u, TypeId$39);
42460
42517
  var Cipher = class extends (/*#__PURE__*/ Service$1()("effect/crypto/Cipher")) {};
42461
42518
  const fail$1 = (method, reason) => fail$3("Cipher", method, reason);
42462
42519
  const blockLength = 16;
42463
- const params = (algorithm, iv) => algorithm.mode === "AES-CTR" ? {
42520
+ const params$1 = (algorithm, iv) => algorithm.mode === "AES-CTR" ? {
42464
42521
  name: "AES-CTR",
42465
42522
  counter: iv,
42466
42523
  length: 128
@@ -42491,7 +42548,7 @@ const layerWebCrypto$5 = /*#__PURE__*/ effect(Cipher, /*#__PURE__*/ gen(function
42491
42548
  if (options.iv.length !== blockLength) return fail$1(method, new InvalidArgument({ description: "IVs must contain exactly 16 bytes" }));
42492
42549
  const cbc = key.algorithm.mode === "AES-CBC";
42493
42550
  if (method === "decrypt" && cbc && (data.length === 0 || data.length % blockLength !== 0)) return fail$1(method, new DecryptionFailed());
42494
- return run$4("Cipher", method, key.algorithm.name, crypto, async (subtle) => new Uint8Array(await subtle[method](params(key.algorithm, options.iv), await cryptoKeyFor(subtle, key), data)), (cause) => webCryptoError("Cipher", method, key.algorithm.name, cause, method === "decrypt" && cbc ? () => new DecryptionFailed() : void 0));
42551
+ return run$4("Cipher", method, key.algorithm.name, crypto, async (subtle) => new Uint8Array(await subtle[method](params$1(key.algorithm, options.iv), await cryptoKeyFor(subtle, key), data)), (cause) => webCryptoError("Cipher", method, key.algorithm.name, cause, method === "decrypt" && cbc ? () => new DecryptionFailed() : void 0));
42495
42552
  });
42496
42553
  return Cipher.of({
42497
42554
  generateKey: (algorithm) => map$7(random.randomBytes(algorithm.keyLength), (bytes) => makeBytes(KeyProto$2, algorithm, bytes)),
@@ -53402,6 +53459,20 @@ const stream$1 = (body, options) => {
53402
53459
  body: stream$2(body, getContentType(options, headers), options?.contentLength)
53403
53460
  });
53404
53461
  };
53462
+ const HttpPlatformKey = /*#__PURE__*/ Service$1("effect/http/HttpPlatform");
53463
+ /**
53464
+ * Creates a streamed file response for a file system path.
53465
+ *
53466
+ * **Details**
53467
+ *
53468
+ * The effect requires `HttpPlatform`, can fail with a platform error, and supports
53469
+ * options for status, headers, content type, offset, and byte range.
53470
+ *
53471
+ * @stability unstable
53472
+ * @category constructors
53473
+ * @since 4.0.0
53474
+ */
53475
+ const file = (path, options) => flatMap$3(HttpPlatformKey, (platform) => platform.fileResponse(path, options));
53405
53476
  /**
53406
53477
  * Returns a response with the specified header set to the supplied value.
53407
53478
  *
@@ -56805,6 +56876,14 @@ const RouterConfig = /*#__PURE__*/ Reference("effect/http/HttpRouter/RouterConfi
56805
56876
  */
56806
56877
  var RouteContext = class extends (/*#__PURE__*/ Service$1()("effect/http/HttpRouter/RouteContext")) {};
56807
56878
  /**
56879
+ * Effect that returns the path parameters captured for the current matched route.
56880
+ *
56881
+ * @stability unstable
56882
+ * @category getters
56883
+ * @since 4.0.0
56884
+ */
56885
+ const params = /*#__PURE__*/ withFiberSucceed((fiber) => getUnsafe$1(fiber.context, RouteContext).params);
56886
+ /**
56808
56887
  * Creates a layer that accesses the current `HttpRouter` service and runs the
56809
56888
  * supplied effect.
56810
56889
  *
@@ -96133,6 +96212,132 @@ const runWith = (command, config) => {
96133
96212
  });
96134
96213
  }, ({ error, userMessage }) => andThen(showUserError(error, userMessage), fail$7(error))), catchFilter((e) => isQuitError(e) ? succeed$10(e) : fail$12(e), (_) => interrupt$1));
96135
96214
  };
96215
+ // ../../packages/runtime/src/config/iphone-export.ts
96216
+ const IPHONE_EXPORT_DIRECTORY = "dist/iphone";
96217
+ const Asset = Struct$2({
96218
+ contentType: String$6,
96219
+ fileExtension: String$6,
96220
+ hash: String$6,
96221
+ key: String$6,
96222
+ path: String$6
96223
+ });
96224
+ const IPhoneExport = fromJsonString(Struct$2({
96225
+ assets: ArraySchema(Asset),
96226
+ createdAt: String$6,
96227
+ extra: Struct$2({ expoClient: Record$1(String$6, Unknown) }),
96228
+ id: String$6,
96229
+ launchAsset: Asset,
96230
+ runtimeVersion: NonEmptyString
96231
+ }));
96232
+ const ExpoExport = fromJsonString(Struct$2({ fileMetadata: Struct$2({ ios: Struct$2({
96233
+ assets: ArraySchema(Struct$2({
96234
+ ext: String$6,
96235
+ path: String$6
96236
+ })),
96237
+ bundle: String$6
96238
+ }) }) }));
96239
+ const RuntimeVersion = fromJsonString(Struct$2({ runtimeVersion: String$6.check(isPattern(/^[a-f0-9]{40}$/u)) }));
96240
+ fnUntraced(function* (resolvedRuntime, publicConfig) {
96241
+ const fs = yield* FileSystem;
96242
+ const path = yield* Path$1;
96243
+ const runtime = yield* decodeEffect(RuntimeVersion)(resolvedRuntime);
96244
+ const expoClient = yield* decodeEffect(fromJsonString(Record$1(String$6, Unknown)))(publicConfig);
96245
+ const exported = yield* decodeEffect(ExpoExport)(yield* fs.readFileString(path.join(IPHONE_EXPORT_DIRECTORY, "metadata.json")));
96246
+ const asset = fnUntraced(function* (relative, extension, contentType) {
96247
+ const bytes = yield* fs.readFile(path.join(IPHONE_EXPORT_DIRECTORY, relative));
96248
+ return {
96249
+ contentType,
96250
+ fileExtension: `.${extension}`,
96251
+ hash: createHash("sha256").update(bytes).digest("base64url"),
96252
+ key: createHash("md5").update(bytes).digest("hex"),
96253
+ path: relative
96254
+ };
96255
+ });
96256
+ const manifest = {
96257
+ assets: yield* forEach$1(exported.fileMetadata.ios.assets, (entry) => asset(entry.path, entry.ext, getOrElse$1(getType(entry.ext), constant$1("application/octet-stream"))), { concurrency: 1 }),
96258
+ createdAt: formatIso(yield* now),
96259
+ extra: { expoClient },
96260
+ id: randomUUID(),
96261
+ launchAsset: yield* asset(exported.fileMetadata.ios.bundle, "bundle", "application/javascript"),
96262
+ runtimeVersion: runtime.runtimeVersion
96263
+ };
96264
+ yield* fs.writeFileString(path.join(IPHONE_EXPORT_DIRECTORY, "update.json"), yield* encodeEffect(IPhoneExport)(manifest));
96265
+ });
96266
+ // ../../packages/runtime/src/config/iphone.ts
96267
+ const IPHONE_UPDATE_PATH = "/api/iphone-update";
96268
+ // ../../packages/runtime/src/server/package.ts
96269
+ const packageRoot = match(endsWith(".ts")(import.meta.url), {
96270
+ onFalse: () => fileURLToPath(new URL("..", import.meta.url)),
96271
+ onTrue: cwd
96272
+ });
96273
+ const packageMetadata = gen(function* () {
96274
+ const file = (yield* Path$1).join(packageRoot, "package.json");
96275
+ return yield* decodeEffect(fromJsonString(PackageMetadata))(yield* (yield* FileSystem).readFileString(file));
96276
+ });
96277
+ const appName = map$7(packageMetadata, (metadata) => replace("@deslop/", "")(metadata.name));
96278
+ // ../../packages/runtime/src/server/iphone-update.ts
96279
+ const registerIPhoneUpdates = fnUntraced(function* (router, auth, origin) {
96280
+ const fs = yield* FileSystem;
96281
+ const path = yield* Path$1;
96282
+ const directory = path.join(packageRoot, IPHONE_EXPORT_DIRECTORY);
96283
+ const manifestFile = path.join(directory, "update.json");
96284
+ if (!(yield* fs.exists(manifestFile))) return;
96285
+ const manifest = yield* decodeEffect(IPhoneExport)(yield* fs.readFileString(manifestFile));
96286
+ const assetsPath = `${IPHONE_UPDATE_PATH}/assets`;
96287
+ const headers = {
96288
+ "cache-control": "no-store",
96289
+ "expo-protocol-version": "1",
96290
+ "expo-sfv-version": "0"
96291
+ };
96292
+ function authorized(serve) {
96293
+ return gen(function* () {
96294
+ const request = yield* HttpServerRequest;
96295
+ const account = yield* result$1(auth.account(request.headers));
96296
+ if (isFailure$1(account)) return empty$1(failureOptions(account.failure, 401));
96297
+ return yield* serve(request);
96298
+ });
96299
+ }
96300
+ function manifestAsset(asset) {
96301
+ return {
96302
+ contentType: asset.contentType,
96303
+ fileExtension: asset.fileExtension,
96304
+ hash: asset.hash,
96305
+ key: asset.key,
96306
+ url: new URL(`${assetsPath}/${asset.hash}`, origin).href
96307
+ };
96308
+ }
96309
+ const response = jsonUnsafe({
96310
+ ...omit(manifest, ["assets", "launchAsset"]),
96311
+ assets: map$10(manifest.assets, manifestAsset),
96312
+ launchAsset: manifestAsset(manifest.launchAsset),
96313
+ metadata: {}
96314
+ }, {
96315
+ contentType: "application/expo+json",
96316
+ headers
96317
+ });
96318
+ yield* router.add("GET", IPHONE_UPDATE_PATH, authorized((request) => {
96319
+ if (request.headers["expo-protocol-version"] !== "1" || request.headers["expo-platform"] !== "ios") return succeed$5(empty$1({
96320
+ headers,
96321
+ status: 400
96322
+ }));
96323
+ if (request.headers["expo-runtime-version"] !== manifest.runtimeVersion || toLowerCase(request.headers["expo-current-update-id"] ?? "") === manifest.id) return succeed$5(empty$1({
96324
+ headers,
96325
+ status: 204
96326
+ }));
96327
+ return succeed$5(response);
96328
+ }));
96329
+ const exported = prepend$1(manifest.assets, manifest.launchAsset);
96330
+ yield* router.add("GET", `${assetsPath}/:hash`, authorized(fnUntraced(function* () {
96331
+ const params$2 = yield* params;
96332
+ return yield* pipe(exported, findFirst((entry) => entry.hash === params$2["hash"]), match$8({
96333
+ onNone: () => succeed$5(empty$1({ status: 404 })),
96334
+ onSome: (asset) => file(path.join(directory, asset.path), {
96335
+ contentType: asset.contentType,
96336
+ headers: { "cache-control": "private, max-age=31536000, immutable" }
96337
+ })
96338
+ }));
96339
+ })));
96340
+ });
96136
96341
  // ../../packages/runtime/src/server/mcp.ts
96137
96342
  const McpStream = middleware()((app) => gen(function* () {
96138
96343
  if ((yield* HttpServerRequest).method === "POST") {
@@ -96157,16 +96362,6 @@ const layerStructuredTools = effect(McpServer, gen(function* () {
96157
96362
  })
96158
96363
  });
96159
96364
  }));
96160
- // ../../packages/runtime/src/server/package.ts
96161
- const packageRoot = match(endsWith(".ts")(import.meta.url), {
96162
- onFalse: () => fileURLToPath(new URL("..", import.meta.url)),
96163
- onTrue: cwd
96164
- });
96165
- const packageMetadata = gen(function* () {
96166
- const file = (yield* Path$1).join(packageRoot, "package.json");
96167
- return yield* decodeEffect(fromJsonString(PackageMetadata))(yield* (yield* FileSystem).readFileString(file));
96168
- });
96169
- const appName = map$7(packageMetadata, (metadata) => replace("@deslop/", "")(metadata.name));
96170
96365
  // ../../packages/runtime/src/server/probe.ts
96171
96366
  const FIXED_INPUTS = {
96172
96367
  "gateway connections.add": { url: "https://example.com/mcp" },
@@ -96206,6 +96401,16 @@ const publicAccess = [
96206
96401
  callers: ["member"],
96207
96402
  surface: "http GET /api/account"
96208
96403
  },
96404
+ {
96405
+ app: "*",
96406
+ callers: ["member"],
96407
+ surface: `http GET ${IPHONE_UPDATE_PATH}`
96408
+ },
96409
+ {
96410
+ app: "*",
96411
+ callers: ["member"],
96412
+ surface: `http GET ${IPHONE_UPDATE_PATH}/assets/:hash`
96413
+ },
96209
96414
  ...map$10([
96210
96415
  "POST /mcp",
96211
96416
  "GET /mcp",
@@ -97512,6 +97717,7 @@ const layerRoutes = use((router) => gen(function* () {
97512
97717
  const traces = yield* option(String$5("OTEL_URL"));
97513
97718
  const canonical = yield* String$5("APP_URL");
97514
97719
  const metadata = yield* cached(packageMetadata);
97720
+ yield* registerIPhoneUpdates(router, auth, canonical);
97515
97721
  yield* router.add("GET", RUNTIME_PATH, gen(function* () {
97516
97722
  const release = yield* metadata;
97517
97723
  return yield* schemaJson(RuntimeConfig)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/auth",
3
- "version": "0.1.1534",
3
+ "version": "0.1.1545",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",
@@ -10,15 +10,16 @@
10
10
  "auth": "dist/server.js"
11
11
  },
12
12
  "files": [
13
- "dist",
14
- "bin"
13
+ "dist"
15
14
  ],
16
15
  "type": "module",
17
16
  "sideEffects": false,
18
17
  "imports": {
18
+ "#contracts": "./src/contracts.ts",
19
19
  "#server/*": "./src/server/*",
20
20
  "#web/*": "./src/web/*",
21
- "#contracts": "./src/contracts.ts"
21
+ "#iphone/*": "./src/iphone/*",
22
+ "#screens/*": "./src/screens/*"
22
23
  },
23
24
  "publishConfig": {
24
25
  "access": "public"
@@ -29,5 +30,5 @@
29
30
  "engines": {
30
31
  "node": ">=26"
31
32
  },
32
- "fingerprint": "4235cde16cede681a40c6f9095ff60d807f23b98308bee56b1813c6a3e0c381a"
33
+ "fingerprint": "c8b7be361c9c143cc399f43bcd020001e5a3aff6e2a159afe6b8c60bc6a8050a"
33
34
  }
@@ -1 +0,0 @@
1
- var e=new WeakMap,t={};function n(t,n){let r=e.get(t);r||e.set(t,r={});let i=r[n];if(i?.isConnected)return i;let a=t.createElement(`div`);return a.setAttribute(`role`,n===`assertive`?`alert`:`status`),a.setAttribute(`aria-live`,n),a.setAttribute(`aria-atomic`,`true`),a.setAttribute(`data-ui-sdk-announcer`,n===`assertive`?`assertive`:``),a.style.cssText=`position:fixed;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap`,t.body.append(a),r[n]=a,a}function r(e,{priority:r=`polite`,doc:i=typeof document>`u`?void 0:document}={}){if(!e||!i?.body)return;let a=n(i,r);a.textContent=``,clearTimeout(t[r]),t[r]=setTimeout(()=>{a.textContent=e},100)}export{r as announce};