@replit/protocol 0.3.11 → 0.3.12

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
@@ -19388,11 +19388,11 @@ export namespace replit {
19388
19388
  /** NixModule resolutionPath */
19389
19389
  resolutionPath?: (string[]|null);
19390
19390
 
19391
- /** NixModule registryId */
19392
- registryId?: (string|null);
19391
+ /** NixModule resolvedId */
19392
+ resolvedId?: (string|null);
19393
19393
 
19394
- /** NixModule originalRegistryId */
19395
- originalRegistryId?: (string|null);
19394
+ /** NixModule referencedId */
19395
+ referencedId?: (string|null);
19396
19396
  }
19397
19397
 
19398
19398
  /** Represents a NixModule. */
@@ -19434,11 +19434,11 @@ export namespace replit {
19434
19434
  /** NixModule resolutionPath. */
19435
19435
  public resolutionPath: string[];
19436
19436
 
19437
- /** NixModule registryId. */
19438
- public registryId: string;
19437
+ /** NixModule resolvedId. */
19438
+ public resolvedId: string;
19439
19439
 
19440
- /** NixModule originalRegistryId. */
19441
- public originalRegistryId: string;
19440
+ /** NixModule referencedId. */
19441
+ public referencedId: string;
19442
19442
 
19443
19443
  /**
19444
19444
  * Creates a new NixModule instance using the specified properties.
package/main/index.js CHANGED
@@ -48260,8 +48260,8 @@
48260
48260
  * @property {Array.<replit.goval.api.LanguageServerOption|replit.goval.api.ILanguageServerOption>|null} [languageServers] NixModule languageServers
48261
48261
  * @property {string|null} [buildType] NixModule buildType
48262
48262
  * @property {Array.<string>|null} [resolutionPath] NixModule resolutionPath
48263
- * @property {string|null} [registryId] NixModule registryId
48264
- * @property {string|null} [originalRegistryId] NixModule originalRegistryId
48263
+ * @property {string|null} [resolvedId] NixModule resolvedId
48264
+ * @property {string|null} [referencedId] NixModule referencedId
48265
48265
  */
48266
48266
 
48267
48267
  /**
@@ -48364,20 +48364,20 @@
48364
48364
  NixModule.prototype.resolutionPath = $util.emptyArray;
48365
48365
 
48366
48366
  /**
48367
- * NixModule registryId.
48368
- * @member {string} registryId
48367
+ * NixModule resolvedId.
48368
+ * @member {string} resolvedId
48369
48369
  * @memberof replit.goval.api.NixModule
48370
48370
  * @instance
48371
48371
  */
48372
- NixModule.prototype.registryId = "";
48372
+ NixModule.prototype.resolvedId = "";
48373
48373
 
48374
48374
  /**
48375
- * NixModule originalRegistryId.
48376
- * @member {string} originalRegistryId
48375
+ * NixModule referencedId.
48376
+ * @member {string} referencedId
48377
48377
  * @memberof replit.goval.api.NixModule
48378
48378
  * @instance
48379
48379
  */
48380
- NixModule.prototype.originalRegistryId = "";
48380
+ NixModule.prototype.referencedId = "";
48381
48381
 
48382
48382
  /**
48383
48383
  * Creates a new NixModule instance using the specified properties.
@@ -48428,10 +48428,10 @@
48428
48428
  if (message.resolutionPath != null && message.resolutionPath.length)
48429
48429
  for (var i = 0; i < message.resolutionPath.length; ++i)
48430
48430
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.resolutionPath[i]);
48431
- if (message.registryId != null && Object.hasOwnProperty.call(message, "registryId"))
48432
- writer.uint32(/* id 11, wireType 2 =*/90).string(message.registryId);
48433
- if (message.originalRegistryId != null && Object.hasOwnProperty.call(message, "originalRegistryId"))
48434
- writer.uint32(/* id 12, wireType 2 =*/98).string(message.originalRegistryId);
48431
+ if (message.resolvedId != null && Object.hasOwnProperty.call(message, "resolvedId"))
48432
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.resolvedId);
48433
+ if (message.referencedId != null && Object.hasOwnProperty.call(message, "referencedId"))
48434
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.referencedId);
48435
48435
  return writer;
48436
48436
  };
48437
48437
 
@@ -48507,10 +48507,10 @@
48507
48507
  message.resolutionPath.push(reader.string());
48508
48508
  break;
48509
48509
  case 11:
48510
- message.registryId = reader.string();
48510
+ message.resolvedId = reader.string();
48511
48511
  break;
48512
48512
  case 12:
