Fix broken grpc services locations

- Our aim here is to change only the local services location (package name), the server location can't be changed due to backward compatibility.
This commit is contained in:
Honza 2023-01-12 11:18:46 +01:00
parent 319497c9a5
commit da85835d98
4 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -49,6 +49,7 @@ captures/
.idea/tasks.xml
.idea/vcs.xml
.idea/workspace.xml
.idea/protoeditor.xml
*.iml
# Keystore files

View File

@ -1,5 +1,6 @@
syntax = "proto3";
package cash.z.wallet.sdk.internal.rpc;
package cash.z.wallet.sdk.rpc;
option java_package = "cash.z.wallet.sdk.internal.rpc";
option go_package = "walletrpc";
option swift_prefix = "";
// Remember that proto3 fields are all optional. A field that is not present will be set to its zero value.

View File

@ -3,7 +3,8 @@
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
syntax = "proto3";
package cash.z.wallet.sdk.internal.rpc;
package cash.z.wallet.sdk.rpc;
option java_package = "cash.z.wallet.sdk.internal.rpc";
option go_package = ".;walletrpc";
option swift_prefix = "";
import "service.proto";

View File

@ -3,7 +3,8 @@
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
syntax = "proto3";
package cash.z.wallet.sdk.internal.rpc;
package cash.z.wallet.sdk.rpc;
option java_package = "cash.z.wallet.sdk.internal.rpc";
option go_package = ".;walletrpc";
option swift_prefix = "";
import "compact_formats.proto";