Skip to content

Commit 636c3f7

Browse files
committed
fix: fix encodeType export
1 parent f487a6f commit 636c3f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/spBv1.0.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ export function decodePayload(proto: Uint8Array): Payload {
10841084
return payload
10851085
}
10861086

1087-
function encodeType(
1087+
export function encodeType(
10881088
typeString: MetricDataType | 'PropertySet' | 'PropertySetList'
10891089
): number {
10901090
switch (typeString.toUpperCase()) {
@@ -1136,7 +1136,6 @@ function encodeType(
11361136
return 0
11371137
}
11381138
}
1139-
exports.encodeType = encodeType
11401139

11411140
export function decodeType(
11421141
typeInt: number

0 commit comments

Comments
 (0)