Skip to content

Commit 3772960

Browse files
authored
Bug Fix: Schema Runtime API typo (#2164)
# Goal The goal of this PR is to fix a typo in API Augment Closes #2054 # Discussion - Just a typo in API Augment in the Runtime API interface - Updated js dependencies as well # Testing Not simple, but if you want to you have to: - Pull branch - Build api-augment: `make js` - Pull the polkadotjs/apps - Manually install frequency api-augment build and run - Test that you can now call get_by_schema_id from the Runtime API interface
1 parent f29d8f4 commit 3772960

File tree

11 files changed

+1298
-1509
lines changed

11 files changed

+1298
-1509
lines changed

e2e/package-lock.json

Lines changed: 200 additions & 155 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
"@frequency-chain/api-augment": "file:../js/api-augment/dist/frequency-chain-api-augment-0.0.0.tgz",
2222
"@helia/unixfs": "^3.0.7",
2323
"@noble/curves": "^1.6.0",
24-
"@polkadot-api/merkleize-metadata": "^1.1.2",
25-
"@polkadot/api": "13.1.1",
26-
"@polkadot/types": "13.1.1",
24+
"@polkadot-api/merkleize-metadata": "^1.1.3",
25+
"@polkadot/api": "13.2.1",
26+
"@polkadot/types": "13.2.1",
2727
"@polkadot/util": "13.1.1",
2828
"helia": "^4.2.6",
2929
"multiformats": "^13.3.0",
3030
"rxjs": "^7.8.1",
3131
"workerpool": "^9.1.3"
3232
},
3333
"devDependencies": {
34-
"@eslint/js": "^9.10.0",
34+
"@eslint/js": "^9.11.1",
3535
"@types/mocha": "^10.0.8",
3636
"@types/workerpool": "^6.4.7",
37-
"eslint": "^9.10.0",
37+
"eslint": "^9.11.1",
3838
"eslint-plugin-mocha": "^10.5.0",
3939
"globals": "^15.9.0",
4040
"mocha": "^10.7.3",
@@ -43,6 +43,6 @@
4343
"sinon": "^19.0.2",
4444
"tsx": "^4.19.1",
4545
"typescript": "^5.6.2",
46-
"typescript-eslint": "^8.6.0"
46+
"typescript-eslint": "^8.7.0"
4747
}
4848
}

js/api-augment/definitions/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
SchemasRuntimeApi: [
6767
{
6868
methods: {
69-
get_schema_by_id: {
69+
get_by_schema_id: {
7070
description: 'Fetch the schema by id',
7171
params: [
7272
{

0 commit comments

Comments
 (0)