Skip to content

Commit bd70e66

Browse files
committed
chore: bump deps
1 parent dbc92e4 commit bd70e66

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ All notable changes to this project will be documented in this file.
88

99
## Released
1010

11+
### [3.9.0] - 2024-04-28
12+
13+
### Update
14+
15+
- Update core
16+
- check [Core Changelog](https://github.com/4lessandrodev/rich-domain/blob/main/CHANGELOG.md)
17+
18+
---
19+
20+
## Released
21+
1122
### [3.8.3] - 2024-04-13
1223

1324
### Update

lib/types/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
ICommand,
2626
} from 'rich-domain/types';
2727
import { IProxy, IIterator, IHistory, IEntityHistory } from 'rich-domain/types';
28-
import { IGettersAndSetters, IParentName } from 'rich-domain/types';
28+
import { IParentName } from 'rich-domain/types';
2929

3030
export interface CloneProps {
3131
isNew: boolean;
@@ -155,7 +155,6 @@ export {
155155
IIterator,
156156
IHistory,
157157
IEntityHistory,
158-
IGettersAndSetters,
159158
IParentName,
160159
IUseCase,
161160
IPropsValidation,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "types-ddd",
3-
"version": "3.8.3",
3+
"version": "3.9.0-beta.0",
44
"description": "This package provide utils file and interfaces to assistant build a complex application with domain driving design",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -61,7 +61,7 @@
6161
"bcrypt": "^5.0.1",
6262
"pino": "^8.17.1",
6363
"pino-pretty": "^11.0.0",
64-
"rich-domain": "^1.22.0"
64+
"rich-domain": "1.23.0-beta.0"
6565
},
6666
"devDependencies": {
6767
"@microsoft/tsdoc": "^0.14.1",

tests/entity/product.entity.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ describe('entity', () => {
4141

4242
const object = orange.toObject();
4343
expect(object.additionalInfo).toEqual(['from brazil']);
44-
expect(object.name).toBe('orange');
44+
expect(object.name.value).toBe('orange');
45+
expect(orange.get('name').get('value')).toBe('orange');
4546
expect(object.price).toBe(10);
4647
});
4748
});

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3611,10 +3611,10 @@ rfdc@^1.3.0:
36113611
resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b"
36123612
integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==
36133613

3614-
rich-domain@^1.22.0:
3615-
version "1.22.0"
3616-
resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.22.0.tgz#cc191e5600038ac37b8bc656570cd4cc93edcd60"
3617-
integrity sha512-LHCkQjc0WbUVDyRiY9bhraKvVlwqNV99aN36qo5mY2Y2B1nE9spDcLBhCaIakyJBKZk1yLhoLxn4+JivTemwBQ==
3614+
rich-domain@1.23.0-beta.0:
3615+
version "1.23.0-beta.0"
3616+
resolved "https://registry.yarnpkg.com/rich-domain/-/rich-domain-1.23.0-beta.0.tgz#8c3a79af28202fda2207757584cec96cb97da3aa"
3617+
integrity sha512-sLJV9SJFSv7oPA57ONNT0dvXybwc9jqIbzccF4PIJaV3SYq6k8nOcFW8jddz4GER32K+qFQgRTR5PKop6UDL6w==
36183618

36193619
rimraf@^3.0.0, rimraf@^3.0.2:
36203620
version "3.0.2"

0 commit comments

Comments
 (0)