@pmate/chat-sdk 0.11.8 → 0.11.9

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.
@@ -36,7 +36,7 @@ export class SocialReadClient {
36
36
  return teamId === undefined ? {} : { teamId };
37
37
  }
38
38
  requireTeam(teamId) {
39
- if (this.options.appId === "pmate:hello" && !teamId)
39
+ if (this.options.appId === "pmate:merry" && !teamId)
40
40
  throw new SocialReadError(400, "TEAM_ID_REQUIRED");
41
41
  }
42
42
  async list(action, query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmate/chat-sdk",
3
- "version": "0.11.8",
3
+ "version": "0.11.9",
4
4
  "description": "Cross-platform PMate chat input components, voice input primitives, and ASR helpers",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -28,6 +28,15 @@
28
28
  "publishConfig": {
29
29
  "access": "public"
30
30
  },
31
+ "scripts": {
32
+ "clean": "rimraf lib",
33
+ "build": "pnpm run clean && tsc -p tsconfig.build.json && cp src/voice/recorder-processor.js lib/voice/recorder-processor.js",
34
+ "prepack": "pnpm run build",
35
+ "npm:publish": "pnpm run build && npm publish --access public --registry https://registry.npmjs.org/",
36
+ "test": "vitest run",
37
+ "storybook": "storybook dev -p 6009",
38
+ "build-storybook": "storybook build --output-dir dist"
39
+ },
31
40
  "dependencies": {
32
41
  "@emoji-mart/data": "^1.2.1",
33
42
  "@emoji-mart/react": "^1.1.1",
@@ -43,24 +52,16 @@
43
52
  "devDependencies": {
44
53
  "@storybook/addon-docs": "^9.0.17",
45
54
  "@storybook/react-vite": "9.0.17",
46
- "@tailwindcss/vite": "^4.1.3",
47
- "@types/react": "^19.2.7",
48
- "@types/react-dom": "^19.2.3",
55
+ "@tailwindcss/vite": "catalog:",
56
+ "@types/react": "catalog:",
57
+ "@types/react-dom": "catalog:",
49
58
  "fake-indexeddb": "^6.2.5",
50
- "react": "^19.1.1",
51
- "react-dom": "^19.1.1",
59
+ "react": "catalog:",
60
+ "react-dom": "catalog:",
52
61
  "rimraf": "^6.1.2",
53
62
  "storybook": "^9.0.17",
54
- "tailwindcss": "^4.0.14",
63
+ "tailwindcss": "catalog:",
55
64
  "typescript": "5.9.2",
56
65
  "vitest": "^4.0.17"
57
- },
58
- "scripts": {
59
- "clean": "rimraf lib",
60
- "build": "pnpm run clean && tsc -p tsconfig.build.json && cp src/voice/recorder-processor.js lib/voice/recorder-processor.js",
61
- "npm:publish": "pnpm run build && npm publish --access public --registry https://registry.npmjs.org/",
62
- "test": "vitest run",
63
- "storybook": "storybook dev -p 6009",
64
- "build-storybook": "storybook build --output-dir dist"
65
66
  }
66
- }
67
+ }