@replit/protocol 0.3.55 → 0.3.56
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/main/index.d.ts +6 -0
- package/main/index.js +23 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -23978,6 +23978,9 @@ export namespace replit {
|
|
|
23978
23978
|
|
|
23979
23979
|
/** ReplspaceApiSSHTokenGetResponse token */
|
|
23980
23980
|
token?: (string|null);
|
|
23981
|
+
|
|
23982
|
+
/** ReplspaceApiSSHTokenGetResponse sshHostname */
|
|
23983
|
+
sshHostname?: (string|null);
|
|
23981
23984
|
}
|
|
23982
23985
|
|
|
23983
23986
|
/** Represents a ReplspaceApiSSHTokenGetResponse. */
|
|
@@ -23995,6 +23998,9 @@ export namespace replit {
|
|
|
23995
23998
|
/** ReplspaceApiSSHTokenGetResponse token. */
|
|
23996
23999
|
public token: string;
|
|
23997
24000
|
|
|
24001
|
+
/** ReplspaceApiSSHTokenGetResponse sshHostname. */
|
|
24002
|
+
public sshHostname: string;
|
|
24003
|
+
|
|
23998
24004
|
/**
|
|
23999
24005
|
* Creates a new ReplspaceApiSSHTokenGetResponse instance using the specified properties.
|
|
24000
24006
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -60782,6 +60782,7 @@
|
|
|
60782
60782
|
* @interface IReplspaceApiSSHTokenGetResponse
|
|
60783
60783
|
* @property {string|null} [nonce] ReplspaceApiSSHTokenGetResponse nonce
|
|
60784
60784
|
* @property {string|null} [token] ReplspaceApiSSHTokenGetResponse token
|
|
60785
|
+
* @property {string|null} [sshHostname] ReplspaceApiSSHTokenGetResponse sshHostname
|
|
60785
60786
|
*/
|
|
60786
60787
|
|
|
60787
60788
|
/**
|
|
@@ -60814,6 +60815,14 @@
|
|
|
60814
60815
|
*/
|
|
60815
60816
|
ReplspaceApiSSHTokenGetResponse.prototype.token = "";
|
|
60816
60817
|
|
|
60818
|
+
/**
|
|
60819
|
+
* ReplspaceApiSSHTokenGetResponse sshHostname.
|
|
60820
|
+
* @member {string} sshHostname
|
|
60821
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60822
|
+
* @instance
|
|
60823
|
+
*/
|
|
60824
|
+
ReplspaceApiSSHTokenGetResponse.prototype.sshHostname = "";
|
|
60825
|
+
|
|
60817
60826
|
/**
|
|
60818
60827
|
* Creates a new ReplspaceApiSSHTokenGetResponse instance using the specified properties.
|
|
60819
60828
|
* @function create
|
|
@@ -60842,6 +60851,8 @@
|
|
|
60842
60851
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
60843
60852
|
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
60844
60853
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
60854
|
+
if (message.sshHostname != null && Object.hasOwnProperty.call(message, "sshHostname"))
|
|
60855
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.sshHostname);
|
|
60845
60856
|
return writer;
|
|
60846
60857
|
};
|
|
60847
60858
|
|
|
@@ -60884,6 +60895,10 @@
|
|
|
60884
60895
|
message.token = reader.string();
|
|
60885
60896
|
break;
|
|
60886
60897
|
}
|
|
60898
|
+
case 3: {
|
|
60899
|
+
message.sshHostname = reader.string();
|
|
60900
|
+
break;
|
|
60901
|
+
}
|
|
60887
60902
|
default:
|
|
60888
60903
|
reader.skipType(tag & 7);
|
|
60889
60904
|
break;
|
|
@@ -60925,6 +60940,9 @@
|
|
|
60925
60940
|
if (message.token != null && message.hasOwnProperty("token"))
|
|
60926
60941
|
if (!$util.isString(message.token))
|
|
60927
60942
|
return "token: string expected";
|
|
60943
|
+
if (message.sshHostname != null && message.hasOwnProperty("sshHostname"))
|
|
60944
|
+
if (!$util.isString(message.sshHostname))
|
|
60945
|
+
return "sshHostname: string expected";
|
|
60928
60946
|
return null;
|
|
60929
60947
|
};
|
|
60930
60948
|
|
|
@@ -60944,6 +60962,8 @@
|
|
|
60944
60962
|
message.nonce = String(object.nonce);
|
|
60945
60963
|
if (object.token != null)
|
|
60946
60964
|
message.token = String(object.token);
|
|
60965
|
+
if (object.sshHostname != null)
|
|
60966
|
+
message.sshHostname = String(object.sshHostname);
|
|
60947
60967
|
return message;
|
|
60948
60968
|
};
|
|
60949
60969
|
|
|
@@ -60963,11 +60983,14 @@
|
|
|
60963
60983
|
if (options.defaults) {
|
|
60964
60984
|
object.nonce = "";
|
|
60965
60985
|
object.token = "";
|
|
60986
|
+
object.sshHostname = "";
|
|
60966
60987
|
}
|
|
60967
60988
|
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60968
60989
|
object.nonce = message.nonce;
|
|
60969
60990
|
if (message.token != null && message.hasOwnProperty("token"))
|
|
60970
60991
|
object.token = message.token;
|
|
60992
|
+
if (message.sshHostname != null && message.hasOwnProperty("sshHostname"))
|
|
60993
|
+
object.sshHostname = message.sshHostname;
|
|
60971
60994
|
return object;
|
|
60972
60995
|
};
|
|
60973
60996
|
|