diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c316017..90a5a9d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ When you submit code changes, your submissions are understood to be under the sa ### Report bugs using GitHub issues -We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/wingify/vwo-node-sdk/issues); it's that easy! +We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/wingify/vwo-fme-node-sdk/issues); it's that easy! **Note**: Write bug reports with detail, background, and sample code diff --git a/NOTICE b/NOTICE index 39c3226..aef0391 100644 --- a/NOTICE +++ b/NOTICE @@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -Wingify VWO Node SDK +Wingify VWO FME Node SDK This product includes software developed at Wingify Software Pvt. Ltd. (https://wingify.com/). diff --git a/lib/packages/segmentation-evaluator/evaluators/SegmentEvaluator.ts b/lib/packages/segmentation-evaluator/evaluators/SegmentEvaluator.ts index 2d108d0..cc90702 100644 --- a/lib/packages/segmentation-evaluator/evaluators/SegmentEvaluator.ts +++ b/lib/packages/segmentation-evaluator/evaluators/SegmentEvaluator.ts @@ -283,7 +283,7 @@ export class SegmentEvaluator implements Segmentation { } // this will be checked for all cases where wildcard is not present - if (expectedValues.includes(actualValue.toLowerCase())) { + if (expectedValues.includes(actualValue?.toLowerCase())) { return true; // Direct value match found, return true } } diff --git a/package.json b/package.json index f59697e..6340358 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "typedoc": "^0.25.13", "typescript": "^5.4.5", "typescript-eslint": "^7.8.0", - "vwo-fme-sdk-e2e-test-settings-n-cases": "^1.0.0" + "vwo-fme-sdk-e2e-test-settings-n-cases": "^1.0.1" }, "lint-staged": { "**/*.{ts,json,md}": [ diff --git a/yarn.lock b/yarn.lock index 8289f4e..f5606c6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4803,10 +4803,10 @@ vscode-textmate@^8.0.0: resolved "https://registry.yarnpkg.com/vscode-textmate/-/vscode-textmate-8.0.0.tgz#2c7a3b1163ef0441097e0b5d6389cd5504b59e5d" integrity sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg== -vwo-fme-sdk-e2e-test-settings-n-cases@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/vwo-fme-sdk-e2e-test-settings-n-cases/-/vwo-fme-sdk-e2e-test-settings-n-cases-1.0.0.tgz#fc0316235484705b1377d4e25b612c7593d4bda9" - integrity sha512-QxE3dKdqw5FrFbLJRwfM/wGQSpd+pVI0Mydks8z/xsJlXdyTtxjvAvGoE+nyYahh8oy9AEOg5jOWNjnMbn/TUQ== +vwo-fme-sdk-e2e-test-settings-n-cases@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/vwo-fme-sdk-e2e-test-settings-n-cases/-/vwo-fme-sdk-e2e-test-settings-n-cases-1.0.1.tgz#ea9c7eeb427cc1537fa7b3882a9739ede198a27a" + integrity sha512-qnY68XFH9lXLnWQCo0IpTVVy0ej7+0qgFOKsxdDF8dLqorBdrLSRIfsqnM83FoBKatQ90DBBrTfUxnDKHy1sQg== vwo-fme-sdk-log-messages@^0.1.2: version "0.1.2"