@icreate/ics-chromely-plugin-package
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -6,6 +6,6 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk'; | ||
* @Date: 2022-02-11 23:39:46 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-06-20 13:41:25 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-07-14 19:26:08 | ||
* @Descripttion: | ||
* @FilePath: \src\core\package.ts | ||
* @FilePath: \ics-chromely-plugin-package\src\core\package.ts | ||
*/ | ||
@@ -17,3 +17,2 @@ var Package = /** @class */ (function () { | ||
if (method === void 0) { method = 'GET'; } | ||
// let opts = | ||
return icsChromelyRequest.function({ | ||
@@ -40,7 +39,7 @@ url: "Package/" + url, | ||
*/ | ||
Package.Download = function (id, version, name) { | ||
return this.OperateEx('Download', { id: id, version: version, name: name }); | ||
Package.Download = function (fileName, filePath, version) { | ||
return this.OperateEx('Download', { fileName: fileName, filePath: filePath, version: version }); | ||
}; | ||
/** | ||
* @description: 还原窗口 | ||
* @description: 解压升级包 | ||
*/ | ||
@@ -47,0 +46,0 @@ Package.UnPackage = function () { |
@@ -12,6 +12,6 @@ (function (global, factory) { | ||
* @Date: 2022-02-11 23:39:46 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-06-20 13:41:25 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-07-14 19:26:08 | ||
* @Descripttion: | ||
* @FilePath: \src\core\package.ts | ||
* @FilePath: \ics-chromely-plugin-package\src\core\package.ts | ||
*/ | ||
@@ -23,3 +23,2 @@ var Package = /** @class */ (function () { | ||
if (method === void 0) { method = 'GET'; } | ||
// let opts = | ||
return icsChromelyRequest.function({ | ||
@@ -46,7 +45,7 @@ url: "Package/" + url, | ||
*/ | ||
Package.Download = function (id, version, name) { | ||
return this.OperateEx('Download', { id: id, version: version, name: name }); | ||
Package.Download = function (fileName, filePath, version) { | ||
return this.OperateEx('Download', { fileName: fileName, filePath: filePath, version: version }); | ||
}; | ||
/** | ||
* @description: 还原窗口 | ||
* @description: 解压升级包 | ||
*/ | ||
@@ -53,0 +52,0 @@ Package.UnPackage = function () { |
@@ -5,6 +5,6 @@ "use strict"; | ||
* @Date: 2022-02-11 23:39:46 | ||
* @LastEditors: 刘邓 | ||
* @LastEditTime: 2022-06-20 13:41:25 | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-07-14 19:26:08 | ||
* @Descripttion: | ||
* @FilePath: \src\core\package.ts | ||
* @FilePath: \ics-chromely-plugin-package\src\core\package.ts | ||
*/ | ||
@@ -18,3 +18,2 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
if (method === void 0) { method = 'GET'; } | ||
// let opts = | ||
return ics_chromely_js_sdk_1.default.function({ | ||
@@ -41,7 +40,7 @@ url: "Package/" + url, | ||
*/ | ||
Package.Download = function (id, version, name) { | ||
return this.OperateEx('Download', { id: id, version: version, name: name }); | ||
Package.Download = function (fileName, filePath, version) { | ||
return this.OperateEx('Download', { fileName: fileName, filePath: filePath, version: version }); | ||
}; | ||
/** | ||
* @description: 还原窗口 | ||
* @description: 解压升级包 | ||
*/ | ||
@@ -48,0 +47,0 @@ Package.UnPackage = function () { |
@@ -14,7 +14,7 @@ export default class Package { | ||
*/ | ||
static Download(id: string, version: string, name: string): Promise<any>; | ||
static Download(fileName: string, filePath: string, version: string): Promise<any>; | ||
/** | ||
* @description: 还原窗口 | ||
* @description: 解压升级包 | ||
*/ | ||
static UnPackage(): Promise<any>; | ||
} |
{ | ||
"name": "@icreate/ics-chromely-plugin-package", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "升级包和应用包上传下载和解包", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -0,0 +0,0 @@ <!-- |
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
17327
200
1