Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hyperone/cli-core

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperone/cli-core - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

8

lib/auth.js

@@ -21,2 +21,4 @@

result.getConfiguration = async () => http.get(`${defaultAudience}/.well-known/openid-configuration`);
const refreshToken = async () => {

@@ -28,3 +30,3 @@ const refresh_token = await getRefreshToken();

}
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`);
const openid_configuration = await result.getConfiguration();
const token = await http.post(openid_configuration.token_endpoint, {

@@ -54,3 +56,3 @@ json: {

const exchange = async (audience, token, options = {}) => {
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`);
const openid_configuration = await result.getConfiguration();
return http.post(openid_configuration.token_endpoint, {

@@ -110,3 +112,3 @@ json: {

const token = await getAccessToken();
const openid_configuration = await http.get(`${defaultAudience}/.well-known/openid-configuration`);
const openid_configuration = await result.getConfiguration();
return http.post(openid_configuration.introspection_endpoint, {

@@ -113,0 +115,0 @@ json: {

{
"name": "@hyperone/cli-core",
"version": "2.0.4",
"version": "2.0.5",
"description": "",

@@ -8,3 +8,3 @@ "main": "index.js",

"@apidevtools/json-schema-ref-parser": "^9.0.3",
"@hyperone/cli-framework": "^2.0.4",
"@hyperone/cli-framework": "^2.0.5",
"abort-controller": "^3.0.0",

@@ -31,3 +31,3 @@ "camel-case": "^4.1.1",

"license": "MIT",
"gitHead": "6e7e9e3af14871e75cd1a6c44169924db05b3864"
"gitHead": "2b8bd95a08b8382d7ecb6a894e126b34b6f10e6c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc