@stinkycomputing/sesame-api-client 1.4.1-beta.14 → 1.4.1-beta.16
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/command-list.d.ts +1 -1
- package/dist/command-list.d.ts.map +1 -1
- package/dist/index.browser.mjs +23 -12
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +23 -12
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +23 -12
- package/dist/index.mjs.map +2 -2
- package/dist/proto/api.d.ts +2 -2
- package/dist/proto/api.js +18 -8
- package/package.json +1 -1
package/dist/proto/api.d.ts
CHANGED
|
@@ -2167,7 +2167,7 @@ export namespace sesame {
|
|
|
2167
2167
|
boolValue?: (boolean|null);
|
|
2168
2168
|
|
|
2169
2169
|
/** PropValue intValue */
|
|
2170
|
-
intValue?: (number|null);
|
|
2170
|
+
intValue?: (number|Long|null);
|
|
2171
2171
|
}
|
|
2172
2172
|
|
|
2173
2173
|
/** Represents a PropValue. */
|
|
@@ -2192,7 +2192,7 @@ export namespace sesame {
|
|
|
2192
2192
|
public boolValue?: (boolean|null);
|
|
2193
2193
|
|
|
2194
2194
|
/** PropValue intValue. */
|
|
2195
|
-
public intValue?: (number|null);
|
|
2195
|
+
public intValue?: (number|Long|null);
|
|
2196
2196
|
|
|
2197
2197
|
/** PropValue value. */
|
|
2198
2198
|
public value?: ("floatValue"|"vec4Value"|"stringValue"|"boolValue"|"intValue");
|
package/dist/proto/api.js
CHANGED
|
@@ -5860,7 +5860,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
5860
5860
|
* @property {sesame.v1.common.IVec4|null} [vec4Value] PropValue vec4Value
|
|
5861
5861
|
* @property {string|null} [stringValue] PropValue stringValue
|
|
5862
5862
|
* @property {boolean|null} [boolValue] PropValue boolValue
|
|
5863
|
-
* @property {number|null} [intValue] PropValue intValue
|
|
5863
|
+
* @property {number|Long|null} [intValue] PropValue intValue
|
|
5864
5864
|
*/
|
|
5865
5865
|
|
|
5866
5866
|
/**
|
|
@@ -5912,7 +5912,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
5912
5912
|
|
|
5913
5913
|
/**
|
|
5914
5914
|
* PropValue intValue.
|
|
5915
|
-
* @member {number|null|undefined} intValue
|
|
5915
|
+
* @member {number|Long|null|undefined} intValue
|
|
5916
5916
|
* @memberof sesame.v1.common.PropValue
|
|
5917
5917
|
* @instance
|
|
5918
5918
|
*/
|
|
@@ -5965,7 +5965,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
5965
5965
|
if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue"))
|
|
5966
5966
|
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.boolValue);
|
|
5967
5967
|
if (message.intValue != null && Object.hasOwnProperty.call(message, "intValue"))
|
|
5968
|
-
writer.uint32(/* id 5, wireType 0 =*/40).
|
|
5968
|
+
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.intValue);
|
|
5969
5969
|
return writer;
|
|
5970
5970
|
};
|
|
5971
5971
|
|
|
@@ -6019,7 +6019,7 @@ export const sesame = $root.sesame = (() => {
|
|
|
6019
6019
|
break;
|
|
6020
6020
|
}
|
|
6021
6021
|
case 5: {
|
|
6022
|
-
message.intValue = reader.
|
|
6022
|
+
message.intValue = reader.int64();
|
|
6023
6023
|
break;
|
|
6024
6024
|
}
|
|
6025
6025
|
default:
|
|
@@ -6091,8 +6091,8 @@ export const sesame = $root.sesame = (() => {
|
|
|
6091
6091
|
if (properties.value === 1)
|
|
6092
6092
|
return "value: multiple values";
|
|
6093
6093
|
properties.value = 1;
|
|
6094
|
-
if (!$util.isInteger(message.intValue))
|
|
6095
|
-
return "intValue: integer expected";
|
|
6094
|
+
if (!$util.isInteger(message.intValue) && !(message.intValue && $util.isInteger(message.intValue.low) && $util.isInteger(message.intValue.high)))
|
|
6095
|
+
return "intValue: integer|Long expected";
|
|
6096
6096
|
}
|
|
6097
6097
|
return null;
|
|
6098
6098
|
};
|
|
@@ -6121,7 +6121,14 @@ export const sesame = $root.sesame = (() => {
|
|
|
6121
6121
|
if (object.boolValue != null)
|
|
6122
6122
|
message.boolValue = Boolean(object.boolValue);
|
|
6123
6123
|
if (object.intValue != null)
|
|
6124
|
-
|
|
6124
|
+
if ($util.Long)
|
|
6125
|
+
(message.intValue = $util.Long.fromValue(object.intValue)).unsigned = false;
|
|
6126
|
+
else if (typeof object.intValue === "string")
|
|
6127
|
+
message.intValue = parseInt(object.intValue, 10);
|
|
6128
|
+
else if (typeof object.intValue === "number")
|
|
6129
|
+
message.intValue = object.intValue;
|
|
6130
|
+
else if (typeof object.intValue === "object")
|
|
6131
|
+
message.intValue = new $util.LongBits(object.intValue.low >>> 0, object.intValue.high >>> 0).toNumber();
|
|
6125
6132
|
return message;
|
|
6126
6133
|
};
|
|
6127
6134
|
|
|
@@ -6159,7 +6166,10 @@ export const sesame = $root.sesame = (() => {
|
|
|
6159
6166
|
object.value = "boolValue";
|
|
6160
6167
|
}
|
|
6161
6168
|
if (message.intValue != null && message.hasOwnProperty("intValue")) {
|
|
6162
|
-
|
|
6169
|
+
if (typeof message.intValue === "number")
|
|
6170
|
+
object.intValue = options.longs === String ? String(message.intValue) : message.intValue;
|
|
6171
|
+
else
|
|
6172
|
+
object.intValue = options.longs === String ? $util.Long.prototype.toString.call(message.intValue) : options.longs === Number ? new $util.LongBits(message.intValue.low >>> 0, message.intValue.high >>> 0).toNumber() : message.intValue;
|
|
6163
6173
|
if (options.oneofs)
|
|
6164
6174
|
object.value = "intValue";
|
|
6165
6175
|
}
|
package/package.json
CHANGED