Skip to content

Commit afc716b

Browse files
authored
Fix contract query name formatter (#10)
1 parent 3d48364 commit afc716b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ink-substrate-explorer-api",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Ink Explorer is an application that provides Ink contracts related information on Substrate based blockchains.",
55
"author": "Blockcoders <[email protected]>",
66
"license": "MIT",

src/app.resolver.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('AppResolver', () => {
2424

2525
describe('version', () => {
2626
it('should return the current version', () => {
27-
expect(resolver.version()).toEqual('v1.0.2')
27+
expect(resolver.version()).toEqual('v1.0.3')
2828
})
2929
})
3030
})

src/app.resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ export class AppResolver {
99

1010
@Query(/* istanbul ignore next */ () => String)
1111
version(): string {
12-
return 'v1.0.2'
12+
return 'v1.0.3'
1313
}
1414
}

src/contracts/contracts.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class ContractsService {
6464
method,
6565
docs,
6666
args,
67-
name: (identifier[0].toUpperCase() + identifier.substring(1)).replace('_', ' '),
67+
name: (identifier[0].toUpperCase() + identifier.substring(1)).replaceAll('_', ' '),
6868
})
6969
})
7070
contract.queries = contractQueries

0 commit comments

Comments
 (0)