hypertune
Advanced tools
Comparing version 2.2.0 to 2.2.1-alpha
@@ -176,3 +176,3 @@ "use strict"; | ||
function envNameToOptionName(envName) { | ||
const afterPrefix = envName.replace(/^(.*_)?HYPERTUNE_/, ""); | ||
const afterPrefix = envName.replace(/^HYPERTUNE_/, ""); | ||
return afterPrefix | ||
@@ -179,0 +179,0 @@ .toLowerCase() |
@@ -31,3 +31,3 @@ "use strict"; | ||
const response = JSON.parse(responseString); | ||
if (!response.code) { | ||
if (!response.files) { | ||
throw new Error(`[codegenRequest] unexpected response: ${responseString}`); | ||
@@ -34,0 +34,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** Replaced by the value in package.json on build */ | ||
exports.default = "2.2.0"; | ||
exports.default = "2.2.1-alpha"; | ||
//# sourceMappingURL=sdkVersion.js.map |
{ | ||
"name": "hypertune", | ||
"version": "2.2.0", | ||
"version": "2.2.1-alpha", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -233,3 +233,3 @@ /* eslint-disable no-underscore-dangle */ | ||
function envNameToOptionName(envName: string): string { | ||
const afterPrefix = envName.replace(/^(.*_)?HYPERTUNE_/, ""); | ||
const afterPrefix = envName.replace(/^HYPERTUNE_/, ""); | ||
return afterPrefix | ||
@@ -236,0 +236,0 @@ .toLowerCase() |
@@ -65,3 +65,3 @@ import { | ||
const response = JSON.parse(responseString) as CodegenResponseBody; | ||
if (!response.code) { | ||
if (!response.files) { | ||
throw new Error(`[codegenRequest] unexpected response: ${responseString}`); | ||
@@ -68,0 +68,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
2