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

youzanyun-open-sdk

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youzanyun-open-sdk - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

12

lib/token/manager.js

@@ -15,2 +15,3 @@ const delay = require('delay');

env,
appName,
tokenHost

@@ -23,4 +24,6 @@ }) {

this.httpClient = httpClient;
this.tokenLockKey = `yzy_${env}_token_lock`;
this.tokenKdtsKey = `yzy_${env}_token_kdts`;
this.tokenLockKey = `yzy_${appName}_${env}_token_lock`;
this.tokenKdtsKey = `yzy_${appName}_${env}_token_kdts`;
this.env = env;
this.appName = appName;

@@ -38,3 +41,3 @@ this.tokenService = new Token({

this.cloudType = CloudTypeSelf;
this.tokenCacheKeyPrefix = `yzy_${env}_token_${CloudTypeSelf}_`;
this.tokenCacheKeyPrefix = `yzy_${this.appName}_${this.env}_token_${CloudTypeSelf}_`;
}

@@ -50,3 +53,3 @@

this.cloudType = CloudTypeTool;
this.tokenCacheKeyPrefix = `yzy_${env}_token_${CloudTypeTool}_`;
this.tokenCacheKeyPrefix = `yzy_${this.appName}_${this.env}_token_${CloudTypeTool}_`;
}

@@ -123,3 +126,2 @@

}
// 刷新

@@ -126,0 +128,0 @@ let newtoken = await this.tokenService.refreshCloudToolToken(token.refresh_token);

{
"name": "youzanyun-open-sdk",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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