api-elements
Advanced tools
Comparing version 0.2.2 to 0.2.3
# API Elements (JavaScript) CHANGELOG | ||
## 0.2.3 (2019-12-05) | ||
Internal changes. | ||
## 0.2.2 (2019-07-02) | ||
@@ -4,0 +8,0 @@ |
@@ -21,3 +21,3 @@ const { ArrayElement } = require('minim'); | ||
* @type ArraySlice | ||
* @memberof HttpMessagePayload.prototype | ||
* @memberof AuthScheme.prototype | ||
*/ | ||
@@ -31,3 +31,3 @@ get transitions() { | ||
* @type ArraySlice | ||
* @memberof HttpMessagePayload.prototype | ||
* @memberof AuthScheme.prototype | ||
*/ | ||
@@ -37,4 +37,18 @@ get members() { | ||
} | ||
/** | ||
* @name grantTypeValue | ||
* @memberof AuthScheme.prototype | ||
*/ | ||
get grantTypeValue() { | ||
const grantType = this.members.find(item => item.key.toValue() === 'grantType'); | ||
if (grantType && grantType.value) { | ||
return grantType.value.toValue(); | ||
} | ||
return undefined; | ||
} | ||
} | ||
module.exports = AuthScheme; |
{ | ||
"name": "api-elements", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "API Elements JavaScript", | ||
@@ -8,2 +8,6 @@ "author": "Apiary.io <support@apiary.io>", | ||
"main": "lib/api-elements.js", | ||
"files": [ | ||
"lib/*.js", | ||
"lib/elements/*.js" | ||
], | ||
"homepage": "https://github.com/apiaryio/api-elements.js/tree/master/packages/api-elements", | ||
@@ -32,3 +36,3 @@ "repository": { | ||
}, | ||
"gitHead": "c0fd7dd00ddf8320287461ff0ba4932d12f2e82e" | ||
"gitHead": "92e12bd81f6f5c873b411fa34e7df59cbe1dcc88" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45584
25
1067