@towns-labs/react-sdk 2.0.5 → 2.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.
@@ -16,7 +16,7 @@ export declare const useCreateChannel: (spaceId: string, config?: ActionConfig<S
16
16
  * @param name - The name of the channel to create.
17
17
  * @param signer - The signer to use to create the channel.
18
18
  */
19
- createChannel: (channelName: string, signer: import("ethers").Signer, opts?: {
19
+ createChannel: (channelName: string, _signer: import("ethers").Signer, opts?: {
20
20
  topic?: string;
21
21
  } | undefined) => Promise<string>;
22
22
  };
@@ -21,7 +21,7 @@ export declare const useCreateSpace: (config?: ActionConfig<Spaces["createSpace"
21
21
  */
22
22
  createSpace: (params: Partial<Omit<import("@towns-labs/web3").CreateSpaceParams, "spaceName">> & {
23
23
  spaceName: string;
24
- }, signer: import("ethers").Signer) => Promise<{
24
+ }, _signer: import("ethers").Signer) => Promise<{
25
25
  spaceId: string;
26
26
  defaultChannelId: string;
27
27
  }>;
@@ -17,7 +17,7 @@ export declare const useJoinSpace: (config?: ActionConfig<Spaces["joinSpace"]>)
17
17
  * @param signer - The signer to use to join the space.
18
18
  * @param opts - Options for the join action.
19
19
  */
20
- joinSpace: (spaceId: string, signer: import("ethers").Signer, opts?: {
20
+ joinSpace: (spaceId: string, _signer: import("ethers").Signer, _opts?: {
21
21
  skipMintMembership?: boolean;
22
22
  } | undefined) => Promise<void>;
23
23
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@towns-labs/react-sdk",
3
3
  "description": "React Hooks for Towns Protocol SDK",
4
- "version": "2.0.5",
4
+ "version": "2.0.6",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
7
7
  "types": "./dist/types/index.d.ts",
@@ -18,9 +18,9 @@
18
18
  "watch": "bun run build -w"
19
19
  },
20
20
  "dependencies": {
21
- "@towns-labs/proto": "^2.0.5",
22
- "@towns-labs/sdk": "^2.0.5",
23
- "@towns-labs/web3": "^2.0.5",
21
+ "@towns-labs/proto": "^2.0.6",
22
+ "@towns-labs/sdk": "^2.0.6",
23
+ "@towns-labs/web3": "^2.0.6",
24
24
  "ethers": "^5.8.0"
25
25
  },
26
26
  "devDependencies": {