Skip to content

Commit fa06ee0

Browse files
authored
feat: updated common docs & fixed type selection & bump (#3317)
1 parent 33ee02a commit fa06ee0

File tree

23 files changed

+121
-63
lines changed

23 files changed

+121
-63
lines changed

apps/backoffice-v2/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @ballerine/backoffice-v2
22

3+
## 0.7.151
4+
5+
### Patch Changes
6+
7+
- Bump
8+
- Updated dependencies
9+
- @ballerine/common@0.9.102
10+
- @ballerine/workflow-browser-sdk@0.6.125
11+
- @ballerine/workflow-node-sdk@0.6.125
12+
313
## 0.7.150
414

515
### Patch Changes

apps/backoffice-v2/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ballerine/backoffice-v2",
3-
"version": "0.7.150",
3+
"version": "0.7.151",
44
"description": "Ballerine - Backoffice",
55
"homepage": "https://github.com/ballerine-io/ballerine",
66
"type": "module",
@@ -53,9 +53,9 @@
5353
},
5454
"dependencies": {
5555
"@ballerine/blocks": "0.2.44",
56-
"@ballerine/common": "0.9.101",
57-
"@ballerine/workflow-browser-sdk": "0.6.124",
58-
"@ballerine/workflow-node-sdk": "0.6.124",
56+
"@ballerine/common": "0.9.102",
57+
"@ballerine/workflow-browser-sdk": "0.6.125",
58+
"@ballerine/workflow-node-sdk": "0.6.125",
5959
"@ballerine/react-pdf-toolkit": "^1.2.117",
6060
"@ballerine/ui": "0.7.150",
6161
"@fontsource/inter": "^4.5.15",

apps/backoffice-v2/src/lib/blocks/components/EditableDetails/EditableDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ export const EditableDetails: FunctionComponent<IEditableDetails> = ({
373373
onValueChange={value => {
374374
field.onChange(value.split(':')[2]);
375375
}}
376-
defaultValue={keyFactory(
376+
value={keyFactory(
377377
'select',
378378
valueId,
379379
field.value,

apps/kyb-app/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# kyb-app
22

3+
## 0.3.182
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.9.102
9+
- @ballerine/workflow-browser-sdk@0.6.125
10+
311
## 0.3.181
412

513
### Patch Changes

apps/kyb-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/kyb-app",
33
"private": true,
4-
"version": "0.3.181",
4+
"version": "0.3.182",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -17,8 +17,8 @@
1717
},
1818
"dependencies": {
1919
"@ballerine/blocks": "0.2.44",
20-
"@ballerine/common": "^0.9.101",
21-
"@ballerine/workflow-browser-sdk": "0.6.124",
20+
"@ballerine/common": "^0.9.102",
21+
"@ballerine/workflow-browser-sdk": "0.6.125",
2222
"@ballerine/ui": "0.7.150",
2323
"@lukemorales/query-key-factory": "^1.0.3",
2424
"@radix-ui/react-icons": "^1.3.0",

examples/headless-example/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @ballerine/headless-example
22

3+
## 0.3.124
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @ballerine/common@0.9.102
9+
- @ballerine/workflow-browser-sdk@0.6.125
10+
311
## 0.3.123
412

513
### Patch Changes

examples/headless-example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@ballerine/headless-example",
33
"private": true,
4-
"version": "0.3.123",
4+
"version": "0.3.124",
55
"type": "module",
66
"scripts": {
77
"spellcheck": "cspell \"*\"",
@@ -34,8 +34,8 @@
3434
"vite": "^4.5.3"
3535
},
3636
"dependencies": {
37-
"@ballerine/common": "0.9.101",
38-
"@ballerine/workflow-browser-sdk": "0.6.124",
37+
"@ballerine/common": "0.9.102",
38+
"@ballerine/workflow-browser-sdk": "0.6.125",
3939
"@felte/reporter-svelte": "^1.1.5",
4040
"@felte/validator-zod": "^1.0.13",
4141
"@fontsource/inter": "^4.5.15",

packages/common/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @ballerine/common
22

3+
## 0.9.102
4+
5+
### Patch Changes
6+
7+
- Bump
8+
39
## 0.9.101
410

511
### Patch Changes

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": false,
33
"name": "@ballerine/common",
44
"author": "Ballerine <[email protected]>",
5-
"version": "0.9.101",
5+
"version": "0.9.102",
66
"description": "common",
77
"module": "./dist/esm/index.js",
88
"main": "./dist/cjs/index.js",

packages/common/src/schemas/documents/workflow/documents/schemas/ZZ.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ export const getUniversalDocuments = (): TDocument[] => {
354354
version: 1,
355355
propertiesSchema: Type.Object(
356356
{
357-
authorizationNumber: Type.String({ pattern: '^[a-zA-Z0-9]*$' }),
357+
authorizationNumber: Type.String(),
358358
businessName: Type.String(),
359359
issuingAuthority: Type.String(),
360360
issueDate: Type.String({ format: 'date' }),
@@ -381,15 +381,9 @@ export const getUniversalDocuments = (): TDocument[] => {
381381
version: 1,
382382
propertiesSchema: Type.Object(
383383
{
384-
licenseNumber: Type.String({ pattern: '^[a-zA-Z0-9]*$' }),
384+
licenseNumber: Type.String(),
385385
businessName: Type.String(),
386-
activityType: Type.Enum({
387-
Cultivation: 'Cultivation',
388-
Processing: 'Processing',
389-
Retail: 'Retail',
390-
Distribution: 'Distribution',
391-
Testing: 'Testing',
392-
}),
386+
activityType: Type.String(),
393387
issuingAuthority: Type.String(),
394388
issueDate: Type.String({ format: 'date' }),
395389
expirationDate: Type.String({ format: 'date' }),
@@ -417,7 +411,7 @@ export const getUniversalDocuments = (): TDocument[] => {
417411
version: 1,
418412
propertiesSchema: Type.Object(
419413
{
420-
licenseNumber: Type.String({ pattern: '^[a-zA-Z0-9]*$' }),
414+
licenseNumber: Type.String(),
421415
businessName: Type.String(),
422416
issuingAuthority: Type.String(),
423417
licenseType: Type.Enum({

0 commit comments

Comments
 (0)