@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,2 +0,2 @@ | ||
import { LogLevels } from '@icreate/core'; | ||
import { LogLevels, ExecOptons, Utils } from '@icreate/core'; | ||
import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
@@ -7,6 +7,6 @@ | ||
* @Date: 2022-02-09 10:25:53 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:35:33 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-09 15:15:23 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\logger.ts | ||
* @FilePath: \src\core\logger.ts | ||
*/ | ||
@@ -88,5 +88,5 @@ var Logger = /** @class */ (function () { | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:32:25 | ||
* @LastEditTime: 2022-02-12 01:11:51 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\browser.ts | ||
* @FilePath: \src\core\BrowserHelper.ts | ||
*/ | ||
@@ -97,12 +97,7 @@ var Browser = /** @class */ (function () { | ||
Browser.Open = function (type, url) { | ||
// let opts = new ExecOptons() | ||
// opts.url = `Browser/Open${type}` | ||
// opts.method = 'GET' | ||
// opts.data = { url } | ||
// Utils.command(opts) | ||
var opts = { | ||
url: "Browser/Open" + type, | ||
data: { url: url } | ||
}; | ||
icsChromelyRequest.command(opts); | ||
var opts = new ExecOptons(); | ||
opts.url = "Browser/Open" + type; | ||
opts.method = 'GET'; | ||
opts.data = { url: url }; | ||
Utils.command(opts); | ||
}; | ||
@@ -248,3 +243,3 @@ /** | ||
for (var i = 0; i < callbacks.length; i++) { | ||
callbacks[i].apply(this, data); | ||
callbacks[i](data); | ||
} | ||
@@ -399,10 +394,11 @@ }; | ||
* @Date: 2022-02-11 23:21:34 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-05 16:24:58 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-28 15:16:12 | ||
* @Descripttion: | ||
* @FilePath: \src\ics-chromely-plugin-core.ts | ||
* @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
*/ | ||
var chromely = new Chromely(); | ||
window['Chromely'] = chromely; | ||
export { Logger as LocalLogger, Browser as BrowserHelper, Window as WindowHelper, Printer as PrinterHelper, Hardware as HardwareHelper, Regedit as RegeditHelper, chromely as Chromely }; | ||
//# sourceMappingURL=ics-chromely-plugin-core.es5.js.map |
@@ -12,6 +12,6 @@ (function (global, factory) { | ||
* @Date: 2022-02-09 10:25:53 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:35:33 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-09 15:15:23 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\logger.ts | ||
* @FilePath: \src\core\logger.ts | ||
*/ | ||
@@ -93,5 +93,5 @@ var Logger = /** @class */ (function () { | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:32:25 | ||
* @LastEditTime: 2022-02-12 01:11:51 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\browser.ts | ||
* @FilePath: \src\core\BrowserHelper.ts | ||
*/ | ||
@@ -102,12 +102,7 @@ var Browser = /** @class */ (function () { | ||
Browser.Open = function (type, url) { | ||
// let opts = new ExecOptons() | ||
// opts.url = `Browser/Open${type}` | ||
// opts.method = 'GET' | ||
// opts.data = { url } | ||
// Utils.command(opts) | ||
var opts = { | ||
url: "Browser/Open" + type, | ||
data: { url: url } | ||
}; | ||
icsChromelyRequest.command(opts); | ||
var opts = new core.ExecOptons(); | ||
opts.url = "Browser/Open" + type; | ||
opts.method = 'GET'; | ||
opts.data = { url: url }; | ||
core.Utils.command(opts); | ||
}; | ||
@@ -253,3 +248,3 @@ /** | ||
for (var i = 0; i < callbacks.length; i++) { | ||
callbacks[i].apply(this, data); | ||
callbacks[i](data); | ||
} | ||
@@ -404,8 +399,9 @@ }; | ||
* @Date: 2022-02-11 23:21:34 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-05 16:24:58 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-28 15:16:12 | ||
* @Descripttion: | ||
* @FilePath: \src\ics-chromely-plugin-core.ts | ||
* @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
*/ | ||
var chromely = new Chromely(); | ||
window['Chromely'] = chromely; | ||
@@ -412,0 +408,0 @@ exports.LocalLogger = Logger; |
@@ -7,7 +7,7 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:32:25 | ||
* @LastEditTime: 2022-02-12 01:11:51 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\browser.ts | ||
* @FilePath: \src\core\BrowserHelper.ts | ||
*/ | ||
var ics_chromely_js_sdk_1 = require("@icreate/ics-chromely-js-sdk"); | ||
var core_1 = require("@icreate/core"); | ||
var Browser = /** @class */ (function () { | ||
@@ -17,12 +17,7 @@ function Browser() { | ||
Browser.Open = function (type, url) { | ||
// let opts = new ExecOptons() | ||
// opts.url = `Browser/Open${type}` | ||
// opts.method = 'GET' | ||
// opts.data = { url } | ||
// Utils.command(opts) | ||
var opts = { | ||
url: "Browser/Open" + type, | ||
data: { url: url } | ||
}; | ||
ics_chromely_js_sdk_1.default.command(opts); | ||
var opts = new core_1.ExecOptons(); | ||
opts.url = "Browser/Open" + type; | ||
opts.method = 'GET'; | ||
opts.data = { url: url }; | ||
core_1.Utils.command(opts); | ||
}; | ||
@@ -29,0 +24,0 @@ /** |
@@ -33,3 +33,3 @@ "use strict"; | ||
for (var i = 0; i < callbacks.length; i++) { | ||
callbacks[i].apply(this, data); | ||
callbacks[i](data); | ||
} | ||
@@ -36,0 +36,0 @@ }; |
@@ -6,6 +6,6 @@ "use strict"; | ||
* @Date: 2022-02-09 10:25:53 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-13 09:35:33 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-09 15:15:23 | ||
* @Descripttion: | ||
* @FilePath: \ics-chromely-plugin-core\src\core\logger.ts | ||
* @FilePath: \src\core\logger.ts | ||
*/ | ||
@@ -12,0 +12,0 @@ var core_1 = require("@icreate/core"); |
@@ -7,6 +7,6 @@ "use strict"; | ||
* @Date: 2022-02-11 23:21:34 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-05-05 16:24:58 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-28 15:16:12 | ||
* @Descripttion: | ||
* @FilePath: \src\ics-chromely-plugin-core.ts | ||
* @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
*/ | ||
@@ -28,2 +28,3 @@ var logger_1 = require("./core/logger"); | ||
exports.Chromely = chromely; | ||
window['Chromely'] = chromely; | ||
//# sourceMappingURL=ics-chromely-plugin-core.js.map |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址和注册表读写等", | ||
@@ -124,2 +124,2 @@ "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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
92541
1378
1