diff --git a/scripts/generateTxTags.js b/scripts/generateTxTags.js index 36fc2fd118..b47c96484d 100644 --- a/scripts/generateTxTags.js +++ b/scripts/generateTxTags.js @@ -28,7 +28,7 @@ websocket.onmessage = message => { const moduleNameCamelCase = stringCamelCase(moduleName); const moduleNamePascal = stringUpperFirst(moduleNameCamelCase); txTag = txTag.concat(`\n | ${moduleNamePascal}Tx`); - txTags = txTags.concat(` ${stringLowerFirst(moduleName)}: ${moduleNamePascal}Tx,\n`); + txTags = txTags.concat(` ${stringCamelCase(moduleName)}: ${moduleNamePascal}Tx,\n`); namespaces = namespaces.concat(`export enum ${moduleNamePascal}Tx {\n`); allCalls.forEach(({ name: callName }) => { diff --git a/src/polkadot/augment-api-query.ts b/src/polkadot/augment-api-query.ts index dff3790ccf..3069ecb417 100644 --- a/src/polkadot/augment-api-query.ts +++ b/src/polkadot/augment-api-query.ts @@ -662,7 +662,7 @@ declare module '@polkadot/api/types/storage' { ) => Observable >; }; - generalTM: { + generalTm: { /** * List of active rules for a ticker (Ticker -> Array of AssetTransferRules) **/ diff --git a/src/polkadot/types.ts b/src/polkadot/types.ts index dee994343f..b084377442 100644 --- a/src/polkadot/types.ts +++ b/src/polkadot/types.ts @@ -384,7 +384,7 @@ export const TxTags = { bridge: BridgeTx, dividend: DividendTx, identity: IdentityTx, - generalTM: GeneralTmTx, + generalTm: GeneralTmTx, voting: VotingTx, stoCapped: StoCappedTx, percentageTM: PercentageTmTx,