Socket
Socket
Sign inDemoInstall

@tuby/webapi

Package Overview
Dependencies
2
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.20 to 1.0.21

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [1.0.21](/compare/v1.0.20...v1.0.21) (2021-08-12)
### Bug Fixes
* fix bug 9c13d63
## [1.0.20](/compare/v1.0.19...v1.0.20) (2021-08-12)

@@ -2,0 +11,0 @@

11

index.d.ts

@@ -5,3 +5,3 @@ /*

* @Date: 2021-07-07 20:01:22
* @LastEditTime: 2021-08-12 10:51:29
* @LastEditTime: 2021-08-12 11:14:31
* @Descripttion:

@@ -130,3 +130,12 @@ */

deleteOne(params:Object,key?:string): Promise<any>
/**
* @description: 条件删除
* @param {params}
* res指定资源
* data:指定删除条件
* @return {Promise<any>}
*/
deleteOne(params:Object): Promise<any>
/**
* @description: 批量删除

@@ -133,0 +142,0 @@ * @param {params}

@@ -237,2 +237,14 @@ "use strict";

}, {
key: "deleteCond",
value: function deleteCond(obj) {
return this.request({
url: '/' + obj.res + '/cond',
method: 'delete',
params: obj.data,
headers: _objectSpread(_objectSpread(_objectSpread({}, this.headers), obj.headers), {}, {
'Authorization': this.token
})
});
}
}, {
key: "deleteMuch",

@@ -239,0 +251,0 @@ value: function deleteMuch(obj) {

2

package.json
{
"name": "@tuby/webapi",
"version": "1.0.20",
"version": "1.0.21",
"description": "tuby webapi server visit lib",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc