@tellescope/react-components 1.217.0 → 1.218.0

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": "@tellescope/react-components",
3
- "version": "1.217.0",
3
+ "version": "1.218.0",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -47,13 +47,13 @@
47
47
  "@reduxjs/toolkit": "^1.6.2",
48
48
  "@stripe/react-stripe-js": "^2.9.0",
49
49
  "@stripe/stripe-js": "^1.52.1",
50
- "@tellescope/constants": "^1.217.0",
51
- "@tellescope/sdk": "^1.217.0",
52
- "@tellescope/types-client": "^1.217.0",
53
- "@tellescope/types-models": "^1.217.0",
54
- "@tellescope/types-utilities": "^1.217.0",
55
- "@tellescope/utilities": "^1.217.0",
56
- "@tellescope/validation": "^1.217.0",
50
+ "@tellescope/constants": "^1.218.0",
51
+ "@tellescope/sdk": "^1.218.0",
52
+ "@tellescope/types-client": "^1.218.0",
53
+ "@tellescope/types-models": "^1.218.0",
54
+ "@tellescope/types-utilities": "^1.218.0",
55
+ "@tellescope/utilities": "^1.218.0",
56
+ "@tellescope/validation": "^1.218.0",
57
57
  "@typescript-eslint/eslint-plugin": "^4.33.0",
58
58
  "@typescript-eslint/parser": "^4.33.0",
59
59
  "css-to-react-native": "^3.0.0",
@@ -83,7 +83,7 @@
83
83
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
84
84
  "react-native": "^0.65.0 || ^0.66.0 || ^0.67.0 || ^0.68.0 || ^0.71.0"
85
85
  },
86
- "gitHead": "bb6a45b99c70cd4a7bd14f48061ed6e0c10a547b",
86
+ "gitHead": "74eae7c7a83047d1d337e8f9ab3e935ccd852271",
87
87
  "publishConfig": {
88
88
  "access": "public"
89
89
  }
@@ -936,7 +936,12 @@ export const ChatRoomSearch = (props: Omit<GenericSearchProps<ChatRoom>, 'filter
936
936
  onLoad={addLocalElements}
937
937
  attachSearchableFields={r => {
938
938
  const users = (r.userIds || []).map(r => findUser(r, { batch: true })!).filter(u => u)
939
- const endusers = (r.enduserIds || []).map(r => findEnduser(r, { batch: true })!).filter(e => e)
939
+
940
+ const enduserIds = [
941
+ ...r.enduserIds || [],
942
+ ...r.aboutEnduserId ? [r.aboutEnduserId] : [],
943
+ ]
944
+ const endusers = enduserIds.map(r => findEnduser(r, { batch: true })!).filter(e => e)
940
945
 
941
946
  const fields = {} as Record<string, string>
942
947
  let i = 0