@medusajs/inventory 1.0.11 → 1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/inventory",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Inventory Module for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "test:unit": "jest --passWithNoTests"
32
32
  },
33
33
  "peerDependencies": {
34
- "@medusajs/medusa": "1.7.14",
34
+ "@medusajs/medusa": "1.7.15",
35
35
  "medusa-interfaces": "1.3.6"
36
36
  },
37
37
  "dependencies": {
@@ -1,3 +0,0 @@
1
- import { InternalModuleDeclaration, LoaderOptions } from "@medusajs/modules-sdk";
2
- declare const _default: ({ container }: LoaderOptions, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
3
- export default _default;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const services_1 = require("../services");
4
- const awilix_1 = require("awilix");
5
- exports.default = async ({ container }, moduleDeclaration) => {
6
- container.register({
7
- inventoryItemService: (0, awilix_1.asClass)(services_1.InventoryItemService).singleton(),
8
- inventoryLevelService: (0, awilix_1.asClass)(services_1.InventoryLevelService).singleton(),
9
- reservationItemService: (0, awilix_1.asClass)(services_1.ReservationItemService).singleton(),
10
- });
11
- };
12
- //# sourceMappingURL=container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/loaders/container.ts"],"names":[],"mappings":";;AAEA,0CAIoB;AAEpB,mCAAgC;AAEhC,kBAAe,KAAK,EAClB,EAAE,SAAS,EAAiB,EAC5B,iBAA6C,EAC9B,EAAE;IACjB,SAAS,CAAC,QAAQ,CAAC;QACjB,oBAAoB,EAAE,IAAA,gBAAO,EAAC,+BAAoB,CAAC,CAAC,SAAS,EAAE;QAC/D,qBAAqB,EAAE,IAAA,gBAAO,EAAC,gCAAqB,CAAC,CAAC,SAAS,EAAE;QACjE,sBAAsB,EAAE,IAAA,gBAAO,EAAC,iCAAsB,CAAC,CAAC,SAAS,EAAE;KACpE,CAAC,CAAA;AACJ,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from "./connection";
2
- export * from "./container";
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./connection"), exports);
18
- __exportStar(require("./container"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/loaders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,8CAA2B"}
@@ -1,3 +0,0 @@
1
- import * as setup from "./schema-migrations/1665748086258-inventory_setup";
2
- declare const _default: (typeof setup)[];
3
- export default _default;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- const setup = __importStar(require("./schema-migrations/1665748086258-inventory_setup"));
27
- exports.default = [setup];
28
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/migrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yFAA0E;AAE1E,kBAAe,CAAC,KAAK,CAAC,CAAA"}