File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ package-lock = false
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
4
4
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ ) .
6
6
7
- ## Version 1.0.0 - 27.03 .2024
7
+ ## Version 1.0.0 - 02.05 .2024
8
8
9
9
### Added
10
10
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ $ npm install @cap-js/asyncapi
25
25
### Usage
26
26
27
27
``` sh
28
- require("@cap-js/asyncapi").registerAsyncapiCompileTarget ()
28
+ require("@cap-js/asyncapi").register ()
29
29
```
30
30
31
31
## Generate AsyncAPI document
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ function _lazyRegisterCompileTarget() {
6
6
return value
7
7
}
8
8
9
- const registerAsyncapiCompileTarget = ( ) => {
9
+ const register = ( ) => {
10
10
Object . defineProperty ( cds . compile . to , "asyncapi" , {
11
11
get : _lazyRegisterCompileTarget ,
12
12
configurable : true
13
13
} )
14
14
}
15
15
16
16
17
- module . exports = { registerAsyncapiCompileTarget }
17
+ module . exports = { register }
You can’t perform that action at this time.
0 commit comments