@vlprojects-chat/chat 0.9.6 → 0.9.8-debug-ci.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.
Files changed (2) hide show
  1. package/dist/index.mjs +17 -11
  2. package/package.json +12 -8
package/dist/index.mjs CHANGED
@@ -35394,14 +35394,13 @@ const qA = {
35394
35394
  }, _se = () => {
35395
35395
  const e = te.useContext(yS);
35396
35396
  return e ? e.chatSnackbarContainer : null;
35397
- }, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.9.6", Bse = "VLprojects chat", Use = "ISC", Wse = "dist/index.d.ts", Hse = "./dist/index.mjs", Gse = "./dist/index.mjs", qse = [
35397
+ }, Fse = "@vlprojects-chat/chat", Lse = "vlprojects", Vse = "0.9.7", Bse = "vlprojects chat", Use = "ISC", Wse = "dist/index.d.ts", Hse = "./dist/index.mjs", Gse = "./dist/index.mjs", qse = [
35398
35398
  "dist"
35399
35399
  ], zse = {
35400
35400
  type: "git",
35401
- url: "git+ssh://git@github.com/VLprojects/chat.git"
35401
+ url: "https://github.com/VLprojects/lsd-chat-react.git"
35402
35402
  }, Yse = {
35403
35403
  start: "vite",
35404
- "lint:js": "eslint ./src --ext .ts,.tsx",
35405
35404
  build: "tsc --noEmit && vite build --mode production"
35406
35405
  }, Kse = {
35407
35406
  production: [
@@ -35461,6 +35460,11 @@ const qA = {
35461
35460
  "@babel/preset-react": "^7.16.7",
35462
35461
  "@babel/preset-typescript": "^7.16.7",
35463
35462
  "@babel/runtime": "^7.16.7",
35463
+ "@semantic-release/commit-analyzer": "^9.0.1",
35464
+ "@semantic-release/git": "^10.0.0",
35465
+ "@semantic-release/github": "^8.0.1",
35466
+ "@semantic-release/npm": "^8.0.0",
35467
+ "@semantic-release/release-notes-generator": "^10.0.2",
35464
35468
  "@types/events": "^3.0.3",
35465
35469
  "@types/flat": "^5.0.2",
35466
35470
  "@types/js-cookie": "^2.2.7",
@@ -35502,12 +35506,12 @@ const qA = {
35502
35506
  }, Zse = {
35503
35507
  "@emotion/react": "^11.x.x",
35504
35508
  "@emotion/styled": "^11.x.x",
35509
+ "mobx-event-bus2": "^2.0.0",
35505
35510
  react: "^17.0.2",
35506
- "react-dom": "^17.0.2",
35507
- "mobx-event-bus2": "^2.0.0"
35511
+ "react-dom": "^17.0.2"
35508
35512
  }, Qse = {
35509
- url: "https://github.com/VLprojects/chat/issues"
35510
- }, $se = "https://github.com/VLprojects/chat#readme", eae = [
35513
+ url: "https://github.com/vlprojects/chat/issues"
35514
+ }, $se = "https://github.com/vlprojects/chat#readme", eae = [
35511
35515
  "chat"
35512
35516
  ], l9 = {
35513
35517
  name: Fse,
@@ -54332,12 +54336,13 @@ const wbe = (e) => {
54332
54336
  zIndex: yc.HEADER
54333
54337
  }
54334
54338
  }), Vbe = () => {
54339
+ var m, v;
54335
54340
  const e = Ge(), { ui: t, chat: n, auth: r } = e, o = t.isMobile ? Lbe() : Fbe(), i = String(t.params.id), s = n.channels.get(i), a = s == null ? void 0 : s.lastPinnedMessage;
54336
54341
  if (!a)
54337
54342
  return null;
54338
54343
  const c = a.user.current, u = new Date(a.message.createdAt), l = () => Nk(a.id), f = async () => {
54339
- const m = s.findMessageIdx(a.messageId);
54340
- m > -1 ? t.jumpToMessage(m) : (await Ik(e, Number(i), Number(s.sortedMessages[0].id), {
54344
+ const g = s.findMessageIdx(a.messageId);
54345
+ g > -1 ? t.jumpToMessage(g) : (await Ik(e, Number(i), Number(s.sortedMessages[0].id), {
54341
54346
  until: Number(a.messageId)
54342
54347
  }), setTimeout(() => {
54343
54348
  t.jumpToMessage(0);
@@ -54365,7 +54370,8 @@ const wbe = (e) => {
54365
54370
  children: p
54366
54371
  }
54367
54372
  ),
54368
- /* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: a.message.text })
54373
+ /* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: a.message.text }),
54374
+ ((m = a.message.attachments) == null ? void 0 : m.length) && /* @__PURE__ */ h.jsx(ce, { noWrap: !0, className: o.pinnedMessage, children: (v = a.message.attachments) == null ? void 0 : v[0].name })
54369
54375
  ] }),
54370
54376
  r.me.role === od.Moderator && /* @__PURE__ */ h.jsx(Jn, { onClick: l, className: o.pinButton, children: /* @__PURE__ */ h.jsx(Ihe, {}) })
54371
54377
  ]
@@ -57176,7 +57182,7 @@ const gye = (e) => {
57176
57182
  /* @__PURE__ */ h.jsx(t1e, {})
57177
57183
  ] });
57178
57184
  };
57179
- var uu = { VITE_APP_VERSION: "0.9.6", VITE_APP_API_BASEURL: "https://api.livedigital.chat", VITE_APP_SENTRY_DSN: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
57185
+ var uu = { VITE_APP_VERSION: "0.9.7", VITE_APP_API_BASEURL: "https://api.livedigital.chat", VITE_APP_SENTRY_DSN: "https://445426b388f045748970982694bb1520@o1158674.ingest.sentry.io/6242013", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
57180
57186
  const zD = (e) => {
57181
57187
  $e.error("Chat init error", { case: "handleInitError", errorInfo: e }), Do.emit(so.App, {
57182
57188
  event: Po.ChatInitError,
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.9.6",
5
- "description": "VLprojects chat",
4
+ "version": "0.9.8-debug-ci.1",
5
+ "description": "vlprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",
8
8
  "main": "./dist/index.mjs",
@@ -12,11 +12,10 @@
12
12
  ],
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "git+ssh://git@github.com/VLprojects/chat.git"
15
+ "url": "https://github.com/VLprojects/lsd-chat-react.git"
16
16
  },
17
17
  "scripts": {
18
18
  "start": "vite",
19
- "lint:js": "eslint ./src --ext .ts,.tsx",
20
19
  "build": "tsc --noEmit && vite build --mode production"
21
20
  },
22
21
  "browserslist": {
@@ -82,6 +81,11 @@
82
81
  "@babel/preset-react": "^7.16.7",
83
82
  "@babel/preset-typescript": "^7.16.7",
84
83
  "@babel/runtime": "^7.16.7",
84
+ "@semantic-release/commit-analyzer": "^9.0.1",
85
+ "@semantic-release/git": "^10.0.0",
86
+ "@semantic-release/github": "^8.0.1",
87
+ "@semantic-release/npm": "^8.0.0",
88
+ "@semantic-release/release-notes-generator": "^10.0.2",
85
89
  "@types/events": "^3.0.3",
86
90
  "@types/flat": "^5.0.2",
87
91
  "@types/js-cookie": "^2.2.7",
@@ -124,14 +128,14 @@
124
128
  "peerDependencies": {
125
129
  "@emotion/react": "^11.x.x",
126
130
  "@emotion/styled": "^11.x.x",
131
+ "mobx-event-bus2": "^2.0.0",
127
132
  "react": "^17.0.2",
128
- "react-dom": "^17.0.2",
129
- "mobx-event-bus2": "^2.0.0"
133
+ "react-dom": "^17.0.2"
130
134
  },
131
135
  "bugs": {
132
- "url": "https://github.com/VLprojects/chat/issues"
136
+ "url": "https://github.com/vlprojects/chat/issues"
133
137
  },
134
- "homepage": "https://github.com/VLprojects/chat#readme",
138
+ "homepage": "https://github.com/vlprojects/chat#readme",
135
139
  "keywords": [
136
140
  "chat"
137
141
  ]