File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "packages/js-sdk" : " 4.3.3" ,
33 "packages/enums" : " 2.3.0" ,
4- "packages/types" : " 3.9 .0" ,
4+ "packages/types" : " 3.10 .0" ,
55 "packages/utils" : " 2.2.3" ,
66 "packages/event" : " 2.1.3" ,
77 "packages/bucketing" : " 3.1.2" ,
Original file line number Diff line number Diff line change 5353 "devDependencies" : {
5454 "@types/eslint-plugin-mocha" : " ^10" ,
5555 "eslint-plugin-mocha" : " ^11.2.0" ,
56- "eslint-plugin-prettier" : " ^5.5.4"
56+ "eslint-plugin-prettier" : " ^5.5.4" ,
57+ "prettier" : " ^3.6.2"
5758 },
5859 "resolutions" : {
5960 "form-data" : " >=4.0.4" ,
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export const MESSAGES = {
5454 SEGMENTATION_NOT_RESTRICTED : 'Segmentation not restricted' ,
5555 RULE_NOT_MATCH : 'Rule does not match' ,
5656 RULE_MATCH : 'Found matched rule at OR block #' ,
57- RULE_MATCH_AND : 'AND block rule macthed ' ,
57+ RULE_MATCH_AND : 'AND block rule matched ' ,
5858 RULE_MATCH_START : 'About to evaluate rule #' ,
5959 LOCATION_ACTIVATED : 'Location # activated' ,
6060 LOCATION_DEACTIVATED : 'Location # deactivated' ,
Original file line number Diff line number Diff line change @@ -195,17 +195,16 @@ export class RuleManager implements RuleManagerInterface {
195195 ) {
196196 for ( let i = 0 , l = rulesSubset . AND . length ; i < l ; i ++ ) {
197197 match = this . _processORWHEN ( data , rulesSubset . AND [ i ] ) ;
198- if ( match === false ) {
199- return false ;
198+ // AND requires ALL to explicitly return true
199+ if ( match !== true ) {
200+ return match ;
200201 }
201202 }
202- if ( match !== false ) {
203- this . _loggerManager ?. info ?.(
204- 'RuleManager._processAND()' ,
205- MESSAGES . RULE_MATCH_AND
206- ) ;
207- }
208- return match ;
203+ this . _loggerManager ?. info ?.(
204+ 'RuleManager._processAND()' ,
205+ MESSAGES . RULE_MATCH_AND
206+ ) ;
207+ return true ;
209208 } else {
210209 this . _loggerManager ?. warn ?.(
211210 'RuleManager._processAND()' ,
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 3.10.0] ( https://github.com/convertcom/javascript-sdk/compare/js-sdk-types-v3.9.0...js-sdk-types-v3.10.0 ) (2025-11-12)
4+
5+
6+ ### Features
7+
8+ * automated TS Serving API update ([ c363a57] ( https://github.com/convertcom/javascript-sdk/commit/c363a577a01bd3787b7ee1936e853608b6805e7d ) )
9+ * automated TS Serving API update ([ f844627] ( https://github.com/convertcom/javascript-sdk/commit/f8446274208db0f241745117e3f6088fd04826bf ) )
10+
311## [ 3.9.0] ( https://github.com/convertcom/javascript-sdk/compare/js-sdk-types-v3.8.1...js-sdk-types-v3.9.0 ) (2025-09-05)
412
513
Original file line number Diff line number Diff line change 4949 "typescript-eslint" : " ^8.46.4" ,
5050 "webpack" : " ^5.102.1"
5151 },
52- "version" : " 3.9 .0" ,
52+ "version" : " 3.10 .0" ,
5353 "peerDependencies" : {
5454 "@convertcom/js-sdk-enums" : " >=2.3.0"
5555 }
Original file line number Diff line number Diff line change @@ -26013,6 +26013,7 @@ __metadata:
2601326013 "@types/eslint-plugin-mocha": "npm:^10"
2601426014 eslint-plugin-mocha: "npm:^11.2.0"
2601526015 eslint-plugin-prettier: "npm:^5.5.4"
26016+ prettier: "npm:^3.6.2"
2601626017 languageName: unknown
2601726018 linkType: soft
2601826019
You can’t perform that action at this time.
0 commit comments