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

@wecom/cloudbase-framework-plugin-callback

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wecom/cloudbase-framework-plugin-callback - npm Package Compare versions

Comparing version 0.3.0-alpha.10 to 0.3.0-alpha.11

1

lib/handlers/cancelAuth.js

@@ -10,3 +10,2 @@ "use strict";

'ww-agent-jsapi-ticket',
'ww-session',
];

@@ -13,0 +12,0 @@ /**

2

lib/handlers/createAuth.d.ts

@@ -6,2 +6,2 @@ /**

*/
export declare function handleCreateAuth(data: any, id: string): Promise<any>;
export declare function handleCreateAuth(data: any, id: string): Promise<import("@wecom/cloudbase-framework-plugin-actions").ConsumeAuthCodeRes>;

@@ -14,8 +14,14 @@ "use strict";

}
const { authInfo } = await cloudbase_framework_plugin_actions_1.createAuth({
const res = await cloudbase_framework_plugin_actions_1.consumeAuthCode({
suiteId: id,
code: data.AuthCode,
});
return authInfo;
await cloudbase_framework_plugin_actions_1.setAuthInfo({
suiteId: id,
corpId: res.corpId,
agentId: res.agentId,
permanentCode: res.permanentCode,
});
return res;
}
exports.handleCreateAuth = handleCreateAuth;
{
"name": "@wecom/cloudbase-framework-plugin-callback",
"version": "0.3.0-alpha.10",
"version": "0.3.0-alpha.11",
"main": "lib/index.js",

@@ -16,4 +16,4 @@ "types": "lib/index.d.ts",

"@cloudbase/node-sdk": "^2.3.5",
"@wecom/cloudbase-framework-plugin-actions": "0.3.0-alpha.10",
"@wecom/cloudbase-framework-plugin-util": "0.3.0-alpha.10",
"@wecom/cloudbase-framework-plugin-actions": "0.3.0-alpha.11",
"@wecom/cloudbase-framework-plugin-util": "0.3.0-alpha.11",
"fast-xml-parser": "^3.17.4"

@@ -20,0 +20,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