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

onchain-sdk

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onchain-sdk - npm Package Compare versions

Comparing version 0.0.12 to 0.0.14

lib/src/utils/plmUtils/GeneralUtils.d.ts

7

lib/src/utils/plmUtils/CommonUtils.d.ts

@@ -0,1 +1,2 @@

import GeneralUtils, { node_request } from './GeneralUtils';
declare namespace API.parmas {

@@ -8,8 +9,6 @@ type login = {

}
declare class CommonUtils {
baseUrl: string;
fetch: any;
constructor({ baseUrl: baseUrl, fetch: fetch }: any);
declare class CommonUtils extends GeneralUtils {
constructor(data: node_request);
getToken(data: API.parmas.login): Promise<any>;
}
export default CommonUtils;
import { TabInfo } from '../../hooks/useTabInfo/type';
import { APP } from '../../typings';
declare class InstanceUtils {
constructor();
import GeneralUtils, { node_request } from './GeneralUtils';
export interface instanceInter {
params: {};
}
declare class InstanceUtils extends GeneralUtils {
constructor(data: node_request);
/**
* 初始化实例
*/
initInstance(): void;
/**
* 获取实例
*/
getInstanceInfo({ instanceId, tabCode, authCode, version, versionOrder, userId, tenantId, }: {
instanceId: string;
tabCode: string;
authCode: string;
version: string;
versionOrder: string;
userId: string;
tenantId: string;
}): Promise<any>;
/**
* 处理实例的版本
*/
getInstanceVersion({ instanceId }: {
instanceId: string;
}): Promise<{
/**版本列表 */
versions: any;
orderVersionMap: any;
versionOrders: any;
orderPreVersionMap: any;
versionOrderMap: any;
}>;
/**
* 判断页签是否可以编辑

@@ -7,0 +40,0 @@ */

{
"name": "onchain-sdk",
"private": false,
"version": "0.0.12",
"version": "0.0.14",
"scripts": {

@@ -6,0 +6,0 @@ "start": "umi dev",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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