🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

api-gen-cli

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-gen-cli - npm Package Compare versions

Comparing version
0.0.15
to
0.0.16
+1
-1
package.json
{
"name": "api-gen-cli",
"version": "0.0.15",
"version": "0.0.16",
"description": "api-gw",

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

@@ -16,3 +16,3 @@ import Axios, { AxiosInstance, AxiosRequestConfig } from 'axios'

const DOMIN_BIZ = '__BIZ__';
const DOMIN_HTTP = '__HTTP__'
const DOMIN_HTTP = '__HTTP__';
export class ApiError {

@@ -149,3 +149,5 @@ code: number;

const commonParams = this.onCommonParameter ? this.onCommonParameter() : {}
const _params: Params = {
...commonParams,
timestamp,

@@ -268,2 +270,7 @@ [CommonParameter.signatureMethod]: sm,

/**
* 通用参数
*/
onCommonParameter?: () => Record<string, string | number>
/**
* 清除token等相关缓存信息

@@ -270,0 +277,0 @@ */