@ooneex/service 1.1.4 → 1.1.6

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/README.md CHANGED
@@ -192,7 +192,7 @@ class MyRequestService {}
192
192
 
193
193
  ### Interfaces
194
194
 
195
- #### `IService<T>`
195
+ #### `IService`
196
196
 
197
197
  Interface for service implementations.
198
198
 
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- import{container as o,EContainerScope as t}from"@ooneex/container";var p={service:(e=t.Singleton)=>{return(r)=>{o.add(r,e)}}};export{p as decorator};
1
+ import{container as o,EContainerScope as t,injectable as p}from"@ooneex/container";var a={service:(r=t.Singleton)=>{return(e)=>{p()(e),o.add(e,r)}}};export{a as decorator};
2
2
 
3
- //# debugId=3B801C79CC058F6864756E2164756E21
3
+ //# debugId=CCFCDF06D1A3D2FF64756E2164756E21
package/dist/index.js.map CHANGED
@@ -2,9 +2,9 @@
2
2
  "version": 3,
3
3
  "sources": ["src/decorators.ts"],
4
4
  "sourcesContent": [
5
- "import { container, EContainerScope } from \"@ooneex/container\";\nimport type { ServiceClassType } from \"./types\";\n\nexport const decorator = {\n service: (scope: EContainerScope = EContainerScope.Singleton) => {\n return (target: ServiceClassType): void => {\n container.add(target, scope);\n };\n },\n};\n"
5
+ "import { container, EContainerScope, injectable } from \"@ooneex/container\";\nimport type { ServiceClassType } from \"./types\";\n\nexport const decorator = {\n service: (scope: EContainerScope = EContainerScope.Singleton) => {\n return (target: ServiceClassType): void => {\n injectable()(target);\n container.add(target, scope);\n };\n },\n};\n"
6
6
  ],
7
- "mappings": "AAAA,oBAAS,qBAAW,0BAGb,IAAM,EAAY,CACvB,QAAS,CAAC,EAAyB,EAAgB,YAAc,CAC/D,MAAO,CAAC,IAAmC,CACzC,EAAU,IAAI,EAAQ,CAAK,GAGjC",
8
- "debugId": "3B801C79CC058F6864756E2164756E21",
7
+ "mappings": "AAAA,oBAAS,qBAAW,gBAAiB,0BAG9B,IAAM,EAAY,CACvB,QAAS,CAAC,EAAyB,EAAgB,YAAc,CAC/D,MAAO,CAAC,IAAmC,CACzC,EAAW,EAAE,CAAM,EACnB,EAAU,IAAI,EAAQ,CAAK,GAGjC",
8
+ "debugId": "CCFCDF06D1A3D2FF64756E2164756E21",
9
9
  "names": []
10
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ooneex/service",
3
3
  "description": "Service layer foundation with decorator-based registration and dependency injection for encapsulating business logic and domain operations",
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",