48513
- message.originalRegistryId = reader.string();
48513
+ message.referencedId = reader.string();
48514
48514
  break;
48515
48515
  default:
48516
48516
  reader.skipType(tag & 7);
@@ -48605,12 +48605,12 @@
48605
48605
  if (!$util.isString(message.resolutionPath[i]))
48606
48606
  return "resolutionPath: string[] expected";
48607
48607
  }
48608
- if (message.registryId != null && message.hasOwnProperty("registryId"))
48609
- if (!$util.isString(message.registryId))
48610
- return "registryId: string expected";
48611
- if (message.originalRegistryId != null && message.hasOwnProperty("originalRegistryId"))
48612
- if (!$util.isString(message.originalRegistryId))
48613
- return "originalRegistryId: string expected";
48608
+ if (message.resolvedId != null && message.hasOwnProperty("resolvedId"))
48609
+ if (!$util.isString(message.resolvedId))
48610
+ return "resolvedId: string expected";
48611
+ if (message.referencedId != null && message.hasOwnProperty("referencedId"))
48612
+ if (!$util.isString(message.referencedId))
48613
+ return "referencedId: string expected";
48614
48614
  return null;
48615
48615
  };
48616
48616
 
@@ -48683,10 +48683,10 @@
48683
48683
  for (var i = 0; i < object.resolutionPath.length; ++i)
48684
48684
  message.resolutionPath[i] = String(object.resolutionPath[i]);
48685
48685
  }
48686
- if (object.registryId != null)
48687
- message.registryId = String(object.registryId);
48688
- if (object.originalRegistryId != null)
48689
- message.originalRegistryId = String(object.originalRegistryId);
48686
+ if (object.resolvedId != null)
48687
+ message.resolvedId = String(object.resolvedId);
48688
+ if (object.referencedId != null)
48689
+ message.referencedId = String(object.referencedId);
48690
48690
  return message;
48691
48691
  };
48692
48692
 
@@ -48716,8 +48716,8 @@
48716
48716
  object.name = "";
48717
48717
  object.description = "";
48718
48718
  object.buildType = "";
48719
- object.registryId = "";
48720
- object.originalRegistryId = "";
48719
+ object.resolvedId = "";
48720
+ object.referencedId = "";
48721
48721
  }
48722
48722
  if (message.id != null && message.hasOwnProperty("id"))
48723
48723
  object.id = message.id;
@@ -48754,10 +48754,10 @@
48754
48754
  for (var j = 0; j < message.resolutionPath.length; ++j)
48755
48755
  object.resolutionPath[j] = message.resolutionPath[j];
48756
48756
  }
48757
- if (message.registryId != null && message.hasOwnProperty("registryId"))
48758
- object.registryId = message.registryId;
48759
- if (message.originalRegistryId != null && message.hasOwnProperty("originalRegistryId"))
48760
- object.originalRegistryId = message.originalRegistryId;
48757
+ if (message.resolvedId != null && message.hasOwnProperty("resolvedId"))
48758
+ object.resolvedId = message.resolvedId;
48759
+ if (message.referencedId != null && message.hasOwnProperty("referencedId"))
48760
+ object.referencedId = message.referencedId;
48761
48761
  return object;
48762
48762
  };
48763
48763
 
@@ -27715,14 +27715,14 @@ declare type replit$goval$api$INixModule = {|
27715
27715
  resolutionPath?: string[] | null,
27716
27716
 
27717
27717
  /**
27718
- * NixModule registryId
27718
+ * NixModule resolvedId
27719
27719
  */
27720
- registryId?: string | null,
27720
+ resolvedId?: string | null,
27721
27721
 
27722
27722
  /**
27723
- * NixModule originalRegistryId
27723
+ * NixModule referencedId
27724
27724
  */
27725
- originalRegistryId?: string | null,
27725
+ referencedId?: string | null,
27726
27726
  |};
27727
27727
 
27728
27728
  /**
@@ -27786,14 +27786,14 @@ declare class replit$goval$api$NixModule {
27786
27786
  resolutionPath: string[];
27787
27787
 
27788
27788
  /**
27789
- * NixModule registryId.
27789
+ * NixModule resolvedId.
27790
27790
  */
27791
- registryId: string;
27791
+ resolvedId: string;
27792
27792
 
27793
27793
  /**
27794
- * NixModule originalRegistryId.
27794
+ * NixModule referencedId.
27795
27795
  */
27796
- originalRegistryId: string;
27796
+ referencedId: string;
27797
27797
 
27798
27798
  /**
27799
27799
  * Creates a new NixModule instance using the specified properties.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.11",
3
+ "version": "0.3.12",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",