@stinkycomputing/sesame-api-client 1.4.1-beta.8 → 1.4.1-beta.9
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/dist/index.browser.mjs +14 -10
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +14 -10
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +14 -10
- package/dist/index.mjs.map +2 -2
- package/dist/proto/api.d.ts +2 -2
- package/dist/proto/api.js +17 -12
- package/package.json +1 -1
package/dist/proto/api.d.ts
CHANGED
|
@@ -2395,7 +2395,7 @@ export namespace sesame {
|
|
|
2395
2395
|
name?: (string|null);
|
|
2396
2396
|
|
|
2397
2397
|
/** NameValue value */
|
|
2398
|
-
value?: (
|
|
2398
|
+
value?: (sesame.v1.common.IPropValue|null);
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
2401
|
/** Represents a NameValue. */
|
|
@@ -2411,7 +2411,7 @@ export namespace sesame {
|
|
|
2411
2411
|
public name: string;
|
|
2412
2412
|
|
|
2413
2413
|
/** NameValue value. */
|
|
2414
|
-
public value
|
|
2414
|
+
public value?: (sesame.v1.common.IPropValue|null);
|
|
2415
2415
|
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Creates a new NameValue instance using the specified properties.
|
package/dist/proto/api.js
CHANGED
|
@@ -6502,7 +6502,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
6502
6502
|
* @memberof sesame.v1.common
|
|
6503
6503
|
* @interface INameValue
|
|
6504
6504
|
* @property {string|null} [name] NameValue name
|
|
6505
|
-
* @property {
|
|
6505
|
+
* @property {sesame.v1.common.IPropValue|null} [value] NameValue value
|
|
6506
6506
|
*/
|
|
6507
6507
|
|
|
6508
6508
|
/**
|
|
@@ -6530,11 +6530,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
6530
6530
|
|
|
6531
6531
|
/**
|
|
6532
6532
|
* NameValue value.
|
|
6533
|
-
* @member {
|
|
6533
|
+
* @member {sesame.v1.common.IPropValue|null|undefined} value
|
|
6534
6534
|
* @memberof sesame.v1.common.NameValue
|
|
6535
6535
|
* @instance
|
|
6536
6536
|
*/
|
|
6537
|
-
NameValue.prototype.value =
|
|
6537
|
+
NameValue.prototype.value = null;
|
|
6538
6538
|
|
|
6539
6539
|
/**
|
|
6540
6540
|
* Creates a new NameValue instance using the specified properties.
|
|
@@ -6563,7 +6563,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
6563
6563
|
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
6564
6564
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
|
|
6565
6565
|
if (message.value != null && Object.hasOwnProperty.call(message, "value"))
|
|
6566
|
-
writer.uint32(/* id 2, wireType 2 =*/18).
|
|
6566
|
+
$root.sesame.v1.common.PropValue.encode(message.value, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
6567
6567
|
return writer;
|
|
6568
6568
|
};
|
|
6569
6569
|
|
|
@@ -6605,7 +6605,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
6605
6605
|
break;
|
|
6606
6606
|
}
|
|
6607
6607
|
case 2: {
|
|
6608
|
-
message.value = reader.
|
|
6608
|
+
message.value = $root.sesame.v1.common.PropValue.decode(reader, reader.uint32());
|
|
6609
6609
|
break;
|
|
6610
6610
|
}
|
|
6611
6611
|
default:
|
|
@@ -6646,9 +6646,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
6646
6646
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
6647
6647
|
if (!$util.isString(message.name))
|
|
6648
6648
|
return "name: string expected";
|
|
6649
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
|
6650
|
-
|
|
6651
|
-
|
|
6649
|
+
if (message.value != null && message.hasOwnProperty("value")) {
|
|
6650
|
+
let error = $root.sesame.v1.common.PropValue.verify(message.value);
|
|
6651
|
+
if (error)
|
|
6652
|
+
return "value." + error;
|
|
6653
|
+
}
|
|
6652
6654
|
return null;
|
|
6653
6655
|
};
|
|
6654
6656
|
|
|
@@ -6666,8 +6668,11 @@ export const sesame = $root.sesame = (() => {
|
|
|
6666
6668
|
let message = new $root.sesame.v1.common.NameValue();
|
|
6667
6669
|
if (object.name != null)
|
|
6668
6670
|
message.name = String(object.name);
|
|
6669
|
-
if (object.value != null)
|
|
6670
|
-
|
|
6671
|
+
if (object.value != null) {
|
|
6672
|
+
if (typeof object.value !== "object")
|
|
6673
|
+
throw TypeError(".sesame.v1.common.NameValue.value: object expected");
|
|
6674
|
+
message.value = $root.sesame.v1.common.PropValue.fromObject(object.value);
|
|
6675
|
+
}
|
|
6671
6676
|
return message;
|
|
6672
6677
|
};
|
|
6673
6678
|
|
|
@@ -6686,12 +6691,12 @@ export const sesame = $root.sesame = (() => {
|
|
|
6686
6691
|
let object = {};
|
|
6687
6692
|
if (options.defaults) {
|
|
6688
6693
|
object.name = "";
|
|
6689
|
-
object.value =
|
|
6694
|
+
object.value = null;
|
|
6690
6695
|
}
|
|
6691
6696
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
6692
6697
|
object.name = message.name;
|
|
6693
6698
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
6694
|
-
object.value = message.value;
|
|
6699
|
+
object.value = $root.sesame.v1.common.PropValue.toObject(message.value, options);
|
|
6695
6700
|
return object;
|
|
6696
6701
|
};
|
|
6697
6702
|
|
package/package.json
CHANGED