@replit/protocol 0.2.79 → 0.2.81

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Flowtype definitions for index
3
3
  * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.20.0
4
+ * Flowgen v1.14.1
5
5
  * @flow
6
6
  */
7
7
 
package/main/index.d.ts CHANGED
@@ -21272,7 +21272,8 @@ export namespace replit {
21272
21272
  enum Persistence {
21273
21273
  PERSISTENT = 0,
21274
21274
  EPHEMERAL = 1,
21275
- NONE = 2
21275
+ NONE = 2,
21276
+ READ_ONLY = 3
21276
21277
  }
21277
21278
 
21278
21279
  /** Properties of a Metadata. */
package/main/index.js CHANGED
@@ -45553,6 +45553,7 @@
45553
45553
  case 0:
45554
45554
  case 1:
45555
45555
  case 2:
45556
+ case 3:
45556
45557
  break;
45557
45558
  }
45558
45559
  if (message.repl != null && message.hasOwnProperty("repl")) {
@@ -45664,6 +45665,10 @@
45664
45665
  case 2:
45665
45666
  message.persistence = 2;
45666
45667
  break;
45668
+ case "READ_ONLY":
45669
+ case 3:
45670
+ message.persistence = 3;
45671
+ break;
45667
45672
  }
45668
45673
  if (object.repl != null) {
45669
45674
  if (typeof object.repl !== "object")
@@ -52942,12 +52947,14 @@
52942
52947
  * @property {number} PERSISTENT=0 PERSISTENT value
52943
52948
  * @property {number} EPHEMERAL=1 EPHEMERAL value
52944
52949
  * @property {number} NONE=2 NONE value
52950
+ * @property {number} READ_ONLY=3 READ_ONLY value
52945
52951
  */
52946
52952
  repl.Persistence = (function() {
52947
52953
  var valuesById = {}, values = Object.create(valuesById);
52948
52954
  values[valuesById[0] = "PERSISTENT"] = 0;
52949
52955
  values[valuesById[1] = "EPHEMERAL"] = 1;
52950
52956
  values[valuesById[2] = "NONE"] = 2;
52957
+ values[valuesById[3] = "READ_ONLY"] = 3;
52951
52958
  return values;
52952
52959
  })();
52953
52960
 
@@ -53175,6 +53182,7 @@
53175
53182
  case 0:
53176
53183
  case 1:
53177
53184
  case 2:
53185
+ case 3:
53178
53186
  break;
53179
53187
  }
53180
53188
  if (message.flags != null && message.hasOwnProperty("flags")) {
@@ -53236,6 +53244,10 @@
53236
53244
  case 2:
53237
53245
  message.persistence = 2;
53238
53246
  break;
53247
+ case "READ_ONLY":
53248
+ case 3:
53249
+ message.persistence = 3;
53250
+ break;
53239
53251
  }
53240
53252
  if (object.flags) {
53241
53253
  if (!Array.isArray(object.flags))
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Flowtype definitions for index
3
3
  * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.20.0
4
+ * Flowgen v1.14.1
5
5
  * @flow
6
6
  */
7
7
 
@@ -30256,6 +30256,7 @@ declare var replit$goval$api$repl$Persistence: {|
30256
30256
  +PERSISTENT: 0, // 0
30257
30257
  +EPHEMERAL: 1, // 1
30258
30258
  +NONE: 2, // 2
30259
+ +READ_ONLY: 3, // 3
30259
30260
  |};
30260
30261
 
30261
30262
  /**
@@ -31133,5 +31134,4 @@ declare class google$protobuf$FieldMask {
31133
31134
  [k: string]: any,
31134
31135
  |};
31135
31136
  }
31136
- declare var api: typeof replit$goval$api;
31137
31137
  export var api = npm$namespace$replit$goval$api;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.79",
3
+ "version": "0.2.81",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",
@@ -16,6 +16,6 @@
16
16
  "protobufjs": "^6.11.3"
17
17
  },
18
18
  "devDependencies": {
19
- "flowgen": "^1.13.0"
19
+ "flowgen": "~1.14.0"
20
20
  }
21
21
  }