File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
## Version 24.05.XX
2
+ Fixes:
3
+ - [ push] Fixed bug where IOS credentials get mixed up while sending messages from different apps at the same time
4
+ - [ push] Fixed bug where it crashes in connection pool growth because of a type mismatch in an if condition
2
5
3
6
Dependencies:
4
- - Bump puppeteer from 23.8.0 to 23.9.0
5
- - Bump nodemailer from 6.9.15 to 6.9.16
7
+ - Bump countly-sdk-nodejs from 22.6.0 to 24.10.0
6
8
- Bump countly-sdk-web from 24.4.1 to 24.11.0
7
- - Bump tslib from 2.7.0 to 2.8.1
8
9
- Bump form-data from 4.0.0 to 4.0.1
9
10
- Bump jimp from 0.22.12 to 1.6.0
10
11
- Bump jsdoc from 4.0.3 to 4.0.4
11
- - Bump countly-sdk-nodejs from 22.6.0 to 24.10.0
12
+ - Bump nodemailer from 6.9.15 to 6.9.16
13
+ - Bump puppeteer from 23.8.0 to 23.9.0
14
+ - Bump tslib from 2.7.0 to 2.8.1
12
15
13
16
## Version 24.05.19
14
17
Fixes:
Original file line number Diff line number Diff line change @@ -298,7 +298,8 @@ const CREDS = {
298
298
return [ 'Not a private key in P8 format in base64-encoded string' ] ;
299
299
}
300
300
301
- this . _data . hash = FORGE . md . sha256 . create ( ) . update ( this . _data . key ) . digest ( ) . toHex ( ) ;
301
+ const message = this . _data . key + this . _data . bundle + this . _data . keyid + this . _data . team ;
302
+ this . _data . hash = FORGE . md . sha256 . create ( ) . update ( message ) . digest ( ) . toHex ( ) ;
302
303
}
303
304
304
305
/**
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ class Pool extends Duplex {
290
290
let unsent = this . state . messages ( ) . filter ( m => mids . indexOf ( m . _id . toString ( ) ) === - 1 ) ;
291
291
if ( unsent . length ) {
292
292
this . log . i ( 'Sending unsent messages to %s: %j' , connection . worker . threadId , unsent ) ;
293
- connection . write ( encode ( FRAME . CONNECT , unsent . map ( id => this . state . messages ( ) . filter ( m => m . _id . toString ( ) === id ) [ 0 ] ) ) ) ;
293
+ connection . write ( encode ( FRAME . CONNECT , unsent . map ( _m => this . state . messages ( ) . filter ( m => m . _id . toString ( ) === _m . _id . toString ( ) ) [ 0 ] ) ) ) ;
294
294
}
295
295
return connection ;
296
296
}
You can’t perform that action at this time.
0 commit comments