@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.20-beta.6 to 0.0.20-beta.7
@@ -29,3 +29,3 @@ import { LogLevels } from '@icreate/core'; | ||
} | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
console.log(this.logPath, logObject); | ||
@@ -501,3 +501,3 @@ return Promise.resolve(); | ||
Printer.getPrinterList = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -522,3 +522,3 @@ } | ||
Printer.getPrinterListEx = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -530,3 +530,3 @@ } | ||
Printer.getPrinterDefault = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve(null); | ||
@@ -538,3 +538,3 @@ } | ||
Printer.isPrinterExists = function (printerName) { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve(false); | ||
@@ -550,3 +550,3 @@ } | ||
if (settings === void 0) { settings = null; } | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.reject('浏览器下不支持!!!'); | ||
@@ -553,0 +553,0 @@ } |
@@ -36,3 +36,3 @@ (function (global, factory) { | ||
} | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
console.log(this.logPath, logObject); | ||
@@ -508,3 +508,3 @@ return Promise.resolve(); | ||
Printer.getPrinterList = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -529,3 +529,3 @@ } | ||
Printer.getPrinterListEx = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -537,3 +537,3 @@ } | ||
Printer.getPrinterDefault = function () { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve(null); | ||
@@ -545,3 +545,3 @@ } | ||
Printer.isPrinterExists = function (printerName) { | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.resolve(false); | ||
@@ -557,3 +557,3 @@ } | ||
if (settings === void 0) { settings = null; } | ||
if (Chromely.isChromely) { | ||
if (!Chromely.isChromely) { | ||
return Promise.reject('浏览器下不支持!!!'); | ||
@@ -560,0 +560,0 @@ } |
@@ -31,3 +31,3 @@ "use strict"; | ||
} | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
console.log(this.logPath, logObject); | ||
@@ -34,0 +34,0 @@ return Promise.resolve(); |
@@ -64,3 +64,3 @@ "use strict"; | ||
Printer.getPrinterList = function () { | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -85,3 +85,3 @@ } | ||
Printer.getPrinterListEx = function () { | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
return Promise.resolve([]); | ||
@@ -93,3 +93,3 @@ } | ||
Printer.getPrinterDefault = function () { | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
return Promise.resolve(null); | ||
@@ -101,3 +101,3 @@ } | ||
Printer.isPrinterExists = function (printerName) { | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
return Promise.resolve(false); | ||
@@ -113,3 +113,3 @@ } | ||
if (settings === void 0) { settings = null; } | ||
if (ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
if (!ics_chromely_plugin_core_1.Chromely.isChromely) { | ||
return Promise.reject('浏览器下不支持!!!'); | ||
@@ -116,0 +116,0 @@ } |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.20-beta.6", | ||
"version": "0.0.20-beta.7", | ||
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等", | ||
@@ -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
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
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
227915