File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " salesforce-pubsub-api-client" ,
3- "version" : " 2.2.0 " ,
3+ "version" : " 2.2.1 " ,
44 "type" : " module" ,
55 "description" : " A node client for the Salesforce Pub/Sub API" ,
66 "author" : " pozil" ,
2222 "prepublishOnly" : " npm run build"
2323 },
2424 "dependencies" : {
25- "@grpc/grpc-js" : " ^1.8.0 " ,
25+ "@grpc/grpc-js" : " ^1.8.4 " ,
2626 "@grpc/proto-loader" : " ^0.7.4" ,
2727 "avro-js" : " ^1.11.1" ,
2828 "certifi" : " ^14.5.15" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export function parseEvent(schema, event) {
44 const allFields = schema . type . getFields ( ) ;
55 const replayId = decodeReplayId ( event . replayId ) ;
66 const payload = schema . type . fromBuffer ( event . event . payload ) ; // This schema is the same which we retreived earlier in the GetSchema rpc.
7- // Perform only if its a CDC Event
7+ // Parse CDC header if available
88 if ( payload . ChangeEventHeader ) {
99 try {
1010 payload . ChangeEventHeader . nulledFields = parseFieldBitmaps (
You can’t perform that action at this time.
0 commit comments