nextemos 5.0.16 → 5.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.
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.AddressService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  // Address Servisi
41
44
  exports.AddressService = {
42
45
  Namespace: K8S_NAMESPACE,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.BannerService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.BannerService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.BANNER}.${exports.BannerService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.BlogService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.BlogService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.BLOG}.${exports.BlogService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.CampaignService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../../");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.CampaignService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.CAMPAIGN}.${exports.CampaignService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.EnvironmentService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.EnvironmentService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.ENVIRONMENT}.${exports.EnvironmentService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.LocalizationService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.LocalizationService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.LOCALIZATION}.${exports.LocalizationService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.MemberService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.MemberService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.MEMBER}.${exports.MemberService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.NotificationService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.NotificationService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.NOTIFICATION}.${exports.NotificationService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.OrderManagementService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.OrderManagementService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.ORDER_MANAGEMENT}.${exports.OrderManagementService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.PaymentService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../../");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.PaymentService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.PAYMENT}.${exports.PaymentService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.PredictionService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.PredictionService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.PREDICTION}.${exports.PredictionService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.ProductService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.ProductService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.PRODUCT}.${exports.ProductService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.RouteService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.RouteService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.ROUTE}.${exports.RouteService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.ShoppingCartService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.ShoppingCartService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.SHOPPING_CART}.${exports.ShoppingCartService.Namespace}.svc.cluster.local`,
@@ -31,12 +31,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
31
31
  step((generator = generator.apply(thisArg, _arguments || [])).next());
32
32
  });
33
33
  };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
34
37
  Object.defineProperty(exports, "__esModule", { value: true });
35
38
  exports.StockService = void 0;
36
39
  const urls_1 = __importStar(require("../urls"));
37
40
  const __1 = require("../..");
38
- const helpers_1 = require("nextemos/helpers");
39
- const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = helpers_1.NEXTEMOS_CONFIG;
41
+ const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
+ const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
40
43
  exports.StockService = {
41
44
  Namespace: K8S_NAMESPACE,
42
45
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.STOCK}.${exports.StockService.Namespace}.svc.cluster.local`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "5.0.16",
3
+ "version": "5.0.17",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",