diff --git a/package-lock.json b/package-lock.json index 478489d..ddca8fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "subtopia-js", - "version": "3.0.0-beta.8", + "version": "3.0.0-beta.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "subtopia-js", - "version": "3.0.0-beta.8", + "version": "3.0.0-beta.13", "license": "SEE LICENSE IN LICENSE.md", "devDependencies": { "@feki.de/semantic-release-yarn": "1.0.1", diff --git a/src/clients/SubtopiaRegistryClient.ts b/src/clients/SubtopiaRegistryClient.ts index 88692b9..1027384 100644 --- a/src/clients/SubtopiaRegistryClient.ts +++ b/src/clients/SubtopiaRegistryClient.ts @@ -169,9 +169,8 @@ export class SubtopiaRegistryClient { ); } - public async getProductCreationPlatformFee( - priceInCents: number - ): Promise { + public async getProductCreationPlatformFee(): Promise { + const priceInCents = PRODUCT_CREATION_PLATFORM_FEE_CENTS; const computePlatformFeeAtc = new AtomicTransactionComposer(); computePlatformFeeAtc.addMethodCall({ appID: this.oracleID, @@ -475,9 +474,7 @@ export class SubtopiaRegistryClient { oracleAdminState.valueRaw ); const feeAmount = await this.getProductCreationFee(coinID); - const platformFeeAmount = await this.getProductCreationPlatformFee( - PRODUCT_CREATION_PLATFORM_FEE_CENTS - ); + const platformFeeAmount = await this.getProductCreationPlatformFee(); const createInfraAtc = new AtomicTransactionComposer(); createInfraAtc.addMethodCall({