@izara_project/izara-core-generate-service-code 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izara_project/izara-core-generate-service-code",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Code for locally generating per service files",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,10 +35,6 @@ const templatePath = path.join(__dirname, 'template.ejs');
35
35
  * @return {{templatePath, templateData,setting}}
36
36
  */
37
37
 
38
- async function data(_izContext, flowSchema, srcPath) {
39
- return [createSourceParams(_izContext, flowSchema, srcPath)];
40
- }
41
-
42
38
  function createSourceParams(_izContext, flowSchema, srcPath) {
43
39
  let functionName = 'Process' + upperCase(flowSchema.flowTag);
44
40
  let handlerType = upperCase(HANDLER.hdrSqs);
@@ -65,4 +61,4 @@ function createSourceParams(_izContext, flowSchema, srcPath) {
65
61
  };
66
62
  }
67
63
 
68
- export default data;
64
+ export default createSourceParams;
@@ -28,7 +28,7 @@ const { firstLetterUpperCase: upperCase } = utils;
28
28
 
29
29
  const templatePath = path.join(
30
30
  __dirname,
31
- '../../../resourceYaml/sns-out/template.ejs'
31
+ '../../../../resourceYaml/sns-out/template.ejs'
32
32
  );
33
33
 
34
34
  /**