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

@icreate/ics-chromely-plugin-core

Package Overview
Dependencies
Maintainers
6
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@icreate/ics-chromely-plugin-core - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

36

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

@@ -35,3 +35,3 @@ import { LogLevels } from '@icreate/core';

return icsChromelyRequest.function({
url: "logger/" + LogLevels[logLevel].toLowerCase(),
url: "logger/".concat(LogLevels[logLevel].toLowerCase()),
method: 'POST',

@@ -97,3 +97,3 @@ data: { logObject: logObject, logPath: this.logPath }

var opts = {
url: "Browser/Open" + type,
url: "Browser/Open".concat(type),
data: { url: url }

@@ -137,6 +137,6 @@ };

* @Date: 2022-02-11 23:39:46
* @LastEditors: 刘邓
* @LastEditTime: 2022-05-09 14:12:19
* @LastEditors: 文贝
* @LastEditTime: 2022-09-01 16:52:17
* @Descripttion:
* @FilePath: \src\core\window.ts
* @FilePath: \ics-chromely-plugin-core\src\core\window.ts
*/

@@ -148,3 +148,3 @@ var Window = /** @class */ (function () {

var opts = {
url: "window/" + url
url: "window/".concat(url)
};

@@ -156,3 +156,3 @@ icsChromelyRequest.command(opts);

return icsChromelyRequest.function({
url: "window/" + url,
url: "window/".concat(url),
method: 'GET'

@@ -197,2 +197,14 @@ });

};
/**
* @description: 关闭闪屏
*/
Window.CloseSplash = function () {
this.Operate('splash/close');
};
/**
* @description: 重绘闪屏
*/
Window.RedrawSplash = function () {
this.Operate('splash/redraw');
};
return Window;

@@ -286,3 +298,3 @@ }());

return icsChromelyRequest.function({
url: "Printer/" + url,
url: "Printer/".concat(url),
method: 'GET',

@@ -320,3 +332,3 @@ data: data

return icsChromelyRequest.function({
url: "Hardware/" + type,
url: "Hardware/".concat(type),
method: 'GET',

@@ -328,3 +340,3 @@ data: data

var opts = {
url: "Hardware/" + url
url: "Hardware/".concat(url)
};

@@ -390,3 +402,3 @@ icsChromelyRequest.command(opts);

return icsChromelyRequest.function({
url: "Regedit/" + url,
url: "Regedit/".concat(url),
method: 'GET',

@@ -479,3 +491,3 @@ data: data

export { Logger as LocalLogger, Browser as BrowserHelper, Window as WindowHelper, Printer as PrinterHelper, Hardware as HardwareHelper, Regedit as RegeditHelper, ConfigHelper, chromely as Chromely };
export { Browser as BrowserHelper, chromely as Chromely, ConfigHelper, Hardware as HardwareHelper, Logger as LocalLogger, Printer as PrinterHelper, Regedit as RegeditHelper, Window as WindowHelper };
//# sourceMappingURL=ics-chromely-plugin-core.es5.js.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/core'), require('@icreate/ics-chromely-js-sdk')) :
typeof define === 'function' && define.amd ? define(['exports', '@icreate/core', '@icreate/ics-chromely-js-sdk'], factory) :
(factory((global.icsChromelyPluginCore = {}),global.core,global.icsChromelyRequest));
}(this, (function (exports,core,icsChromelyRequest) { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.icsChromelyPluginCore = {}, global.core, global.icsChromelyRequest));
})(this, (function (exports, core, icsChromelyRequest) { 'use strict';
icsChromelyRequest = icsChromelyRequest && icsChromelyRequest.hasOwnProperty('default') ? icsChromelyRequest['default'] : icsChromelyRequest;
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var icsChromelyRequest__default = /*#__PURE__*/_interopDefaultLegacy(icsChromelyRequest);
/*

@@ -39,4 +41,4 @@ * @Author: 文贝

// console.log(opts)
return icsChromelyRequest.function({
url: "logger/" + core.LogLevels[logLevel].toLowerCase(),
return icsChromelyRequest__default["default"].function({
url: "logger/".concat(core.LogLevels[logLevel].toLowerCase()),
method: 'POST',

@@ -102,6 +104,6 @@ data: { logObject: logObject, logPath: this.logPath }

var opts = {
url: "Browser/Open" + type,
url: "Browser/Open".concat(type),
data: { url: url }
};
icsChromelyRequest.command(opts);
icsChromelyRequest__default["default"].command(opts);
};

@@ -142,6 +144,6 @@ /**

* @Date: 2022-02-11 23:39:46
* @LastEditors: 刘邓
* @LastEditTime: 2022-05-09 14:12:19
* @LastEditors: 文贝
* @LastEditTime: 2022-09-01 16:52:17
* @Descripttion:
* @FilePath: \src\core\window.ts
* @FilePath: \ics-chromely-plugin-core\src\core\window.ts
*/

@@ -153,10 +155,10 @@ var Window = /** @class */ (function () {

var opts = {
url: "window/" + url
url: "window/".concat(url)
};
icsChromelyRequest.command(opts);
icsChromelyRequest__default["default"].command(opts);
};
Window.OperateEx = function (url) {
// let opts =
return icsChromelyRequest.function({
url: "window/" + url,
return icsChromelyRequest__default["default"].function({
url: "window/".concat(url),
method: 'GET'

@@ -201,2 +203,14 @@ });

};
/**
* @description: 关闭闪屏
*/
Window.CloseSplash = function () {
this.Operate('splash/close');
};
/**
* @description: 重绘闪屏
*/
Window.RedrawSplash = function () {
this.Operate('splash/redraw');
};
return Window;

@@ -289,4 +303,4 @@ }());

// let opts =
return icsChromelyRequest.function({
url: "Printer/" + url,
return icsChromelyRequest__default["default"].function({
url: "Printer/".concat(url),
method: 'GET',

@@ -323,4 +337,4 @@ data: data

Hardware.OperateEx = function (type, data) {
return icsChromelyRequest.function({
url: "Hardware/" + type,
return icsChromelyRequest__default["default"].function({
url: "Hardware/".concat(type),
method: 'GET',

@@ -332,5 +346,5 @@ data: data

var opts = {
url: "Hardware/" + url
url: "Hardware/".concat(url)
};
icsChromelyRequest.command(opts);
icsChromelyRequest__default["default"].command(opts);
};

@@ -393,4 +407,4 @@ // 获取本机Mac地址

// let opts =
return icsChromelyRequest.function({
url: "Regedit/" + url,
return icsChromelyRequest__default["default"].function({
url: "Regedit/".concat(url),
method: 'GET',

@@ -434,3 +448,3 @@ data: data

ConfigHelper.OperateEx = function (key) {
return icsChromelyRequest.function({
return icsChromelyRequest__default["default"].function({
url: "Config/Get",

@@ -484,14 +498,14 @@ method: 'GET',

exports.BrowserHelper = Browser;
exports.Chromely = chromely;
exports.ConfigHelper = ConfigHelper;
exports.HardwareHelper = Hardware;
exports.LocalLogger = Logger;
exports.BrowserHelper = Browser;
exports.WindowHelper = Window;
exports.PrinterHelper = Printer;
exports.HardwareHelper = Hardware;
exports.RegeditHelper = Regedit;
exports.ConfigHelper = ConfigHelper;
exports.Chromely = chromely;
exports.WindowHelper = Window;
Object.defineProperty(exports, '__esModule', { value: true });
})));
}));
//# sourceMappingURL=ics-chromely-plugin-core.umd.js.map

@@ -17,3 +17,3 @@ "use strict";

var opts = {
url: "Browser/Open" + type,
url: "Browser/Open".concat(type),
data: { url: url }

@@ -20,0 +20,0 @@ };

@@ -17,3 +17,3 @@ "use strict";

return ics_chromely_js_sdk_1.default.function({
url: "Hardware/" + type,
url: "Hardware/".concat(type),
method: 'GET',

@@ -25,3 +25,3 @@ data: data

var opts = {
url: "Hardware/" + url
url: "Hardware/".concat(url)
};

@@ -28,0 +28,0 @@ ics_chromely_js_sdk_1.default.command(opts);

@@ -36,3 +36,3 @@ "use strict";

return ics_chromely_js_sdk_1.default.function({
url: "logger/" + core_1.LogLevels[logLevel].toLowerCase(),
url: "logger/".concat(core_1.LogLevels[logLevel].toLowerCase()),
method: 'POST',

@@ -39,0 +39,0 @@ data: { logObject: logObject, logPath: this.logPath }

@@ -18,3 +18,3 @@ "use strict";

return ics_chromely_js_sdk_1.default.function({
url: "Printer/" + url,
url: "Printer/".concat(url),
method: 'GET',

@@ -21,0 +21,0 @@ data: data

@@ -18,3 +18,3 @@ "use strict";

return ics_chromely_js_sdk_1.default.function({
url: "Regedit/" + url,
url: "Regedit/".concat(url),
method: 'GET',

@@ -21,0 +21,0 @@ data: data

@@ -5,6 +5,6 @@ "use strict";

* @Date: 2022-02-11 23:39:46
* @LastEditors: 刘邓
* @LastEditTime: 2022-05-09 14:12:19
* @LastEditors: 文贝
* @LastEditTime: 2022-09-01 16:52:17
* @Descripttion:
* @FilePath: \src\core\window.ts
* @FilePath: \ics-chromely-plugin-core\src\core\window.ts
*/

@@ -18,3 +18,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

var opts = {
url: "window/" + url
url: "window/".concat(url)
};

@@ -26,3 +26,3 @@ ics_chromely_js_sdk_1.default.command(opts);

return ics_chromely_js_sdk_1.default.function({
url: "window/" + url,
url: "window/".concat(url),
method: 'GET'

@@ -67,2 +67,14 @@ });

};
/**
* @description: 关闭闪屏
*/
Window.CloseSplash = function () {
this.Operate('splash/close');
};
/**
* @description: 重绘闪屏
*/
Window.RedrawSplash = function () {
this.Operate('splash/redraw');
};
return Window;

@@ -69,0 +81,0 @@ }());

@@ -28,2 +28,10 @@ export default class Window {

static State(): Promise<any>;
/**
* @description: 关闭闪屏
*/
static CloseSplash(): void;
/**
* @description: 重绘闪屏
*/
static RedrawSplash(): void;
}
{
"name": "@icreate/ics-chromely-plugin-core",
"version": "0.0.14",
"version": "0.0.15",
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等",

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

@@ -5,3 +5,3 @@ <!--

* @LastEditors: 文贝
* @LastEditTime: 2022-08-30 10:30:43
* @LastEditTime: 2022-09-01 16:56:02
* @Descripttion:

@@ -17,2 +17,3 @@ * @FilePath: \ics-chromely-plugin-core\README.md

```
0.0.15 WindowHelper增加关闭和重绘闪屏
0.0.14 ConfigHelper增加获取调试信息

@@ -19,0 +20,0 @@ 0.0.13 HardwareHelper增加设置本地日期

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

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

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