protobuf.js version: 6.5.0
After pulling the latest from git, I find that the generated static code is referencing 'values' while trying to resolve the numeric part of an enum.
In the code below types[2].values should simply be types[2][message.changeType]
case "changeType":
if (message.changeType !== undefined && message.changeType !== null) {
object.changeType = options.enums === String ? types[2].values[message.changeType] : message.changeType;
}
break;
<please paste the stack trace of the error if applicable>
protobuf.js version: 6.5.0
After pulling the latest from git, I find that the generated static code is referencing 'values' while trying to resolve the numeric part of an enum.
In the code below types[2].values should simply be types[2][message.changeType]