@replit/protocol 0.3.49 → 0.3.50

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 CHANGED
@@ -2333,6 +2333,9 @@ export namespace replit {
2333
2333
 
2334
2334
  /** NixPackageSearchRequest query */
2335
2335
  query?: (string|null);
2336
+
2337
+ /** NixPackageSearchRequest filterBuilt */
2338
+ filterBuilt?: (boolean|null);
2336
2339
  }
2337
2340
 
2338
2341
  /** Represents a NixPackageSearchRequest. */
@@ -2347,6 +2350,12 @@ export namespace replit {
2347
2350
  /** NixPackageSearchRequest query. */
2348
2351
  public query: string;
2349
2352
 
2353
+ /** NixPackageSearchRequest filterBuilt. */
2354
+ public filterBuilt?: (boolean|null);
2355
+
2356
+ /** NixPackageSearchRequest _filterBuilt. */
2357
+ public _filterBuilt?: "filterBuilt";
2358
+
2350
2359
  /**
2351
2360
  * Creates a new NixPackageSearchRequest instance using the specified properties.
2352
2361
  * @param [properties] Properties to set
package/main/index.js CHANGED
@@ -9232,6 +9232,7 @@
9232
9232
  * @memberof replit.goval.api
9233
9233
  * @interface INixPackageSearchRequest
9234
9234
  * @property {string|null} [query] NixPackageSearchRequest query
9235
+ * @property {boolean|null} [filterBuilt] NixPackageSearchRequest filterBuilt
9235
9236
  */
9236
9237
 
9237
9238
  /**
@@ -9256,6 +9257,28 @@
9256
9257
  */
9257
9258
  NixPackageSearchRequest.prototype.query = "";
9258
9259
 
9260
+ /**
9261
+ * NixPackageSearchRequest filterBuilt.
9262
+ * @member {boolean|null|undefined} filterBuilt
9263
+ * @memberof replit.goval.api.NixPackageSearchRequest
9264
+ * @instance
9265
+ */
9266
+ NixPackageSearchRequest.prototype.filterBuilt = null;
9267
+
9268
+ // OneOf field names bound to virtual getters and setters
9269
+ var $oneOfFields;
9270
+
9271
+ /**
9272
+ * NixPackageSearchRequest _filterBuilt.
9273
+ * @member {"filterBuilt"|undefined} _filterBuilt
9274
+ * @memberof replit.goval.api.NixPackageSearchRequest
9275
+ * @instance
9276
+ */
9277
+ Object.defineProperty(NixPackageSearchRequest.prototype, "_filterBuilt", {
9278
+ get: $util.oneOfGetter($oneOfFields = ["filterBuilt"]),
9279
+ set: $util.oneOfSetter($oneOfFields)
9280
+ });
9281
+
9259
9282
  /**
9260
9283
  * Creates a new NixPackageSearchRequest instance using the specified properties.
9261
9284
  * @function create
@@ -9282,6 +9305,8 @@
9282
9305
  writer = $Writer.create();
9283
9306
  if (message.query != null && Object.hasOwnProperty.call(message, "query"))
9284
9307
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.query);
9308
+ if (message.filterBuilt != null && Object.hasOwnProperty.call(message, "filterBuilt"))
9309
+ writer.uint32(/* id 2, wireType 0 =*/16).bool(message.filterBuilt);
9285
9310
  return writer;
9286
9311
  };
9287
9312
 
@@ -9320,6 +9345,10 @@
9320
9345
  message.query = reader.string();
9321
9346
  break;
9322
9347
  }
9348
+ case 2: {
9349
+ message.filterBuilt = reader.bool();
9350
+ break;
9351
+ }
9323
9352
  default:
9324
9353
  reader.skipType(tag & 7);
9325
9354
  break;
@@ -9355,9 +9384,15 @@
9355
9384
  NixPackageSearchRequest.verify = function verify(message) {
9356
9385
  if (typeof message !== "object" || message === null)
9357
9386
  return "object expected";
9387
+ var properties = {};
9358
9388
  if (message.query != null && message.hasOwnProperty("query"))
9359
9389
  if (!$util.isString(message.query))
9360
9390
  return "query: string expected";
9391
+ if (message.filterBuilt != null && message.hasOwnProperty("filterBuilt")) {
9392
+ properties._filterBuilt = 1;
9393
+ if (typeof message.filterBuilt !== "boolean")
9394
+ return "filterBuilt: boolean expected";
9395
+ }
9361
9396
  return null;
9362
9397
  };
9363
9398
 
@@ -9375,6 +9410,8 @@
9375
9410
  var message = new $root.replit.goval.api.NixPackageSearchRequest();
9376
9411
  if (object.query != null)
9377
9412
  message.query = String(object.query);
9413
+ if (object.filterBuilt != null)
9414
+ message.filterBuilt = Boolean(object.filterBuilt);
9378
9415
  return message;
9379
9416
  };
9380
9417
 
@@ -9395,6 +9432,11 @@
9395
9432
  object.query = "";
9396
9433
  if (message.query != null && message.hasOwnProperty("query"))
9397
9434
  object.query = message.query;
9435
+ if (message.filterBuilt != null && message.hasOwnProperty("filterBuilt")) {
9436
+ object.filterBuilt = message.filterBuilt;
9437
+ if (options.oneofs)
9438
+ object._filterBuilt = "filterBuilt";
9439
+ }
9398
9440
  return object;
9399
9441
  };
9400
9442
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.49",
3
+ "version": "0.3.50",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",
package/#README.md# DELETED
@@ -1,28 +0,0 @@
1
- # Developing
2
- * Change goval/api/types.proto
3
- * In this directory:
4
- * `npm run build`
5
- * Change repl-it-web/package.json:
6
- ```
7
- "@replit/protocol": "^0.3.39",
8
- ```
9
- to
10
- ```
11
- "@replit/protocol": "link:../goval/api/npm",
12
- ```
13
-
14
- # Publishing
15
-
16
- After your `.proto` changes are merged:
17
- - create a new branch
18
- - cd into `api/npm`
19
- - `npm --no-git-tag-version version <new-version>`
20
- - submit a pull request
21
- - merged
22
- - pull latest `main`
23
- - cd into `api/npm`
24
- - `npm login` if you're not authed (will need to be in our npm org)
25
- - `npm publish`
26
- - it will run a build
27
- - you be asked for 2fa
28
- - package will be published