node-red-contrib-typescript 1.0.16 → 1.0.17

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": "node-red-contrib-typescript",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "author": "kezziny",
6
6
  "license": "ISC",
@@ -130,14 +130,14 @@
130
130
  nodes
131
131
  .filter(node => node.z === id)
132
132
  .forEach(node => {
133
- imports[`/${this.getName(node)}.ts`] = node.code;
133
+ imports[`/${getName(node)}.ts`] = node.code;
134
134
  });
135
135
  subflowNodes
136
136
  .filter(node => node.z === id)
137
137
  .forEach(node => {
138
138
  let subImports = resolveFlow(node.type.split(":")[1]);
139
139
  for (let key in subImports) {
140
- imports[`/${this.getName(node)}${key}`] = subImports[key];
140
+ imports[`/${getName(node)}${key}`] = subImports[key];
141
141
  }
142
142
  });
143
143
  return imports;