@replit/protocol 0.3.59 → 0.3.60
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 +4 -4
- package/main/index.js +15 -15
- package/package.json +2 -4
package/main/index.d.ts
CHANGED
|
@@ -13361,8 +13361,8 @@ export namespace replit {
|
|
|
13361
13361
|
/** Exec splitLogs */
|
|
13362
13362
|
splitLogs?: (boolean|null);
|
|
13363
13363
|
|
|
13364
|
-
/** Exec
|
|
13365
|
-
|
|
13364
|
+
/** Exec noUserEnv */
|
|
13365
|
+
noUserEnv?: (boolean|null);
|
|
13366
13366
|
}
|
|
13367
13367
|
|
|
13368
13368
|
/** Represents an Exec. */
|
|
@@ -13392,8 +13392,8 @@ export namespace replit {
|
|
|
13392
13392
|
/** Exec splitLogs. */
|
|
13393
13393
|
public splitLogs: boolean;
|
|
13394
13394
|
|
|
13395
|
-
/** Exec
|
|
13396
|
-
public
|
|
13395
|
+
/** Exec noUserEnv. */
|
|
13396
|
+
public noUserEnv: boolean;
|
|
13397
13397
|
|
|
13398
13398
|
/**
|
|
13399
13399
|
* Creates a new Exec instance using the specified properties.
|
package/main/index.js
CHANGED
|
@@ -34932,7 +34932,7 @@
|
|
|
34932
34932
|
* @property {replit.goval.api.Exec.Lifecycle|null} [lifecycle] Exec lifecycle
|
|
34933
34933
|
* @property {boolean|null} [splitStderr] Exec splitStderr
|
|
34934
34934
|
* @property {boolean|null} [splitLogs] Exec splitLogs
|
|
34935
|
-
* @property {boolean|null} [
|
|
34935
|
+
* @property {boolean|null} [noUserEnv] Exec noUserEnv
|
|
34936
34936
|
*/
|
|
34937
34937
|
|
|
34938
34938
|
/**
|
|
@@ -35000,12 +35000,12 @@
|
|
|
35000
35000
|
Exec.prototype.splitLogs = false;
|
|
35001
35001
|
|
|
35002
35002
|
/**
|
|
35003
|
-
* Exec
|
|
35004
|
-
* @member {boolean}
|
|
35003
|
+
* Exec noUserEnv.
|
|
35004
|
+
* @member {boolean} noUserEnv
|
|
35005
35005
|
* @memberof replit.goval.api.Exec
|
|
35006
35006
|
* @instance
|
|
35007
35007
|
*/
|
|
35008
|
-
Exec.prototype.
|
|
35008
|
+
Exec.prototype.noUserEnv = false;
|
|
35009
35009
|
|
|
35010
35010
|
/**
|
|
35011
35011
|
* Creates a new Exec instance using the specified properties.
|
|
@@ -35045,8 +35045,8 @@
|
|
|
35045
35045
|
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.splitLogs);
|
|
35046
35046
|
if (message.lifecycle != null && Object.hasOwnProperty.call(message, "lifecycle"))
|
|
35047
35047
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.lifecycle);
|
|
35048
|
-
if (message.
|
|
35049
|
-
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.
|
|
35048
|
+
if (message.noUserEnv != null && Object.hasOwnProperty.call(message, "noUserEnv"))
|
|
35049
|
+
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.noUserEnv);
|
|
35050
35050
|
return writer;
|
|
35051
35051
|
};
|
|
35052
35052
|
|
|
@@ -35127,7 +35127,7 @@
|
|
|
35127
35127
|
break;
|
|
35128
35128
|
}
|
|
35129
35129
|
case 7: {
|
|
35130
|
-
message.
|
|
35130
|
+
message.noUserEnv = reader.bool();
|
|
35131
35131
|
break;
|
|
35132
35132
|
}
|
|
35133
35133
|
default:
|
|
@@ -35198,9 +35198,9 @@
|
|
|
35198
35198
|
if (message.splitLogs != null && message.hasOwnProperty("splitLogs"))
|
|
35199
35199
|
if (typeof message.splitLogs !== "boolean")
|
|
35200
35200
|
return "splitLogs: boolean expected";
|
|
35201
|
-
if (message.
|
|
35202
|
-
if (typeof message.
|
|
35203
|
-
return "
|
|
35201
|
+
if (message.noUserEnv != null && message.hasOwnProperty("noUserEnv"))
|
|
35202
|
+
if (typeof message.noUserEnv !== "boolean")
|
|
35203
|
+
return "noUserEnv: boolean expected";
|
|
35204
35204
|
return null;
|
|
35205
35205
|
};
|
|
35206
35206
|
|
|
@@ -35256,8 +35256,8 @@
|
|
|
35256
35256
|
message.splitStderr = Boolean(object.splitStderr);
|
|
35257
35257
|
if (object.splitLogs != null)
|
|
35258
35258
|
message.splitLogs = Boolean(object.splitLogs);
|
|
35259
|
-
if (object.
|
|
35260
|
-
message.
|
|
35259
|
+
if (object.noUserEnv != null)
|
|
35260
|
+
message.noUserEnv = Boolean(object.noUserEnv);
|
|
35261
35261
|
return message;
|
|
35262
35262
|
};
|
|
35263
35263
|
|
|
@@ -35283,7 +35283,7 @@
|
|
|
35283
35283
|
object.splitStderr = false;
|
|
35284
35284
|
object.splitLogs = false;
|
|
35285
35285
|
object.lifecycle = options.enums === String ? "NON_BLOCKING" : 0;
|
|
35286
|
-
object.
|
|
35286
|
+
object.noUserEnv = false;
|
|
35287
35287
|
}
|
|
35288
35288
|
if (message.args && message.args.length) {
|
|
35289
35289
|
object.args = [];
|
|
@@ -35304,8 +35304,8 @@
|
|
|
35304
35304
|
object.splitLogs = message.splitLogs;
|
|
35305
35305
|
if (message.lifecycle != null && message.hasOwnProperty("lifecycle"))
|
|
35306
35306
|
object.lifecycle = options.enums === String ? $root.replit.goval.api.Exec.Lifecycle[message.lifecycle] === undefined ? message.lifecycle : $root.replit.goval.api.Exec.Lifecycle[message.lifecycle] : message.lifecycle;
|
|
35307
|
-
if (message.
|
|
35308
|
-
object.
|
|
35307
|
+
if (message.noUserEnv != null && message.hasOwnProperty("noUserEnv"))
|
|
35308
|
+
object.noUserEnv = message.noUserEnv;
|
|
35309
35309
|
return object;
|
|
35310
35310
|
};
|
|
35311
35311
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@replit/protocol",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.60",
|
|
4
4
|
"description": "JavaScript bindings for the Replit protocol",
|
|
5
5
|
"main": "main/index.js",
|
|
6
|
-
"
|
|
7
|
-
"author": "faris@repl.it",
|
|
8
|
-
"license": "MIT",
|
|
6
|
+
"author": "eng@replit.com",
|
|
9
7
|
"scripts": {
|
|
10
8
|
"prepublishOnly": "npm run build",
|
|
11
9
|
"build": "npm run build:main && npm run build:iotester",
|