New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mybricks/sdk-for-app

Package Overview
Dependencies
Maintainers
8
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mybricks/sdk-for-app - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

2

package.json
{
"name": "@mybricks/sdk-for-app",
"version": "0.0.23",
"version": "0.0.24",
"description": "SDK for application UI",

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

@@ -75,7 +75,7 @@ import axios from 'axios';

}).then(({ data }) => {
const { code } = data ?? {};
const { code, msg, message } = data ?? {};
if (code === API_CODE.SUCCESS) {
return true
} else {
throw new Error('执行系统任务失败')
throw new Error(msg || message || '执行任务失败')
}

@@ -82,0 +82,0 @@ })

@@ -10,3 +10,3 @@ import { ReactElement } from "react";

children: ReactElement;
extName: "pc-page" | "cloud-com" | "material";
extName: "pc-page" | "cloud-com" | "mybricks-material" | "string";
className?: string;

@@ -13,0 +13,0 @@ // 应用空间

Sorry, the diff of this file is not supported yet

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