@getpara/react-sdk-lite 2.0.0-alpha.65 → 2.0.0-alpha.66

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.
@@ -128,7 +128,7 @@ const WalletNameContainer = safeStyled.div`
128
128
  const Name = safeStyled(CpslText)`
129
129
  width: 100%;
130
130
  &::part(text-element) {
131
- line-height: 100%;
131
+ line-height: 150%;
132
132
  text-overflow: ellipsis;
133
133
  overflow: hidden;
134
134
  white-space: nowrap;
@@ -56,8 +56,9 @@ const useEventListeners = ({
56
56
  );
57
57
  const logoutListener = useCallback(
58
58
  (event) => {
59
- queryClient.refetchQueries({ queryKey: [IS_FULLY_LOGGED_IN_BASE_KEY] });
60
- queryClient.refetchQueries({ queryKey: [ACCOUNT_BASE_KEY] });
59
+ queryClient.setQueriesData({ queryKey: [IS_FULLY_LOGGED_IN_BASE_KEY] }, false);
60
+ queryClient.invalidateQueries({ queryKey: [IS_FULLY_LOGGED_IN_BASE_KEY] });
61
+ queryClient.invalidateQueries({ queryKey: [ACCOUNT_BASE_KEY] });
61
62
  clearSelectedWallet();
62
63
  onLogout == null ? void 0 : onLogout(event);
63
64
  },
@@ -1,4 +1,4 @@
1
- export declare const getClient: () => import("@getpara/web-sdk").ParaWeb | undefined;
1
+ export declare const getClient: () => import("graz").ParaWeb | undefined;
2
2
  export declare const getIsOpen: () => boolean;
3
3
  export declare const getSelectedWalletId: () => string | undefined;
4
4
  export declare const getSelectedWalletType: () => "EVM" | "SOLANA" | "COSMOS" | undefined;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@getpara/react-sdk-lite",
3
- "version": "2.0.0-alpha.65",
3
+ "version": "2.0.0-alpha.66",
4
4
  "bin": {
5
5
  "setup-para": "dist/cli/cli.mjs"
6
6
  },
7
7
  "dependencies": {
8
- "@getpara/react-common": "2.0.0-alpha.65",
9
- "@getpara/react-components": "2.0.0-alpha.65",
10
- "@getpara/web-sdk": "2.0.0-alpha.65",
8
+ "@getpara/react-common": "2.0.0-alpha.66",
9
+ "@getpara/react-components": "2.0.0-alpha.66",
10
+ "@getpara/web-sdk": "2.0.0-alpha.66",
11
11
  "date-fns": "^3.6.0",
12
12
  "framer-motion": "^11.3.31",
13
13
  "libphonenumber-js": "^1.11.7",
@@ -16,9 +16,9 @@
16
16
  "zustand-sync-tabs": "^0.2.2"
17
17
  },
18
18
  "devDependencies": {
19
- "@getpara/cosmos-wallet-connectors": "2.0.0-alpha.65",
20
- "@getpara/evm-wallet-connectors": "2.0.0-alpha.65",
21
- "@getpara/solana-wallet-connectors": "2.0.0-alpha.65",
19
+ "@getpara/cosmos-wallet-connectors": "2.0.0-alpha.66",
20
+ "@getpara/evm-wallet-connectors": "2.0.0-alpha.66",
21
+ "@getpara/solana-wallet-connectors": "2.0.0-alpha.66",
22
22
  "@tanstack/react-query": "^5.74.0",
23
23
  "@testing-library/dom": "^10.4.0",
24
24
  "@testing-library/react": "^16.3.0",
@@ -38,7 +38,7 @@
38
38
  "package.json",
39
39
  "styles.css"
40
40
  ],
41
- "gitHead": "9945ab14944c22851eb81c5bbb831b23bf7eaf2a",
41
+ "gitHead": "07c8b7b68aa36dec6071e3b3b3a66de2870312c8",
42
42
  "main": "dist/index.js",
43
43
  "peerDependencies": {
44
44
  "@tanstack/react-query": ">=5.0.0",