Socket
Socket
Sign inDemoInstall

@alipay/faas-biz-server-sdk

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alipay/faas-biz-server-sdk - npm Package Compare versions

Comparing version 1.1.2-alpha.3 to 1.1.2

2

package.json
{
"name": "@alipay/faas-biz-server-sdk",
"version": "1.1.2-alpha.3",
"version": "1.1.2",
"description": "支付宝云开发业务 SDK(函数端)",

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

@@ -12,3 +12,3 @@ ## 云函数SDK

Websocket API 请[点击](./docs/WS.README.md)
Websocket API 请[点击](./WS.README.md)

@@ -15,0 +15,0 @@ #### getCurrentUser()

@@ -323,3 +323,3 @@

```js
const { FaasWebSocketIO } = require('@alipay/faas-biz-server-sdk');
const { FaasWebSocketIO } = require('@alipay/faas-biz-server-sdk');
const wsio = new FaasWebSocketIO();

@@ -361,2 +361,5 @@

}
if (event.payload === 'delete') {
await socket.delete();
}
})());

@@ -368,3 +371,3 @@ });

const socket = new wsio.Websocket({ connectionId: event.connectionId });
await socket.close();
await socket.delete();
})());

@@ -371,0 +374,0 @@ });

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