Skip to content

Commit

Permalink
fix: update gnonative API (#179)
Browse files Browse the repository at this point in the history
This PR fixes an issue when you want to execute `npm install` in the
`expo` folder, that fails with this error:

```bash
src/api/GnoNativeApi.ts:249:91 - error TS2561: Object literal may only specify known properties, but 'addresses' does not exist in type 'PartialMessage<UpdatePasswordRequest>'. Did you mean to write 'address'?

249     const response = await client.updatePassword(new UpdatePasswordRequest({ newPassword, addresses }));
```

It's because we need to update the `gnonative` API that implements the
new addresses field in the request.

Signed-off-by: D4ryl00 <[email protected]>
  • Loading branch information
D4ryl00 authored Sep 23, 2024
1 parent 034a1a2 commit ecdd187
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
23 changes: 8 additions & 15 deletions expo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"license": "MIT",
"homepage": "https://github.com/gnolang/gnonative#readme",
"dependencies": {
"@buf/gnolang_gnonative.bufbuild_es": "^1.10.0-20240722123703-a858ea7341d6.1",
"@buf/gnolang_gnonative.connectrpc_es": "^1.4.0-20240722123703-a858ea7341d6.3",
"@buf/gnolang_gnonative.bufbuild_es": "^1.7.2-20240919093120-8280c8c152be.2",
"@buf/gnolang_gnonative.connectrpc_es": "^1.4.0-20240919093120-8280c8c152be.3",
"@bufbuild/protobuf": "^1.8.0",
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-web": "^1.4.0",
Expand Down

0 comments on commit ecdd187

Please sign in to comment.