@sentio/protos 2.13.2 → 2.13.3-rc.2
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentio/protos",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "2.13.2",
|
|
4
|
+
"version": "2.13.3-rc.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"compile": "tsc",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"files": [
|
|
21
21
|
"{lib,src}"
|
|
22
22
|
],
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "11bde5ffb7207bbdd8f9e0f655f766cd1880fad5"
|
|
24
24
|
}
|
|
@@ -616,6 +616,7 @@ export interface Data_SuiCall {
|
|
|
616
616
|
|
|
617
617
|
export interface Data_SuiObject {
|
|
618
618
|
objects: { [key: string]: any }[];
|
|
619
|
+
self?: { [key: string]: any } | undefined;
|
|
619
620
|
timestamp: Date | undefined;
|
|
620
621
|
slot: bigint;
|
|
621
622
|
}
|
|
@@ -4317,7 +4318,7 @@ export const Data_SuiCall = {
|
|
|
4317
4318
|
};
|
|
4318
4319
|
|
|
4319
4320
|
function createBaseData_SuiObject(): Data_SuiObject {
|
|
4320
|
-
return { objects: [], timestamp: undefined, slot: BigInt("0") };
|
|
4321
|
+
return { objects: [], self: undefined, timestamp: undefined, slot: BigInt("0") };
|
|
4321
4322
|
}
|
|
4322
4323
|
|
|
4323
4324
|
export const Data_SuiObject = {
|
|
@@ -4325,6 +4326,9 @@ export const Data_SuiObject = {
|
|
|
4325
4326
|
for (const v of message.objects) {
|
|
4326
4327
|
Struct.encode(Struct.wrap(v!), writer.uint32(10).fork()).ldelim();
|
|
4327
4328
|
}
|
|
4329
|
+
if (message.self !== undefined) {
|
|
4330
|
+
Struct.encode(Struct.wrap(message.self), writer.uint32(34).fork()).ldelim();
|
|
4331
|
+
}
|
|
4328
4332
|
if (message.timestamp !== undefined) {
|
|
4329
4333
|
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
|
4330
4334
|
}
|
|
@@ -4344,6 +4348,9 @@ export const Data_SuiObject = {
|
|
|
4344
4348
|
case 1:
|
|
4345
4349
|
message.objects.push(Struct.unwrap(Struct.decode(reader, reader.uint32())));
|
|
4346
4350
|
break;
|
|
4351
|
+
case 4:
|
|
4352
|
+
message.self = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
4353
|
+
break;
|
|
4347
4354
|
case 2:
|
|
4348
4355
|
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
4349
4356
|
break;
|
|
@@ -4361,6 +4368,7 @@ export const Data_SuiObject = {
|
|
|
4361
4368
|
fromJSON(object: any): Data_SuiObject {
|
|
4362
4369
|
return {
|
|
4363
4370
|
objects: Array.isArray(object?.objects) ? [...object.objects] : [],
|
|
4371
|
+
self: isObject(object.self) ? object.self : undefined,
|
|
4364
4372
|
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
|
4365
4373
|
slot: isSet(object.slot) ? BigInt(object.slot) : BigInt("0"),
|
|
4366
4374
|
};
|
|
@@ -4373,6 +4381,7 @@ export const Data_SuiObject = {
|
|
|
4373
4381
|
} else {
|
|
4374
4382
|
obj.objects = [];
|
|
4375
4383
|
}
|
|
4384
|
+
message.self !== undefined && (obj.self = message.self);
|
|
4376
4385
|
message.timestamp !== undefined && (obj.timestamp = message.timestamp.toISOString());
|
|
4377
4386
|
message.slot !== undefined && (obj.slot = message.slot.toString());
|
|
4378
4387
|
return obj;
|
|
@@ -4385,6 +4394,7 @@ export const Data_SuiObject = {
|
|
|
4385
4394
|
fromPartial(object: DeepPartial<Data_SuiObject>): Data_SuiObject {
|
|
4386
4395
|
const message = createBaseData_SuiObject();
|
|
4387
4396
|
message.objects = object.objects?.map((e) => e) || [];
|
|
4397
|
+
message.self = object.self ?? undefined;
|
|
4388
4398
|
message.timestamp = object.timestamp ?? undefined;
|
|
4389
4399
|
message.slot = object.slot ?? BigInt("0");
|
|
4390
4400
|
return message;
|