@sublay/js 7.1.0 → 7.1.1

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/index.d.mts CHANGED
@@ -1556,6 +1556,7 @@ interface Conversation {
1556
1556
  interface ConversationPreview extends Conversation {
1557
1557
  unreadCount: number;
1558
1558
  lastMessage: ChatMessage | null;
1559
+ otherMembers?: Pick<User, "id" | "name" | "username" | "avatar">[];
1559
1560
  }
1560
1561
 
1561
1562
  interface GetSpaceConversationProps {
@@ -1,6 +1,7 @@
1
1
  import { File } from "./File";
2
2
  import { ChatMessage } from "./ChatMessage";
3
3
  import { ConversationMember } from "./ConversationMember";
4
+ import { User } from "./User";
4
5
  export interface Conversation {
5
6
  id: string;
6
7
  projectId: string;
@@ -22,4 +23,5 @@ export interface Conversation {
22
23
  export interface ConversationPreview extends Conversation {
23
24
  unreadCount: number;
24
25
  lastMessage: ChatMessage | null;
26
+ otherMembers?: Pick<User, "id" | "name" | "username" | "avatar">[];
25
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sublay/js",
3
- "version": "7.1.0",
3
+ "version": "7.1.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -34,7 +34,13 @@
34
34
  "build": "tsup src/index.ts --dts --format cjs,esm",
35
35
  "build:types": "tsc --emitDeclarationOnly",
36
36
  "test": "jest",
37
+ "version:patch": "pnpm version patch --no-git-tag-version --no-git-checks",
38
+ "version:minor": "pnpm version minor --no-git-tag-version --no-git-checks",
37
39
  "publish-beta": "pnpm publish --tag beta --no-git-checks",
38
- "publish-prod": "pnpm publish --no-git-checks"
40
+ "publish-prod": "pnpm publish --no-git-checks",
41
+ "publish-beta:patch": "pnpm version:patch && pnpm publish-beta",
42
+ "publish-beta:minor": "pnpm version:minor && pnpm publish-beta",
43
+ "publish-prod:patch": "pnpm version:patch && pnpm publish-prod",
44
+ "publish-prod:minor": "pnpm version:minor && pnpm publish-prod"
39
45
  }
40
46
  }