@sentio/runtime 1.37.5-rc.5 → 1.37.5-rc.6
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/lib/full-service.d.ts
CHANGED
@@ -244,7 +244,9 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
|
|
244
244
|
} | undefined;
|
245
245
|
} | undefined;
|
246
246
|
distinctEntityId?: string | undefined;
|
247
|
-
attributes?:
|
247
|
+
attributes?: {
|
248
|
+
[x: string]: any;
|
249
|
+
} | undefined;
|
248
250
|
runtimeInfo?: {
|
249
251
|
from?: HandlerType | undefined;
|
250
252
|
} | undefined;
|
@@ -341,7 +341,9 @@ export interface LogResult {
|
|
341
341
|
export interface EventTrackingResult {
|
342
342
|
metadata: RecordMetaData | undefined;
|
343
343
|
distinctEntityId: string;
|
344
|
-
attributes:
|
344
|
+
attributes: {
|
345
|
+
[key: string]: any;
|
346
|
+
} | undefined;
|
345
347
|
runtimeInfo: RuntimeInfo | undefined;
|
346
348
|
}
|
347
349
|
export interface ExportResult {
|
@@ -3753,7 +3753,7 @@ exports.LogResult = {
|
|
3753
3753
|
},
|
3754
3754
|
};
|
3755
3755
|
function createBaseEventTrackingResult() {
|
3756
|
-
return { metadata: undefined, distinctEntityId: "", attributes:
|
3756
|
+
return { metadata: undefined, distinctEntityId: "", attributes: undefined, runtimeInfo: undefined };
|
3757
3757
|
}
|
3758
3758
|
exports.EventTrackingResult = {
|
3759
3759
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
@@ -3763,8 +3763,8 @@ exports.EventTrackingResult = {
|
|
3763
3763
|
if (message.distinctEntityId !== "") {
|
3764
3764
|
writer.uint32(18).string(message.distinctEntityId);
|
3765
3765
|
}
|
3766
|
-
if (message.attributes !==
|
3767
|
-
writer.uint32(34).
|
3766
|
+
if (message.attributes !== undefined) {
|
3767
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.attributes), writer.uint32(34).fork()).ldelim();
|
3768
3768
|
}
|
3769
3769
|
if (message.runtimeInfo !== undefined) {
|
3770
3770
|
exports.RuntimeInfo.encode(message.runtimeInfo, writer.uint32(42).fork()).ldelim();
|
@@ -3785,7 +3785,7 @@ exports.EventTrackingResult = {
|
|
3785
3785
|
message.distinctEntityId = reader.string();
|
3786
3786
|
break;
|
3787
3787
|
case 4:
|
3788
|
-
message.attributes = reader.
|
3788
|
+
message.attributes = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
3789
3789
|
break;
|
3790
3790
|
case 5:
|
3791
3791
|
message.runtimeInfo = exports.RuntimeInfo.decode(reader, reader.uint32());
|
@@ -3801,7 +3801,7 @@ exports.EventTrackingResult = {
|
|
3801
3801
|
return {
|
3802
3802
|
metadata: isSet(object.metadata) ? exports.RecordMetaData.fromJSON(object.metadata) : undefined,
|
3803
3803
|
distinctEntityId: isSet(object.distinctEntityId) ? String(object.distinctEntityId) : "",
|
3804
|
-
attributes:
|
3804
|
+
attributes: isObject(object.attributes) ? object.attributes : undefined,
|
3805
3805
|
runtimeInfo: isSet(object.runtimeInfo) ? exports.RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
|
3806
3806
|
};
|
3807
3807
|
},
|
@@ -3821,7 +3821,7 @@ exports.EventTrackingResult = {
|
|
3821
3821
|
? exports.RecordMetaData.fromPartial(object.metadata)
|
3822
3822
|
: undefined;
|
3823
3823
|
message.distinctEntityId = object.distinctEntityId ?? "";
|
3824
|
-
message.attributes = object.attributes ??
|
3824
|
+
message.attributes = object.attributes ?? undefined;
|
3825
3825
|
message.runtimeInfo = (object.runtimeInfo !== undefined && object.runtimeInfo !== null)
|
3826
3826
|
? exports.RuntimeInfo.fromPartial(object.runtimeInfo)
|
3827
3827
|
: undefined;
|