apigee-x-module
Advanced tools
Comparing version 0.4.12 to 0.4.13
@@ -27,3 +27,10 @@ "use strict"; | ||
apigeeProducts.apiProduct.forEach(apigeeProduct => { | ||
products.apiProducts.push(apigeeProduct); | ||
let apiProduct = apigeeProduct; | ||
for (const attr of apigeeProduct.attributes) { | ||
if (attr.name === "image") | ||
apiProduct.imageUrl = attr.value; | ||
if (attr.name === "spec") | ||
apiProduct.specUrl = attr.value; | ||
} | ||
products.apiProducts.push(apiProduct); | ||
}); | ||
@@ -51,2 +58,8 @@ resolve(products); | ||
let apiProduct = apigeeApiProduct; | ||
for (const attr of apigeeApiProduct.attributes) { | ||
if (attr.name === "image") | ||
apiProduct.imageUrl = attr.value; | ||
if (attr.name === "spec") | ||
apiProduct.specUrl = attr.value; | ||
} | ||
resolve(apiProduct); | ||
@@ -53,0 +66,0 @@ }).catch((error) => { |
@@ -63,3 +63,3 @@ interface ApigeeApiProducts { | ||
approvalType: string; | ||
image?: string; | ||
imageUrl?: string; | ||
specUrl?: string; | ||
@@ -66,0 +66,0 @@ status?: string; |
{ | ||
"name": "apigee-x-module", | ||
"version": "0.4.12", | ||
"version": "0.4.13", | ||
"description": "Module for integrating with the Apigee X platform for TS/JS developer portal integrations.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/tyayers/apigee-x-module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43150
718