Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit ac7cd9f

Browse files
author
Torsten Link
committed
feat(service API): Adapted the step to the new Service manager and Step API
BREAKING CHANGE: Changed to the new API
1 parent 5e8ba26 commit ac7cd9f

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@ const Interceptor = require('./lib/interceptor').Interceptor;
55

66
exports.Interceptor = Interceptor;
77

8-
exports.registerWithManager = function (manager) {
9-
manager.registerInterceptor(Interceptor);
10-
};
8+
exports.registerWithManager = manager => manager.registerInterceptor(Interceptor);

package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,26 @@
1919
"homepage": "https://github.com/Kronos-Integration/kronos-interceptor-object-data-processor-chunk#readme",
2020
"dependencies": {
2121
"md5": " 2.0.0",
22-
"kronos-interceptor": "^1.4.0",
22+
"kronos-interceptor": "2.0.1",
2323
"z-schema": "3.16.1"
2424
},
2525
"devDependencies": {
2626
"chai": "3.5.0",
2727
"clone-deep": "0.2.4",
2828
"istanbul": "0.4.2",
2929
"jsdoc": "3.4.0",
30-
"kronos-test-interceptor": "^1.7.0",
30+
"kronos-test-interceptor": "2.0.2",
3131
"mocha": "2.4.5",
3232
"semantic-release": "6.2.0",
3333
"underscore": "1.8.3"
3434
},
35-
"contributors": [
36-
{
37-
"name": "Torsten Link",
38-
"email": "[email protected]"
39-
},
40-
{
41-
"name": "Markus Felten",
42-
"email": "[email protected]"
43-
}
44-
],
35+
"contributors": [{
36+
"name": "Torsten Link",
37+
"email": "[email protected]"
38+
}, {
39+
"name": "Markus Felten",
40+
"email": "[email protected]"
41+
}],
4542
"license": "BSD-2-Clause",
4643
"engines": {
4744
"node": ">=5"
@@ -52,4 +49,4 @@
5249
"parser",
5350
"kronos-interceptor"
5451
]
55-
}
52+
}

0 commit comments

Comments
 (0)