soonjs 0.0.11 → 0.0.12

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5426,8 +5426,7 @@ function lK(e) {
5426
5426
  + '\\n };';
5427
5427
 
5428
5428
  const serviecsImport = exportedServices.filter(v => v.services.length).map(v => \`import { \${v.services.map(vv => \`\${vv.key} as \${vv.importName}\`).join(', ')} } from '\${v.importPath}';\`).join('\\n');
5429
- const servicesContent = exportedServices.filter(v => v.services.length).map(v => v.services.map(vv => \` '\${vv.serviceName}' : ReturnRealType<typeof \${vv.importName}>;\`).join('
5430
- ')).join('\\n');
5429
+ const servicesContent = exportedServices.filter(v => v.services.length).map(v => v.services.map(vv => \` '\${vv.serviceName}' : ReturnRealType<typeof \${vv.importName}>;\`).join('\\n')).join('\\n');
5431
5430
  const servicesType = \`
5432
5431
  type services = {
5433
5432
  \` + servicesContent + '\\n };';
@@ -5436,8 +5435,7 @@ function lK(e) {
5436
5435
 
5437
5436
  /** server **/
5438
5437
  const autoInjectServiecsImport = autoInjectServices.filter(v => v.services.length).map(v => \`import { \${v.services.map(vv => \`\${vv.key} as \${vv.importName}\`).join(', ')} } from '\${v.importPath}';\`).join('\\n');
5439
- const autoInjectServicesContent = autoInjectServices.filter(v => v.services.length).map(v => v.services.map(vv => \` '\${vv.serviceName}' : ReturnRealType<typeof \${vv.importName}>;\`).join('
5440
- ')).join('\\n');
5438
+ const autoInjectServicesContent = autoInjectServices.filter(v => v.services.length).map(v => v.services.map(vv => \` '\${vv.serviceName}' : ReturnRealType<typeof \${vv.importName}>;\`).join('\\n')).join('\\n');
5441
5439
  const contentServerDts = \`${K1}\`;
5442
5440
  const contentServerTypes = \`${q1}\`.replace('$$$services-imports$$$', autoInjectServiecsImport).replace('$$$services-content$$$', autoInjectServicesContent);
5443
5441
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonjs",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",