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 */ 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"); } } } 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.", ); } }); 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.