@replit/protocol 0.2.42 → 0.2.43

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
@@ -2082,6 +2082,9 @@ export namespace api {
2082
2082
 
2083
2083
  /** Pid1Config env */
2084
2084
  env?: ({ [k: string]: string }|null);
2085
+
2086
+ /** Pid1Config noStore */
2087
+ noStore?: (boolean|null);
2085
2088
  }
2086
2089
 
2087
2090
  /** Represents a Pid1Config. */
@@ -2102,6 +2105,9 @@ export namespace api {
2102
2105
  /** Pid1Config env. */
2103
2106
  public env: { [k: string]: string };
2104
2107
 
2108
+ /** Pid1Config noStore. */
2109
+ public noStore: boolean;
2110
+
2105
2111
  /**
2106
2112
  * Creates a new Pid1Config instance using the specified properties.
2107
2113
  * @param [properties] Properties to set
@@ -16030,6 +16036,9 @@ export namespace api {
16030
16036
 
16031
16037
  /** GovalSigningAuthority version */
16032
16038
  version?: (api.TokenVersion|null);
16039
+
16040
+ /** GovalSigningAuthority issuer */
16041
+ issuer?: (string|null);
16033
16042
  }
16034
16043
 
16035
16044
  /** Represents a GovalSigningAuthority. */
@@ -16050,6 +16059,9 @@ export namespace api {
16050
16059
  /** GovalSigningAuthority version. */
16051
16060
  public version: api.TokenVersion;
16052
16061
 
16062
+ /** GovalSigningAuthority issuer. */
16063
+ public issuer: string;
16064
+
16053
16065
  /** GovalSigningAuthority cert. */
16054
16066
  public cert?: ("keyId"|"signedCert");
16055
16067
 
package/main/index.js CHANGED
@@ -7804,6 +7804,7 @@
7804
7804
  * @property {string|null} [cwd] Pid1Config cwd
7805
7805
  * @property {string|null} [language] Pid1Config language
7806
7806
  * @property {Object.<string,string>|null} [env] Pid1Config env
7807
+ * @property {boolean|null} [noStore] Pid1Config noStore
7807
7808
  */
7808
7809
 
7809
7810
  /**
@@ -7845,6 +7846,14 @@
7845
7846
  */
7846
7847
  Pid1Config.prototype.env = $util.emptyObject;
7847
7848
 
7849
+ /**
7850
+ * Pid1Config noStore.
7851
+ * @member {boolean} noStore
7852
+ * @memberof api.Pid1Config
7853
+ * @instance
7854
+ */
7855
+ Pid1Config.prototype.noStore = false;
7856
+
7848
7857
  /**
7849
7858
  * Creates a new Pid1Config instance using the specified properties.
7850
7859
  * @function create
@@ -7876,6 +7885,8 @@
7876
7885
  if (message.env != null && Object.hasOwnProperty.call(message, "env"))
7877
7886
  for (var keys = Object.keys(message.env), i = 0; i < keys.length; ++i)
7878
7887
  writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.env[keys[i]]).ldelim();
7888
+ if (message.noStore != null && Object.hasOwnProperty.call(message, "noStore"))
7889
+ writer.uint32(/* id 4, wireType 0 =*/32).bool(message.noStore);
7879
7890
  return writer;
7880
7891
  };
7881
7892
 
@@ -7938,6 +7949,9 @@
7938
7949
  }
7939
7950
  message.env[key] = value;
7940
7951
  break;
7952
+ case 4:
7953
+ message.noStore = reader.bool();
7954
+ break;
7941
7955
  default:
7942
7956
  reader.skipType(tag & 7);
7943
7957
  break;
@@ -7987,6 +8001,9 @@
7987
8001
  if (!$util.isString(message.env[key[i]]))
7988
8002
  return "env: string{k:string} expected";
7989
8003
  }
8004
+ if (message.noStore != null && message.hasOwnProperty("noStore"))
8005
+ if (typeof message.noStore !== "boolean")
8006
+ return "noStore: boolean expected";
7990
8007
  return null;
7991
8008
  };
7992
8009
 
@@ -8013,6 +8030,8 @@
8013
8030
  for (var keys = Object.keys(object.env), i = 0; i < keys.length; ++i)
8014
8031
  message.env[keys[i]] = String(object.env[keys[i]]);
8015
8032
  }
8033
+ if (object.noStore != null)
8034
+ message.noStore = Boolean(object.noStore);
8016
8035
  return message;
8017
8036
  };
8018
8037
 
@@ -8034,6 +8053,7 @@
8034
8053
  if (options.defaults) {
8035
8054
  object.cwd = "";
8036
8055
  object.language = "";
8056
+ object.noStore = false;
8037
8057
  }
8038
8058
  if (message.cwd != null && message.hasOwnProperty("cwd"))
8039
8059
  object.cwd = message.cwd;
@@ -8045,6 +8065,8 @@
8045
8065
  for (var j = 0; j < keys2.length; ++j)
8046
8066
  object.env[keys2[j]] = message.env[keys2[j]];
8047
8067
  }
8068
+ if (message.noStore != null && message.hasOwnProperty("noStore"))
8069
+ object.noStore = message.noStore;
8048
8070
  return object;
