Skip to content

Commit

Permalink
feat: workflow core bump
Browse files Browse the repository at this point in the history
  • Loading branch information
chesterkmr committed Jun 26, 2024
1 parent 468e20c commit c587d95
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 19 deletions.
7 changes: 7 additions & 0 deletions apps/backoffice-v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ballerine/backoffice-v2

## 0.7.14

### Patch Changes

- @ballerine/workflow-browser-sdk@0.6.15
- @ballerine/workflow-node-sdk@0.6.15

## 0.7.13

### Patch Changes
Expand Down
6 changes: 3 additions & 3 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.13",
"version": "0.7.14",
"description": "Ballerine - Backoffice",
"homepage": "https://github.com/ballerine-io/ballerine",
"repository": {
Expand Down Expand Up @@ -53,8 +53,8 @@
"@ballerine/blocks": "0.2.3",
"@ballerine/common": "0.9.8",
"@ballerine/ui": "^0.5.3",
"@ballerine/workflow-browser-sdk": "0.6.14",
"@ballerine/workflow-node-sdk": "0.6.14",
"@ballerine/workflow-browser-sdk": "0.6.15",
"@ballerine/workflow-node-sdk": "0.6.15",
"@fontsource/inter": "^4.5.15",
"@formkit/auto-animate": "1.0.0-beta.5",
"@hookform/resolvers": "^3.1.0",
Expand Down
6 changes: 6 additions & 0 deletions apps/kyb-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# kyb-app

## 0.3.15

### Patch Changes

- @ballerine/workflow-browser-sdk@0.6.15

## 0.3.14

### Patch Changes
Expand Down
4 changes: 2 additions & 2 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.14",
"version": "0.3.15",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -17,7 +17,7 @@
"@ballerine/common": "^0.9.8",
"@ballerine/blocks": "0.2.3",
"@ballerine/ui": "0.5.3",
"@ballerine/workflow-browser-sdk": "0.6.14",
"@ballerine/workflow-browser-sdk": "0.6.15",
"@lukemorales/query-key-factory": "^1.0.3",
"@radix-ui/react-icons": "^1.3.0",
"@rjsf/core": "^5.9.0",
Expand Down
6 changes: 6 additions & 0 deletions examples/headless-example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ballerine/headless-example

## 0.3.14

### Patch Changes

- @ballerine/workflow-browser-sdk@0.6.15

## 0.3.13

### Patch Changes
Expand Down
4 changes: 2 additions & 2 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.13",
"version": "0.3.14",
"type": "module",
"scripts": {
"spellcheck": "cspell \"*\"",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@ballerine/common": "0.9.8",
"@ballerine/workflow-browser-sdk": "0.6.14",
"@ballerine/workflow-browser-sdk": "0.6.15",
"@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/workflow-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @ballerine/workflow-core

## 0.6.15

### Patch Changes

- Added deep merge with mutation

## 0.6.14

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/workflow-core",
"author": "Ballerine <dev@ballerine.com>",
"version": "0.6.14",
"version": "0.6.15",
"description": "workflow-core",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,10 @@ const mergeArraysById = (
return acc;
}, {} as Record<string, UnknownRecord>);

console.log({ arr1Map, arr2Map, arr1, arr2 });

const uniqueIds = Array.from(
new Set([...arr1.map(item => item[mergeKey]), ...arr2.map(item => item[mergeKey])]),
).filter(Boolean) as string[];

console.log({ uniqueIds });

return uniqueIds.map(id =>
mergeObjects(arr1Map[id] || {}, arr2Map[id] || {}, mergeKey),
) as ArrayOfObjectsWithId;
Expand Down
7 changes: 7 additions & 0 deletions sdks/workflow-browser-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ballerine/workflow-browser-sdk

## 0.6.15

### Patch Changes

- Updated dependencies
- @ballerine/workflow-core@0.6.15

## 0.6.14

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions sdks/workflow-browser-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/workflow-browser-sdk",
"author": "Ballerine <dev@ballerine.com>",
"version": "0.6.14",
"version": "0.6.15",
"description": "workflow-browser-sdk",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@ballerine/common": "0.9.8",
"@ballerine/workflow-core": "0.6.14",
"@ballerine/workflow-core": "0.6.15",
"xstate": "^4.37.0"
},
"devDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions sdks/workflow-node-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @ballerine/workflow-node-sdk

## 0.6.15

### Patch Changes

- Updated dependencies
- @ballerine/workflow-core@0.6.15

## 0.6.14

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions sdks/workflow-node-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/workflow-node-sdk",
"author": "Ballerine <dev@ballerine.com>",
"version": "0.6.14",
"version": "0.6.15",
"description": "workflow-node-sdk",
"module": "./dist/esm/index.js",
"main": "./dist/cjs/index.js",
Expand All @@ -28,7 +28,7 @@
"node": ">=12"
},
"dependencies": {
"@ballerine/workflow-core": "0.6.14",
"@ballerine/workflow-core": "0.6.15",
"json-logic-js": "^2.0.2",
"xstate": "^4.36.0"
},
Expand Down
8 changes: 8 additions & 0 deletions services/workflows-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @ballerine/workflows-service

## 0.7.14

### Patch Changes

- Updated dependencies
- @ballerine/workflow-core@0.6.15
- @ballerine/workflow-node-sdk@0.6.15

## 0.7.13

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions services/workflows-service/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ballerine/workflows-service",
"private": false,
"version": "0.7.13",
"version": "0.7.14",
"description": "workflow-service",
"scripts": {
"spellcheck": "cspell \"*\"",
Expand Down Expand Up @@ -48,8 +48,8 @@
"@aws-sdk/lib-storage": "3.347.1",
"@aws-sdk/s3-request-presigner": "3.347.1",
"@ballerine/common": "0.9.8",
"@ballerine/workflow-core": "0.6.14",
"@ballerine/workflow-node-sdk": "0.6.14",
"@ballerine/workflow-core": "0.6.15",
"@ballerine/workflow-node-sdk": "0.6.15",
"@faker-js/faker": "^7.6.0",
"@nestjs/axios": "^2.0.0",
"@nestjs/common": "^9.3.12",
Expand Down

0 comments on commit c587d95

Please sign in to comment.