@pear-protocol/hyperliquid-sdk 0.0.68-beta → 0.0.68-beta.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.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7166,7 +7166,6 @@ function useAuth() {
7166
7166
  const setIsReady = useUserData((s) => s.setIsReady);
7167
7167
  const setIsAuthenticated = useUserData((s) => s.setIsAuthenticated);
7168
7168
  const setAddress = useUserData((s) => s.setAddress);
7169
- console.log("sdk", { sdkAddress: address });
7170
7169
  useEffect(() => {
7171
7170
  if (typeof window == "undefined") {
7172
7171
  return;
@@ -7225,7 +7224,6 @@ function useAuth() {
7225
7224
  window.localStorage.setItem(refreshTokenKey, data.refreshToken);
7226
7225
  setAccessToken(data.accessToken);
7227
7226
  setRefreshToken(data.refreshToken);
7228
- // setAddress(address);
7229
7227
  setIsAuthenticated(true);
7230
7228
  }
7231
7229
  catch (e) {
@@ -7246,7 +7244,6 @@ function useAuth() {
7246
7244
  window.localStorage.setItem(refreshTokenKey, data.refreshToken);
7247
7245
  setAccessToken(data.accessToken);
7248
7246
  setRefreshToken(data.refreshToken);
7249
- // setAddress(address);
7250
7247
  setIsAuthenticated(true);
7251
7248
  }
7252
7249
  catch (e) {
@@ -7288,7 +7285,7 @@ function useAuth() {
7288
7285
  }
7289
7286
  setAccessToken(null);
7290
7287
  setRefreshToken(null);
7291
- // setAddress(null);
7288
+ setAddress(null);
7292
7289
  setIsAuthenticated(false);
7293
7290
  }
7294
7291
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/hyperliquid-sdk",
3
- "version": "0.0.68-beta",
3
+ "version": "0.0.68-beta.1",
4
4
  "description": "React SDK for Pear Protocol Hyperliquid API integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",