@izara_project/izara-core-library-service-schemas 1.0.85 → 1.0.87

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/package.json +8 -7
  2. package/src/Utils.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izara_project/izara-core-library-service-schemas",
3
- "version": "1.0.85",
3
+ "version": "1.0.87",
4
4
  "description": "Schemas for the service and objects it controls",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,16 +20,17 @@
20
20
  "testEnvironment": "node"
21
21
  },
22
22
  "dependencies": {
23
- "@aws-sdk/client-api-gateway": "^3.848.0",
24
- "@aws-sdk/client-lambda": "^3.851.0",
25
- "@aws-sdk/client-s3": "^3.850.0",
26
- "@aws-sdk/crc64-nvme-crt": "^3.848.0",
27
- "@izara_project/izara-core-library-core": "^1.0.19",
23
+ "@aws-sdk/client-api-gateway": "^3.862.0",
24
+ "@aws-sdk/client-apigatewayv2": "^3.862.0",
25
+ "@aws-sdk/client-lambda": "^3.862.0",
26
+ "@aws-sdk/client-s3": "^3.862.0",
27
+ "@aws-sdk/crc64-nvme-crt": "^3.862.0",
28
+ "@izara_project/izara-core-library-core": "^1.0.20",
28
29
  "@izara_project/izara-core-library-external-request": "^1.0.20",
29
30
  "@izara_project/izara-core-library-lambda": "^1.0.4",
30
31
  "@izara_project/izara-core-library-logger": "^1.0.7",
31
32
  "@izara_project/izara-shared-core": "^1.0.2",
32
- "@izara_project/izara-shared-service-schemas": "^1.0.27",
33
+ "@izara_project/izara-shared-service-schemas": "^1.0.28",
33
34
  "glob": "^11.0.3",
34
35
  "lodash": "^4.17.21",
35
36
  "object-hash": "^3.0.0",
package/src/Utils.js CHANGED
@@ -738,7 +738,6 @@ async function getApiLinksV1() {
738
738
  async function getApiLinksV2(objSchema) {
739
739
  try {
740
740
  const client = new ApiGatewayV2Client({ region: process.env.iz_region });
741
- const urls = [];
742
741
  const apiLink = {};
743
742
  let nextToken;
744
743
 
@@ -767,7 +766,7 @@ async function getApiLinksV2(objSchema) {
767
766
  const [method, path] = routeKeyParts;
768
767
  if (method === "POST" && path.endsWith("get")) {
769
768
  if (path.includes(consts.firstLetterLowerCase(objSchema.objectType))) {
770
- const fullUrl = `https://${apiId}.execute-api.${process.env.iz_region}.amazonaws.com${path}`;
769
+ const fullUrl = `https://${apiId}.execute-api.${process.env.iz_region}.amazonaws.com/${process.env.iz_serviceTag}${path}`;
771
770
  Object.assign(apiLink, { Url: fullUrl })
772
771
  }
773
772
  // urls.push({