@fiado/api-invoker 1.0.1 → 1.0.3

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.
@@ -0,0 +1,2 @@
1
+ import { Container } from "inversify";
2
+ export declare const apiInvokerContainer: Container;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.apiInvokerContainer = void 0;
4
+ const inversify_1 = require("inversify");
5
+ const directory_1 = require("./directory");
6
+ exports.apiInvokerContainer = new inversify_1.Container();
7
+ exports.apiInvokerContainer.bind("IDirectoryApi").to(directory_1.DirectoryApi);
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
- // IDirectoryService.ts
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
package/bin/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './directory';
2
+ export * from "./container.config";
package/bin/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./directory"), exports);
18
+ __exportStar(require("./container.config"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/api-invoker",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a traves de invocaciones http",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,8 @@
1
+
2
+ import { Container } from "inversify";
3
+ import { DirectoryApi, IDirectoryApi } from "./directory";
4
+
5
+
6
+ export const apiInvokerContainer = new Container();
7
+
8
+ apiInvokerContainer.bind<IDirectoryApi>("IDirectoryApi").to(DirectoryApi);
@@ -1,4 +1,3 @@
1
- // IDirectoryService.ts
2
1
 
3
2
  /**
4
3
  * Interfaz para el servicio Directory que permite operaciones sobre directorios.
package/src/index.ts CHANGED
@@ -2,5 +2,7 @@
2
2
 
3
3
 
4
4
  export * from './directory';
5
+ export * from "./container.config";
6
+
5
7
 
6
8