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

@imedx/ics-imedx-chromely-plugin-intf-platform

Package Overview
Dependencies
Maintainers
20
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imedx/ics-imedx-chromely-plugin-intf-platform - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8-beta.1

12

dist/ics-imedx-chromely-plugin-intf-platform.es5.js
import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';
import IMedx from '@imedx/ics-imedx-core';

@@ -190,2 +189,5 @@ /******************************************************************************

};
IntfPlatform.use = function (request) {
IntfPlatform.request = request;
};
/**

@@ -207,3 +209,3 @@ * 获取接口信息

else {
return IMedx.request({
return IntfPlatform.request({
url: '/interface-platform/dict-interface/getInterfaceInfo',

@@ -230,3 +232,3 @@ method: 'post',

else {
return IMedx.request({
return IntfPlatform.request({
url: '/interface-platform/interface-config/getInterfaceConfigMap',

@@ -265,5 +267,5 @@ method: 'post',

*/
IntfPlatform.init = function (orgId, hbBasicClient) {
IntfPlatform.init = function (orgId) {
this.orgId = orgId;
this.hbbasic = hbBasicClient;
// this.hbbasic = hbBasicClient
// 初始化所有核心接口

@@ -270,0 +272,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface();

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/ics-chromely-js-sdk'), require('@imedx/ics-imedx-core')) :
typeof define === 'function' && define.amd ? define(['exports', '@icreate/ics-chromely-js-sdk', '@imedx/ics-imedx-core'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.IcsImedxChromelyPluginIntfPlatform = {}, global.IcsChromelyRequest, global.IMedxCore));
})(this, (function (exports, icsChromelyRequest, IMedx) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/ics-chromely-js-sdk')) :
typeof define === 'function' && define.amd ? define(['exports', '@icreate/ics-chromely-js-sdk'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.IcsImedxChromelyPluginIntfPlatform = {}, global.IcsChromelyRequest));
})(this, (function (exports, icsChromelyRequest) { 'use strict';

@@ -193,2 +193,5 @@ /******************************************************************************

};
IntfPlatform.use = function (request) {
IntfPlatform.request = request;
};
/**

@@ -210,3 +213,3 @@ * 获取接口信息

else {
return IMedx.request({
return IntfPlatform.request({
url: '/interface-platform/dict-interface/getInterfaceInfo',

@@ -233,3 +236,3 @@ method: 'post',

else {
return IMedx.request({
return IntfPlatform.request({
url: '/interface-platform/interface-config/getInterfaceConfigMap',

@@ -268,5 +271,5 @@ method: 'post',

*/
IntfPlatform.init = function (orgId, hbBasicClient) {
IntfPlatform.init = function (orgId) {
this.orgId = orgId;
this.hbbasic = hbBasicClient;
// this.hbbasic = hbBasicClient
// 初始化所有核心接口

@@ -273,0 +276,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface();

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

var InterfaceCore_1 = require("./interfaces/InterfaceCore");
var ics_imedx_core_1 = require("@imedx/ics-imedx-core");
var IntfPlatform = /** @class */ (function () {

@@ -41,2 +40,5 @@ function IntfPlatform() {

};
IntfPlatform.use = function (request) {
IntfPlatform.request = request;
};
/**

@@ -58,3 +60,3 @@ * 获取接口信息

else {
return ics_imedx_core_1.default.request({
return IntfPlatform.request({
url: '/interface-platform/dict-interface/getInterfaceInfo',

@@ -81,3 +83,3 @@ method: 'post',

else {
return ics_imedx_core_1.default.request({
return IntfPlatform.request({
url: '/interface-platform/interface-config/getInterfaceConfigMap',

@@ -116,5 +118,5 @@ method: 'post',

*/
IntfPlatform.init = function (orgId, hbBasicClient) {
IntfPlatform.init = function (orgId) {
this.orgId = orgId;
this.hbbasic = hbBasicClient;
// this.hbbasic = hbBasicClient
// 初始化所有核心接口

@@ -121,0 +123,0 @@ var coreInterfaces = IntfPlatform.getAllCoreInterface();

@@ -1,3 +0,3 @@

import HBBasicClient from '@icreate/hb-basic-js-sdk';
import { ConfigRecord, IInterfaceCore } from './interfaces/InterfaceCore';
import { AxiosInstance } from 'axios';
export default class IntfPlatform {

@@ -9,5 +9,5 @@ /**

/**
* hbbasic接口
* 请求对象
*/
private static hbbasic;
private static request;
/**

@@ -49,2 +49,3 @@ * 实现接口列表

private static GetInterfaceType;
static use(request: AxiosInstance): void;
/**

@@ -77,3 +78,3 @@ * 获取接口信息

*/
static init(orgId: string, hbBasicClient: HBBasicClient): Promise<any>;
static init(orgId: string): Promise<any>;
/**

@@ -80,0 +81,0 @@ *

{
"name": "@imedx/ics-imedx-chromely-plugin-intf-platform",
"version": "0.0.7",
"version": "0.0.8-beta.1",
"description": "",

@@ -131,8 +131,4 @@ "keywords": [],

"dependencies": {
"@icreate/hb-basic-js-sdk": "^0.0.17-beta.19",
"@icreate/ics-chromely-js-sdk": "^0.0.7-beat.7",
"@icreate/ics-chromely-plugin-core": "^0.0.20-beta.11",
"@imedx/ics-imedx-core": "^0.0.1-beta.31",
"@imedx/ics-imedx-intf-chs-js-sdk": "^0.0.3-beta.11"
"@icreate/ics-chromely-js-sdk": "^0.0.8"
}
}

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