@lansweeper/install-api-grpc 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/install.proto","package":"lansweeper.install.v1","messageType":[{"name":"SetPublicKeyRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"public_key","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"publicKey"},{"name":"
|
|
1
|
+
{"file":[{"name":"proto/install.proto","package":"lansweeper.install.v1","messageType":[{"name":"SetPublicKeyRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"public_key","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"publicKey"},{"name":"signed_identity","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"signedIdentity"}]},{"name":"SetPublicKeyResponse"}],"service":[{"name":"InstallService","method":[{"name":"SetPublicKey","inputType":".lansweeper.install.v1.SetPublicKeyRequest","outputType":".lansweeper.install.v1.SetPublicKeyResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,16,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,30]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,27]},{"path":[4,0,2,0],"span":[5,2,21]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,16]},{"path":[4,0,2,0,3],"span":[5,19,20]},{"path":[4,0,2,1],"span":[6,2,25]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,20]},{"path":[4,0,2,1,3],"span":[6,23,24]},{"path":[4,0,2,2],"span":[7,2,24]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,19]},{"path":[4,0,2,2,3],"span":[7,22,23]},{"path":[4,0,2,3],"span":[8,2,29]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,24]},{"path":[4,0,2,3,3],"span":[8,27,28]},{"path":[4,1],"span":[11,0,12,1]},{"path":[4,1,1],"span":[11,8,28]},{"path":[6,0],"span":[14,0,16,1]},{"path":[6,0,1],"span":[14,8,22]},{"path":[6,0,2,0],"span":[15,2,73]},{"path":[6,0,2,0,1],"span":[15,6,18]},{"path":[6,0,2,0,2],"span":[15,19,38]},{"path":[6,0,2,0,3],"span":[15,49,69]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -13,8 +13,8 @@ export class SetPublicKeyRequest extends jspb.Message {
|
|
|
13
13
|
setInstallKey(value: string): SetPublicKeyRequest;
|
|
14
14
|
getPublicKey(): string;
|
|
15
15
|
setPublicKey(value: string): SetPublicKeyRequest;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
getSignedIdentity(): string;
|
|
17
|
+
setSignedIdentity(value: string): SetPublicKeyRequest;
|
|
18
18
|
|
|
19
19
|
serializeBinary(): Uint8Array;
|
|
20
20
|
toObject(includeInstance?: boolean): SetPublicKeyRequest.AsObject;
|
|
@@ -31,7 +31,7 @@ export namespace SetPublicKeyRequest {
|
|
|
31
31
|
siteId: string,
|
|
32
32
|
installKey: string,
|
|
33
33
|
publicKey: string,
|
|
34
|
-
|
|
34
|
+
signedIdentity: string,
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
package/gen-proto/install_pb.js
CHANGED
|
@@ -100,7 +100,7 @@ proto.lansweeper.install.v1.SetPublicKeyRequest.toObject = function(includeInsta
|
|
|
100
100
|
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
101
101
|
installKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
102
102
|
publicKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
103
|
-
|
|
103
|
+
signedIdentity: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
if (includeInstance) {
|
|
@@ -151,7 +151,7 @@ proto.lansweeper.install.v1.SetPublicKeyRequest.deserializeBinaryFromReader = fu
|
|
|
151
151
|
break;
|
|
152
152
|
case 4:
|
|
153
153
|
var value = /** @type {string} */ (reader.readString());
|
|
154
|
-
msg.
|
|
154
|
+
msg.setSignedIdentity(value);
|
|
155
155
|
break;
|
|
156
156
|
default:
|
|
157
157
|
reader.skipField();
|
|
@@ -203,7 +203,7 @@ proto.lansweeper.install.v1.SetPublicKeyRequest.serializeBinaryToWriter = functi
|
|
|
203
203
|
f
|
|
204
204
|
);
|
|
205
205
|
}
|
|
206
|
-
f = message.
|
|
206
|
+
f = message.getSignedIdentity();
|
|
207
207
|
if (f.length > 0) {
|
|
208
208
|
writer.writeString(
|
|
209
209
|
4,
|
|
@@ -268,10 +268,10 @@ proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.setPublicKey = functio
|
|
|
268
268
|
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
* optional string
|
|
271
|
+
* optional string signed_identity = 4;
|
|
272
272
|
* @return {string}
|
|
273
273
|
*/
|
|
274
|
-
proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.
|
|
274
|
+
proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.getSignedIdentity = function() {
|
|
275
275
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
276
276
|
};
|
|
277
277
|
|
|
@@ -280,7 +280,7 @@ proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.getSignedIdentifier =
|
|
|
280
280
|
* @param {string} value
|
|
281
281
|
* @return {!proto.lansweeper.install.v1.SetPublicKeyRequest} returns this
|
|
282
282
|
*/
|
|
283
|
-
proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.
|
|
283
|
+
proto.lansweeper.install.v1.SetPublicKeyRequest.prototype.setSignedIdentity = function(value) {
|
|
284
284
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
285
285
|
};
|
|
286
286
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/install-api-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "install api grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/google-protobuf": "^3.15.5"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "ac08241eebb4a8d60fc677f74c2efafc7e8f8025"
|
|
20
20
|
}
|