@messenger-box/platform-browser 10.0.3-alpha.164 → 10.0.3-alpha.168

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [10.0.3-alpha.168](https://github.com/CDEBase/messenger-box/compare/v10.0.3-alpha.167...v10.0.3-alpha.168) (2025-12-26)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-browser
9
+
10
+ ## [10.0.3-alpha.165](https://github.com/cdmbase/messenger-box/compare/v10.0.3-alpha.164...v10.0.3-alpha.165) (2025-12-25)
11
+
12
+ **Note:** Version bump only for package @messenger-box/platform-browser
13
+
6
14
  ## [10.0.3-alpha.164](https://github.com/cdmbase/messenger-box/compare/v10.0.3-alpha.163...v10.0.3-alpha.164) (2025-12-25)
7
15
 
8
16
  **Note:** Version bump only for package @messenger-box/platform-browser
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardWithLoader.d.ts","sourceRoot":"","sources":["../../src/containers/DashboardWithLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,QAAA,MAAM,mBAAmB,GAAI,UAAK,sBAgCjC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"DashboardWithLoader.d.ts","sourceRoot":"","sources":["../../src/containers/DashboardWithLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,QAAA,MAAM,mBAAmB,GAAI,UAAK,sBAqCjC,CAAC;AACF,eAAe,mBAAmB,CAAC"}
@@ -8,13 +8,15 @@ import React__default from'react';import {Await}from'@remix-run/react';import {u
8
8
  variables: {
9
9
  auth0Id: currentUserAuth0Id
10
10
  },
11
- fetchPolicy: 'cache-only'
11
+ fetchPolicy: 'cache-only',
12
+ skip: !currentUserAuth0Id
12
13
  });
13
14
  const currentUserRes = useCurrentUserQuery({
14
15
  variables: {
15
16
  auth0Id: currentUserAuth0Id
16
17
  },
17
- fetchPolicy: 'cache-only'
18
+ fetchPolicy: 'cache-only',
19
+ skip: !currentUserAuth0Id
18
20
  });
19
21
  const getChannel = useGetChannelsByUserQuery({
20
22
  variables: {},
@@ -1 +1 @@
1
- {"version":3,"file":"DashboardWithLoader.js","sources":["../../src/containers/DashboardWithLoader.tsx"],"sourcesContent":[null],"names":[],"mappings":"4RAYA,MAAM,mBAAmB,GAAG,KAAC,IAAO;AAChC,EAAA,MAAA,kBAAM,GAAkB,WAAG,CAAA,KAAa,IAAU,UAAW,CAAA,UAAK,CAAA;AAElE,EAAA,MAAA,QAAM,GAAQ,mBAAG,CAAA;AACjB,IAAA;IACA,WAAM,EAAA;AACF,GAAA,CAAA;AACA,EAAA,MAAA,WAAW,GAAE,mBAAY,CAAA;AAC5B,IAAA,SAAE,EAAA;AACH,MAAA,OAAM,EAAA;AACN,KAAA;IAEA,WACI,EAAA;AAGY,GAAA,CAAA;AAIR,EAAA,MAAA,cAAA,GAAA,mBACW,CAAA;aAOP,EAAA;AAIhB,MAAE,OAAA,EAAA;AACF,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DashboardWithLoader.js","sources":["../../src/containers/DashboardWithLoader.tsx"],"sourcesContent":[null],"names":[],"mappings":"4RAYA,MAAM,mBAAmB,GAAG,KAAC,IAAO;AAChC,EAAA,MAAA,kBAAM,GAAkB,WAAG,CAAA,KAAa,IAAU,UAAW,CAAA,UAAK,CAAA;AAElE,EAAA,MAAA,QAAM,GAAQ,mBAAG,CAAA;IACjB,SAAM,EAAA,EAAA;AACF,IAAA,WAAA,EAAS;AACT,GAAA,CAAA;QACA,WAAO,GAAA,mBAAkB,CAAA;AAC5B,IAAA,SAAE,EAAA;MACH,OAAM,EAAA;AACF,KAAA;AACA,IAAA,WAAA,EAAA,YAAa;QACb,EAAA,CAAA;AACH,GAAA,CAAA;AACD,EAAA,MAAA,cAAgB,GAAG,mBAAA,CAAA;AACnB,IAAA,SAAM,EAAA;MAEN,OACI,EAAA;AAGY,KAAA;AAIR,IAAA,WAAA,EAAA,YAAC;;AAYb,GAAE,CAAA;AACF,EAAA,MAAA,sCAAmC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-browser",
3
- "version": "10.0.3-alpha.164",
3
+ "version": "10.0.3-alpha.168",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@adminide-stack/file-info-client": "^5.4.4-alpha.3",
24
- "@messenger-box/core": "10.0.3-alpha.164",
25
- "@messenger-box/platform-client": "10.0.3-alpha.164",
24
+ "@messenger-box/core": "10.0.3-alpha.165",
25
+ "@messenger-box/platform-client": "10.0.3-alpha.165",
26
26
  "css-vars-ponyfill": "2.4.5",
27
27
  "dynamic-virtualized-list": "github:mattermost/dynamic-virtualized-list#119db968c96643c7106d4d2c965f05b2e251bc83",
28
28
  "emoji-mart": "^3.0.1",
@@ -50,5 +50,5 @@
50
50
  "typescript": {
51
51
  "definition": "lib/index.d.ts"
52
52
  },
53
- "gitHead": "99d8e706f1b2d7e3b952576a2f419e2a6905095e"
53
+ "gitHead": "42ba8614839a33e59fa70bd3c005151591bf9f6f"
54
54
  }
@@ -14,10 +14,15 @@ const DashboardWithLoader = (props) => {
14
14
  const currentUserAuth0Id = useSelector((state: any) => state.user.authUserId);
15
15
 
16
16
  const allUsers = useGetAllUsersQuery({ variables: {}, fetchPolicy: 'cache-only' });
17
- const usersToChat = useUsersToChatQuery({ variables: { auth0Id: currentUserAuth0Id }, fetchPolicy: 'cache-only' });
17
+ const usersToChat = useUsersToChatQuery({
18
+ variables: { auth0Id: currentUserAuth0Id },
19
+ fetchPolicy: 'cache-only',
20
+ skip: !currentUserAuth0Id,
21
+ });
18
22
  const currentUserRes = useCurrentUserQuery({
19
23
  variables: { auth0Id: currentUserAuth0Id },
20
24
  fetchPolicy: 'cache-only',
25
+ skip: !currentUserAuth0Id,
21
26
  });
22
27
  const getChannel = useGetChannelsByUserQuery({ variables: {}, fetchPolicy: 'cache-only' });
23
28
  const allChannels = useGetAllChannelQuery({ variables: {}, fetchPolicy: 'cache-only' });