Skip to content

Commit ecdd187

Browse files
authoredSep 23, 2024
fix: update gnonative API (#179)
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 <d4ryl00@gmail.com>
1 parent 034a1a2 commit ecdd187

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed
 

‎expo/package-lock.json

+8-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎expo/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"license": "MIT",
3030
"homepage": "https://github.com/gnolang/gnonative#readme",
3131
"dependencies": {
32-
"@buf/gnolang_gnonative.bufbuild_es": "^1.10.0-20240722123703-a858ea7341d6.1",
33-
"@buf/gnolang_gnonative.connectrpc_es": "^1.4.0-20240722123703-a858ea7341d6.3",
32+
"@buf/gnolang_gnonative.bufbuild_es": "^1.7.2-20240919093120-8280c8c152be.2",
33+
"@buf/gnolang_gnonative.connectrpc_es": "^1.4.0-20240919093120-8280c8c152be.3",
3434
"@bufbuild/protobuf": "^1.8.0",
3535
"@connectrpc/connect": "^1.4.0",
3636
"@connectrpc/connect-web": "^1.4.0",

0 commit comments

Comments
 (0)