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

@imedx/ics-chromely-plugin-imedx

Package Overview
Dependencies
Maintainers
15
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.0.0-beta.7 to 0.0.0-beta.8

21

dist/ics-chromely-plugin-imedx.es5.js

@@ -27,2 +27,6 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';

};
IMedxHelper.use = function (_a) {
var hbRequest = _a.hbRequest;
this.HBRequest = hbRequest;
};
/**

@@ -71,4 +75,6 @@ * @description: 获取本地时间

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/list/sign
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/get/sign
return this.HBRequest.api.getUserSign({ id: staffId }).then(function (res) {
return res.data;
});
}

@@ -88,4 +94,11 @@ };

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/list/logo
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/get/logo
return this.HBRequest.api.getOrgLogo({ id: orgId }).then(function (res) {
if (type === LogoType.oblong) {
return Promise.resolve(res.data.oblongLogo);
}
else {
return Promise.resolve(res.data.squareLogo);
}
});
}

@@ -92,0 +105,0 @@ };

@@ -35,2 +35,6 @@ (function (global, factory) {

};
IMedxHelper.use = function (_a) {
var hbRequest = _a.hbRequest;
this.HBRequest = hbRequest;
};
/**

@@ -79,4 +83,6 @@ * @description: 获取本地时间

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/list/sign
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/get/sign
return this.HBRequest.api.getUserSign({ id: staffId }).then(function (res) {
return res.data;
});
}

@@ -96,4 +102,11 @@ };

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/list/logo
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/get/logo
return this.HBRequest.api.getOrgLogo({ id: orgId }).then(function (res) {
if (type === exports.LogoType.oblong) {
return Promise.resolve(res.data.oblongLogo);
}
else {
return Promise.resolve(res.data.squareLogo);
}
});
}

@@ -100,0 +113,0 @@ };

@@ -23,2 +23,6 @@ "use strict";

};
IMedxHelper.use = function (_a) {
var hbRequest = _a.hbRequest;
this.HBRequest = hbRequest;
};
/**

@@ -67,4 +71,6 @@ * @description: 获取本地时间

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/list/sign
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/user/get/sign
return this.HBRequest.api.getUserSign({ id: staffId }).then(function (res) {
return res.data;
});
}

@@ -84,4 +90,11 @@ };

else {
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/list/logo
return Promise.resolve('');
// TODO 调用 hb-basic-js-sdk Api hbbasic/org/get/logo
return this.HBRequest.api.getOrgLogo({ id: orgId }).then(function (res) {
if (type === interfaces_1.LogoType.oblong) {
return Promise.resolve(res.data.oblongLogo);
}
else {
return Promise.resolve(res.data.squareLogo);
}
});
}

@@ -88,0 +101,0 @@ };

@@ -6,2 +6,9 @@ import { LogoType } from '../interfaces/interfaces';

/**
* 传过来的axios实例
*/
private static HBRequest;
static use({ hbRequest }: {
hbRequest: any;
}): void;
/**
* @description: 获取本地时间

@@ -8,0 +15,0 @@ */

2

package.json
{
"name": "@imedx/ics-chromely-plugin-imedx",
"version": "0.0.0-beta.7",
"version": "0.0.0-beta.8",
"description": "提供获取IMedx客户端本地信息,例如当前日期时间等",

@@ -5,0 +5,0 @@ "keywords": [],

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