Skip to content

Commit

Permalink
In case insensitive risk rule engine operator (#2790)
Browse files Browse the repository at this point in the history
* feat: in case insensitive risk rule engine operator

* feat: migration commit push

* feat: test fix

* feat: added tests for the in_case_insensitive operator

* feat: pr comment fix

* feat: version bump
  • Loading branch information
tomer-shvadron authored Nov 6, 2024
1 parent 3a8c7f0 commit e548a6b
Show file tree
Hide file tree
Showing 26 changed files with 289 additions and 92 deletions.
9 changes: 9 additions & 0 deletions apps/backoffice-v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @ballerine/backoffice-v2

## 0.7.66

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.49
- @ballerine/workflow-browser-sdk@0.6.62
- @ballerine/workflow-node-sdk@0.6.62

## 0.7.65

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions apps/backoffice-v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ballerine/backoffice-v2",
"version": "0.7.65",
"version": "0.7.66",
"description": "Ballerine - Backoffice",
"homepage": "https://github.com/ballerine-io/ballerine",
"type": "module",
Expand Down Expand Up @@ -52,11 +52,11 @@
},
"dependencies": {
"@ballerine/blocks": "0.2.25",
"@ballerine/common": "0.9.48",
"@ballerine/common": "0.9.49",
"@ballerine/react-pdf-toolkit": "^1.2.43",
"@ballerine/ui": "^0.5.43",
"@ballerine/workflow-browser-sdk": "0.6.61",
"@ballerine/workflow-node-sdk": "0.6.61",
"@ballerine/workflow-browser-sdk": "0.6.62",
"@ballerine/workflow-node-sdk": "0.6.62",
"@botpress/webchat": "^2.1.10",
"@botpress/webchat-generator": "^0.2.9",
"@fontsource/inter": "^4.5.15",
Expand Down
8 changes: 8 additions & 0 deletions apps/kyb-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# kyb-app

## 0.3.77

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.49
- @ballerine/workflow-browser-sdk@0.6.62

## 0.3.76

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/kyb-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/kyb-app",
"private": true,
"version": "0.3.76",
"version": "0.3.77",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -17,8 +17,8 @@
"dependencies": {
"@ballerine/blocks": "0.2.25",
"@ballerine/ui": "0.5.43",
"@ballerine/common": "^0.9.48",
"@ballerine/workflow-browser-sdk": "0.6.61",
"@ballerine/common": "^0.9.49",
"@ballerine/workflow-browser-sdk": "0.6.62",
"@lukemorales/query-key-factory": "^1.0.3",
"@radix-ui/react-icons": "^1.3.0",
"@rjsf/core": "^5.9.0",
Expand Down
8 changes: 8 additions & 0 deletions examples/headless-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @ballerine/headless-example

## 0.3.61

### Patch Changes

- Updated dependencies
- @ballerine/common@0.9.49
- @ballerine/workflow-browser-sdk@0.6.62

## 0.3.60

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions examples/headless-example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/headless-example",
"private": true,
"version": "0.3.60",
"version": "0.3.61",
"type": "module",
"scripts": {
"spellcheck": "cspell \"*\"",
Expand Down Expand Up @@ -34,8 +34,8 @@
"vite": "^4.5.3"
},
"dependencies": {
"@ballerine/common": "0.9.48",
"@ballerine/workflow-browser-sdk": "0.6.61",
"@ballerine/common": "0.9.49",
"@ballerine/workflow-browser-sdk": "0.6.62",
"@felte/reporter-svelte": "^1.1.5",
"@felte/validator-zod": "^1.0.13",
"@fontsource/inter": "^4.5.15",
Expand Down
6 changes: 6 additions & 0 deletions packages/common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ballerine/common

## 0.9.49

### Patch Changes

- version bump

## 0.9.48

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": false,
"name": "@ballerine/common",
"author": "Ballerine <[email protected]>",
"version": "0.9.48",
"version": "0.9.49",
"description": "common",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/common/src/rule-engine/operators/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
GT,
GTE,
IN,
IN_CASE_INSENSITIVE,
LAST_YEAR,
LT,
LTE,
Expand All @@ -26,6 +27,7 @@ export const OperationHelpers = {
[OPERATION.LTE]: LTE,
[OPERATION.LAST_YEAR]: LAST_YEAR,
[OPERATION.IN]: IN,
[OPERATION.IN_CASE_INSENSITIVE]: IN_CASE_INSENSITIVE,
[OPERATION.NOT_IN]: NOT_IN,
[OPERATION.AML_CHECK]: AML_CHECK,
} as const;
Loading

0 comments on commit e548a6b

Please sign in to comment.