@cometh/connect-react-hooks 0.0.9-dev.1 → 0.0.9-dev.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -100,7 +100,8 @@ var ConnectProvider = ({
100
100
  ...config,
101
101
  smartAccountAddress: params.address,
102
102
  comethSignerConfig: {
103
- ...config.comethSignerConfig
103
+ ...config.comethSignerConfig,
104
+ passKeyName: params.passKeyName
104
105
  }
105
106
  });
106
107
  setSmartAccountClient(client);
@@ -1825,7 +1826,7 @@ var useRetrieveAccountAddressFromPasskeys = ({
1825
1826
  } finally {
1826
1827
  setIsPending(false);
1827
1828
  }
1828
- }, [apiKey, baseUrl]);
1829
+ }, [apiKey, chain, baseUrl, fullDomainSelected]);
1829
1830
  return {
1830
1831
  retrieveAddress,
1831
1832
  isPending,
@@ -1862,7 +1863,7 @@ var useRetrieveAccountAddressFromPasskeyId = ({
1862
1863
  setIsPending(false);
1863
1864
  }
1864
1865
  },
1865
- [apiKey, baseUrl]
1866
+ [apiKey, chain, baseUrl, fullDomainSelected]
1866
1867
  );
1867
1868
  return {
1868
1869
  retrieveAddress,
@@ -1918,7 +1919,7 @@ var useCreateNewSigner = (apiKey, baseUrl) => {
1918
1919
  setIsPending(false);
1919
1920
  }
1920
1921
  },
1921
- [apiKey, queryClient]
1922
+ [apiKey, queryClient, baseUrl]
1922
1923
  );
1923
1924
  return {
1924
1925
  createSigner,
package/dist/index.js CHANGED
@@ -100,7 +100,8 @@ var ConnectProvider = ({
100
100
  ...config,
101
101
  smartAccountAddress: params.address,
102
102
  comethSignerConfig: {
103
- ...config.comethSignerConfig
103
+ ...config.comethSignerConfig,
104
+ passKeyName: params.passKeyName
104
105
  }
105
106
  });
106
107
  setSmartAccountClient(client);
@@ -1825,7 +1826,7 @@ var useRetrieveAccountAddressFromPasskeys = ({
1825
1826
  } finally {
1826
1827
  setIsPending(false);
1827
1828
  }
1828
- }, [apiKey, baseUrl]);
1829
+ }, [apiKey, chain, baseUrl, fullDomainSelected]);
1829
1830
  return {
1830
1831
  retrieveAddress,
1831
1832
  isPending,
@@ -1862,7 +1863,7 @@ var useRetrieveAccountAddressFromPasskeyId = ({
1862
1863
  setIsPending(false);
1863
1864
  }
1864
1865
  },
1865
- [apiKey, baseUrl]
1866
+ [apiKey, chain, baseUrl, fullDomainSelected]
1866
1867
  );
1867
1868
  return {
1868
1869
  retrieveAddress,
@@ -1918,7 +1919,7 @@ var useCreateNewSigner = (apiKey, baseUrl) => {
1918
1919
  setIsPending(false);
1919
1920
  }
1920
1921
  },
1921
- [apiKey, queryClient]
1922
+ [apiKey, queryClient, baseUrl]
1922
1923
  );
1923
1924
  return {
1924
1925
  createSigner,
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://twitter.com/slovaye"
8
8
  }
9
9
  ],
10
- "version": "0.0.9-dev.1",
10
+ "version": "0.0.9-dev.3",
11
11
  "description": "React hooks Connect 4337",
12
12
  "repository": "https://github.com/cometh-hq/connect-sdk-4337.git",
13
13
  "keywords": [
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5"
59
59
  },
60
60
  "dependencies": {
61
- "@cometh/connect-sdk-4337": "^0.1.10-dev.2",
61
+ "@cometh/connect-sdk-4337": "^0.1.10-dev.3",
62
62
  "permissionless": "0.1.31"
63
63
  }
64
64
  }