8049
8071
  };
8050
8072
 
@@ -39850,6 +39872,7 @@
39850
39872
  * @property {string|null} [keyId] GovalSigningAuthority keyId
39851
39873
  * @property {string|null} [signedCert] GovalSigningAuthority signedCert
39852
39874
  * @property {api.TokenVersion|null} [version] GovalSigningAuthority version
39875
+ * @property {string|null} [issuer] GovalSigningAuthority issuer
39853
39876
  */
39854
39877
 
39855
39878
  /**
@@ -39890,6 +39913,14 @@
39890
39913
  */
39891
39914
  GovalSigningAuthority.prototype.version = 0;
39892
39915
 
39916
+ /**
39917
+ * GovalSigningAuthority issuer.
39918
+ * @member {string} issuer
39919
+ * @memberof api.GovalSigningAuthority
39920
+ * @instance
39921
+ */
39922
+ GovalSigningAuthority.prototype.issuer = "";
39923
+
39893
39924
  // OneOf field names bound to virtual getters and setters
39894
39925
  var $oneOfFields;
39895
39926
 
@@ -39934,6 +39965,8 @@
39934
39965
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.signedCert);
39935
39966
  if (message.version != null && Object.hasOwnProperty.call(message, "version"))
39936
39967
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.version);
39968
+ if (message.issuer != null && Object.hasOwnProperty.call(message, "issuer"))
39969
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.issuer);
39937
39970
  return writer;
39938
39971
  };
39939
39972
 
@@ -39977,6 +40010,9 @@
39977
40010
  case 3:
39978
40011
  message.version = reader.int32();
39979
40012
  break;
40013
+ case 4:
40014
+ message.issuer = reader.string();
40015
+ break;
39980
40016
  default:
39981
40017
  reader.skipType(tag & 7);
39982
40018
  break;
@@ -40033,6 +40069,9 @@
40033
40069
  case 1:
40034
40070
  break;
40035
40071
  }
40072
+ if (message.issuer != null && message.hasOwnProperty("issuer"))
40073
+ if (!$util.isString(message.issuer))
40074
+ return "issuer: string expected";
40036
40075
  return null;
40037
40076
  };
40038
40077
 
@@ -40062,6 +40101,8 @@
40062
40101
  message.version = 1;
40063
40102
  break;
40064
40103
  }
40104
+ if (object.issuer != null)
40105
+ message.issuer = String(object.issuer);
40065
40106
  return message;
40066
40107
  };
40067
40108
 
@@ -40078,8 +40119,10 @@
40078
40119
  if (!options)
40079
40120
  options = {};
40080
40121
  var object = {};
40081
- if (options.defaults)
40122
+ if (options.defaults) {
40082
40123
  object.version = options.enums === String ? "BARE_REPL_TOKEN" : 0;
40124
+ object.issuer = "";
40125
+ }
40083
40126
  if (message.keyId != null && message.hasOwnProperty("keyId")) {
40084
40127
  object.keyId = message.keyId;
40085
40128
  if (options.oneofs)
@@ -40092,6 +40135,8 @@
40092
40135
  }
40093
40136
  if (message.version != null && message.hasOwnProperty("version"))
40094
40137
  object.version = options.enums === String ? $root.api.TokenVersion[message.version] : message.version;
40138
+ if (message.issuer != null && message.hasOwnProperty("issuer"))
40139
+ object.issuer = message.issuer;
40095
40140
  return object;
40096
40141
  };
40097
40142
 
@@ -3574,6 +3574,11 @@ declare type api$IPid1Config = {|
3574
3574
  env?: {|
3575
3575
  [k: string]: string,
3576
3576
  |} | null,
3577
+
3578
+ /**
3579
+ * Pid1Config noStore
3580
+ */
3581
+ noStore?: boolean | null,
3577
3582
  |};
3578
3583
 
3579
3584
  /**
@@ -3603,6 +3608,11 @@ declare class api$Pid1Config {
3603
3608
  [k: string]: string,
3604
3609
  |};
3605
3610
 
3611
+ /**
3612
+ * Pid1Config noStore.
3613
+ */
3614
+ noStore: boolean;
3615
+
3606
3616
  /**
3607
3617
  * Creates a new Pid1Config instance using the specified properties.
3608
3618
  * @param [properties] Properties to set
@@ -22126,6 +22136,11 @@ declare type api$IGovalSigningAuthority = {|
22126
22136
  * GovalSigningAuthority version
22127
22137
  */
22128
22138
  version?: $Values<typeof api$TokenVersion> | null,
22139
+
22140
+ /**
22141
+ * GovalSigningAuthority issuer
22142
+ */
22143
+ issuer?: string | null,
22129
22144
  |};
22130
22145
 
22131
22146
  /**
@@ -22153,6 +22168,11 @@ declare class api$GovalSigningAuthority {
22153
22168
  */
22154
22169
  version: $Values<typeof api$TokenVersion>;
22155
22170
 
22171
+ /**
22172
+ * GovalSigningAuthority issuer.
22173
+ */
22174
+ issuer: string;
22175
+
22156
22176
  /**
22157
22177
  * GovalSigningAuthority cert.
22158
22178
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.42",
3
+ "version": "0.2.43",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",