@remit/web-client 0.0.1 → 0.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/web-client",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "description": "Remit web client, published as composable primitives — the app shell, auth shells, and runtime config. A distributor imports what it composes and bundles it.",
6
6
  "exports": {
@@ -9,11 +9,7 @@ import type {
9
9
  RemitImapAccountResponse,
10
10
  RemitImapDescribeMessageResponse,
11
11
  } from "@remit/api-http-client/types.gen.ts";
12
- import {
13
- ComposeActionBar,
14
- ComposeFormShell,
15
- QuotedText,
16
- } from "@remit/ui";
12
+ import { ComposeActionBar, ComposeFormShell, QuotedText } from "@remit/ui";
17
13
  import { useMutation, useQuery } from "@tanstack/react-query";
18
14
  import type { Value } from "platejs";
19
15
  import {
@@ -7,11 +7,7 @@ import type {
7
7
  RemitImapAccountResponse,
8
8
  RemitImapMailboxResponse,
9
9
  } from "@remit/api-http-client/types.gen.ts";
10
- import type {
11
- NavAccount,
12
- NavLinkComponent,
13
- NavMailboxRole,
14
- } from "@remit/ui";
10
+ import type { NavAccount, NavLinkComponent, NavMailboxRole } from "@remit/ui";
15
11
  import { NavSidebar } from "@remit/ui";
16
12
  import { useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
17
13
  import {
@@ -4,11 +4,7 @@ import type {
4
4
  RemitImapThreadMessageResponse,
5
5
  } from "@remit/api-http-client/types.gen.ts";
6
6
  import type { ThreadMessageData } from "@remit/ui";
7
- import {
8
- AddressList,
9
- CollapsedMessage,
10
- ExpandedMessage,
11
- } from "@remit/ui";
7
+ import { AddressList, CollapsedMessage, ExpandedMessage } from "@remit/ui";
12
8
  import { useQuery } from "@tanstack/react-query";
13
9
  import { BadgeCheck, Paperclip, Star } from "lucide-react";
14
10
  import { useState } from "react";
@@ -1,9 +1,5 @@
1
1
  import type { RemitImapThreadMessageResponse } from "@remit/api-http-client/types.gen.ts";
2
- import {
3
- type Density,
4
- MessageListPane,
5
- SelectionTopBar,
6
- } from "@remit/ui";
2
+ import { type Density, MessageListPane, SelectionTopBar } from "@remit/ui";
7
3
  import { useNavigate } from "@tanstack/react-router";
8
4
  import { useVirtualizer } from "@tanstack/react-virtual";
9
5
  import { Search, Sparkles } from "lucide-react";
@@ -10,6 +10,6 @@ export const APP_BUILD_TIME: string = __APP_BUILD_TIME__;
10
10
  /** First 7 characters of the SHA, matching git's default short form. */
11
11
  export const APP_SHORT_SHA: string = APP_SHA.slice(0, 7);
12
12
 
13
- export const GITHUB_COMMIT_URL = `https://github.com/remit-mail/remit/commit/${APP_SHA}`;
13
+ export const GITHUB_COMMIT_URL = `https://github.com/remit-mail/reader/commit/${APP_SHA}`;
14
14
  export const GITHUB_NEW_ISSUE_URL =
15
- "https://github.com/remit-mail/remit/issues/new";
15
+ "https://github.com/remit-mail/reader/issues/new";
@@ -28,7 +28,7 @@ describe("buildGitHubIssueUrl", () => {
28
28
  it("returns a URL pointing at the GitHub new-issue endpoint", () => {
29
29
  const url = buildGitHubIssueUrl(baseCtx);
30
30
  assert.ok(
31
- url.startsWith("https://github.com/remit-mail/remit/issues/new?"),
31
+ url.startsWith("https://github.com/remit-mail/reader/issues/new?"),
32
32
  `Expected GitHub issues URL, got: ${url}`,
33
33
  );
34
34
  });
@@ -71,7 +71,7 @@ function buildIssueBody(ctx: BugReportContext, stack?: string): string {
71
71
 
72
72
  const lines: string[] = [
73
73
  "## Environment",
74
- `- **Version**: [\`${ctx.appShortSha}\`](https://github.com/remit-mail/remit/commit/${ctx.appSha}) built ${ctx.appBuildTime}`,
74
+ `- **Version**: [\`${ctx.appShortSha}\`](https://github.com/remit-mail/reader/commit/${ctx.appSha}) built ${ctx.appBuildTime}`,
75
75
  `- **Browser**: ${ctx.userAgent}`,
76
76
  `- **Viewport**: ${ctx.viewport}`,
77
77
  `- **Time**: ${ctx.timestamp} (${ctx.timezone})`,