@cometh/connect-react-hooks 0.0.6-dev.1 → 0.0.6

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/dist/index.cjs CHANGED
@@ -65,7 +65,7 @@ async function createSmartAccount(config) {
65
65
  rpcUrl
66
66
  });
67
67
  }
68
- const address = await client.account.address;
68
+ const address = client.account.address;
69
69
  return { client, address };
70
70
  }
71
71
 
@@ -1609,14 +1609,14 @@ var useAddWhitelistDestination = (mutationProps) => {
1609
1609
  {
1610
1610
  mutationFn: async ({
1611
1611
  sessionKey,
1612
- destinations
1612
+ destination
1613
1613
  }) => {
1614
1614
  if (!smartAccountClient) {
1615
1615
  throw new Error("No smart account found");
1616
1616
  }
1617
1617
  return await smartAccountClient.addWhitelistDestination({
1618
1618
  sessionKey,
1619
- destinations
1619
+ destination
1620
1620
  });
1621
1621
  },
1622
1622
  ...mutationProps
package/dist/index.d.cts CHANGED
@@ -442,7 +442,7 @@ type RevokeSessionKeyParameters = {
442
442
  };
443
443
  type AddWhitelistDestinationParameters = {
444
444
  sessionKey: Address;
445
- destinations: Address[];
445
+ destination: Address;
446
446
  };
447
447
  type RemoveWhitelistDestinationParameters = {
448
448
  sessionKey: Address;
package/dist/index.d.ts CHANGED
@@ -442,7 +442,7 @@ type RevokeSessionKeyParameters = {
442
442
  };
443
443
  type AddWhitelistDestinationParameters = {
444
444
  sessionKey: Address;
445
- destinations: Address[];
445
+ destination: Address;
446
446
  };
447
447
  type RemoveWhitelistDestinationParameters = {
448
448
  sessionKey: Address;
package/dist/index.js CHANGED
@@ -65,7 +65,7 @@ async function createSmartAccount(config) {
65
65
  rpcUrl
66
66
  });
67
67
  }
68
- const address = await client.account.address;
68
+ const address = client.account.address;
69
69
  return { client, address };
70
70
  }
71
71
 
@@ -1609,14 +1609,14 @@ var useAddWhitelistDestination = (mutationProps) => {
1609
1609
  {
1610
1610
  mutationFn: async ({
1611
1611
  sessionKey,
1612
- destinations
1612
+ destination
1613
1613
  }) => {
1614
1614
  if (!smartAccountClient) {
1615
1615
  throw new Error("No smart account found");
1616
1616
  }
1617
1617
  return await smartAccountClient.addWhitelistDestination({
1618
1618
  sessionKey,
1619
- destinations
1619
+ destination
1620
1620
  });
1621
1621
  },
1622
1622
  ...mutationProps
package/package.json CHANGED
@@ -7,9 +7,9 @@
7
7
  "url": "https://twitter.com/slovaye"
8
8
  }
9
9
  ],
10
- "version": "0.0.6-dev.1",
10
+ "version": "0.0.6",
11
11
  "description": "React hooks Connect 4337",
12
- "repository": "https://github.com/cometh-game/connect-sdk-4337.git",
12
+ "repository": "https://github.com/cometh-hq/connect-sdk-4337.git",
13
13
  "keywords": [
14
14
  "react",
15
15
  "hooks",
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5"
59
59
  },
60
60
  "dependencies": {
61
- "@cometh/connect-sdk-4337": "0.1.6-dev.1",
61
+ "@cometh/connect-sdk-4337": "0.1.7",
62
62
  "permissionless": "0.1.31"
63
63
  }
64
64
  }