@remixhq/core 0.1.42 → 0.1.44

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/api.d.ts CHANGED
@@ -363,6 +363,14 @@ type ResolveProjectRuntimeEnvForLocalPullResponse = {
363
363
  };
364
364
  type RuntimeTargetKind = "web" | "api" | "cli" | "mobile" | "desktop" | "test" | "worker";
365
365
  type RuntimeCommandKind = "install" | "dev" | "build" | "preview" | "test" | "custom";
366
+ type RuntimeTargetVerificationStatus = "not_attempted" | "pending" | "verified" | "attempted_failed";
367
+ type RuntimeTargetVerification = {
368
+ status: RuntimeTargetVerificationStatus;
369
+ source: string | null;
370
+ runId: string | null;
371
+ updatedAt: string | null;
372
+ details: Record<string, unknown>;
373
+ };
366
374
  type ProjectRuntimeTargetScope = {
367
375
  repoFingerprint: string;
368
376
  environment?: string;
@@ -379,6 +387,7 @@ type ProjectRuntimeTargetMetadata = ProjectRuntimeTargetScope & {
379
387
  readiness: Record<string, unknown>;
380
388
  inheritancePolicy?: "project_family" | "none";
381
389
  enabled: boolean;
390
+ verification?: RuntimeTargetVerification;
382
391
  version?: number;
383
392
  };
384
393
  type SetProjectRuntimeTargetPayload = ProjectRuntimeTargetScope & CascadeToFamilyPayload & {
@@ -416,6 +425,7 @@ type AppPreviewQuery = {
416
425
  environment?: string;
417
426
  autostart?: boolean;
418
427
  probe?: "metadata" | "full";
428
+ targetKind?: RuntimeTargetKind;
419
429
  };
420
430
  type AppShareLinkSummary = {
421
431
  id: string;
@@ -431,6 +441,10 @@ type MobileQrPayloads = {
431
441
  ios?: string | null;
432
442
  android?: string | null;
433
443
  };
444
+ type MobileMetroBundleUrls = {
445
+ ios?: string | null;
446
+ android?: string | null;
447
+ };
434
448
  type AppPreviewResponse = {
435
449
  kind: "url";
436
450
  appId: string;
@@ -456,6 +470,7 @@ type AppPreviewResponse = {
456
470
  qrPayload: string;
457
471
  tunnelUrl: string | null;
458
472
  platformQrPayloads?: MobileQrPayloads;
473
+ metroBundleUrls?: MobileMetroBundleUrls;
459
474
  status: AppPreviewProcessStatus;
460
475
  } | {
461
476
  kind: "logs";
package/dist/api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-UN3Q7P5E.js";
3
+ } from "./chunk-OSHNZWYW.js";
4
4
  import "./chunk-7XJGOKEO.js";
5
5
  export {
6
6
  createApiClient
@@ -48,6 +48,7 @@ function buildAppPreviewQuery(params) {
48
48
  if (params?.environment) qs.set("environment", params.environment);
49
49
  if (params?.autostart !== void 0) qs.set("autostart", params.autostart ? "true" : "false");
50
50
  if (params?.probe) qs.set("probe", params.probe);
51
+ if (params?.targetKind) qs.set("targetKind", params.targetKind);
51
52
  return suffix(qs);
52
53
  }
53
54
  function buildAppListQuery(params) {
package/dist/collab.js CHANGED
@@ -1467,7 +1467,7 @@ async function pollAppImported(api, appId, opts) {
1467
1467
  onSlow(elapsed);
1468
1468
  } else {
1469
1469
  console.warn(
1470
- `[remix init] still waiting for app import (>${Math.round(elapsed / 1e3)}s); will time out at ${Math.round(timeoutMs / 1e3)}s`
1470
+ `[remix collab init] still waiting for app import (>${Math.round(elapsed / 1e3)}s); will time out at ${Math.round(timeoutMs / 1e3)}s`
1471
1471
  );
1472
1472
  }
1473
1473
  }
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-UN3Q7P5E.js";
3
+ } from "./chunk-OSHNZWYW.js";
4
4
  import {
5
5
  RemixAuthContinuationError,
6
6
  createDefaultRefreshLock,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remixhq/core",
3
- "version": "0.1.42",
3
+ "version": "0.1.44",
4
4
  "description": "Remix core library",
5
5
  "homepage": "https://github.com/RemixDotOne/remix-core",
6
6
  "license": "MIT",