From 53536237919ece0cf522bdb9806a4cb32b73c311 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:29:41 +0200 Subject: [PATCH 1/4] typos client.ts --- packages/core-sdk/src/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core-sdk/src/client.ts b/packages/core-sdk/src/client.ts index 8de21cfa..ab25366b 100644 --- a/packages/core-sdk/src/client.ts +++ b/packages/core-sdk/src/client.ts @@ -73,7 +73,7 @@ export class StoryClient { } /** - * Factory method for creating a SDK client with a signer. + * Factory method for creating an SDK client with a signer. * * @param config StoryClient - the configuration for a new SDK client */ @@ -82,7 +82,7 @@ export class StoryClient { } /** - * Factory method for creating a SDK client with a signer. + * Factory method for creating an SDK client with a signer. * * @param config WalletClientConfig - the configuration for a new SDK client */ @@ -95,7 +95,7 @@ export class StoryClient { } /** - * Factory method for creating a SDK client with a signer. + * Factory method for creating an SDK client with a signer. * * @param config UseAccountStoryConfig - the configuration for a new SDK client */ From 52f4d835cd31ec60fc2d4f294badfbf06bb03f60 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:30:36 +0200 Subject: [PATCH 2/4] typos nftClient.ts --- packages/core-sdk/src/resources/nftClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core-sdk/src/resources/nftClient.ts b/packages/core-sdk/src/resources/nftClient.ts index 0cd7646e..07a12c2f 100644 --- a/packages/core-sdk/src/resources/nftClient.ts +++ b/packages/core-sdk/src/resources/nftClient.ts @@ -25,7 +25,7 @@ export class NftClient { /** * Creates a new SPG NFT Collection. - * @param request - The request object containing necessary data to create a SPG NFT Collection. + * @param request - The request object containing necessary data to create an SPG NFT Collection. * @param request.name - The name of the collection. * @param request.symbol - The symbol of the collection. * @param request.isPublicMinting - If true, anyone can mint from the collection. If false, only the addresses with the minter role can mint. @@ -91,7 +91,7 @@ export class NftClient { return { txHash: txHash }; } } catch (error) { - handleError(error, "Failed to create a SPG NFT collection"); + handleError(error, "Failed to create an SPG NFT collection"); } } } From 3bcff270101f7f3626e9d88f24b6bc4de40713ad Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:31:12 +0200 Subject: [PATCH 3/4] typos nftClient.test.ts --- packages/core-sdk/test/unit/resources/nftClient.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core-sdk/test/unit/resources/nftClient.test.ts b/packages/core-sdk/test/unit/resources/nftClient.test.ts index 11350150..fde948d1 100644 --- a/packages/core-sdk/test/unit/resources/nftClient.test.ts +++ b/packages/core-sdk/test/unit/resources/nftClient.test.ts @@ -40,7 +40,7 @@ describe("Test NftClient", () => { }); } catch (e) { expect((e as Error).message).equal( - "Failed to create a SPG NFT collection: Invalid mint fee token address, mint fee is greater than 0.", + "Failed to create an SPG NFT collection: Invalid mint fee token address, mint fee is greater than 0.", ); } }); @@ -59,7 +59,7 @@ describe("Test NftClient", () => { }); } catch (e) { expect((e as Error).message).equal( - "Failed to create a SPG NFT collection: Invalid mint fee token address, mint fee is greater than 0.", + "Failed to create an SPG NFT collection: Invalid mint fee token address, mint fee is greater than 0.", ); } }); From 6cfbd8f793fc4e341d3cb8709cb5d0649bb16c44 Mon Sep 17 00:00:00 2001 From: Dmytrol <46675332+Dimitrolito@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:31:42 +0200 Subject: [PATCH 4/4] typos useNftClient.ts --- packages/react-sdk/src/resources/useNftClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-sdk/src/resources/useNftClient.ts b/packages/react-sdk/src/resources/useNftClient.ts index 67cd4d85..dbb42f3e 100644 --- a/packages/react-sdk/src/resources/useNftClient.ts +++ b/packages/react-sdk/src/resources/useNftClient.ts @@ -18,7 +18,7 @@ const useNftClient = () => { /** * Creates a new SPG NFT Collection. - * @param request - The request object containing necessary data to create a SPG NFT Collection. + * @param request - The request object containing necessary data to create an SPG NFT Collection. * @param request.name - The name of the collection. * @param request.symbol - The symbol of the collection. * @param request.maxSupply - The maximum supply of the collection.