ms-types 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/netCard.d.ts
CHANGED
|
@@ -36,13 +36,13 @@ declare namespace netCard {
|
|
|
36
36
|
function verify(cardNo: string): boolean;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* 获取卡密信息
|
|
39
|
+
* 获取卡密信息 卡密验证通过后才可使用
|
|
40
40
|
* @returns 卡密信息
|
|
41
41
|
* @example
|
|
42
42
|
* const cardInfo = netCard.getCardInfo()
|
|
43
43
|
* logi(JSON.stringify(cardInfo))
|
|
44
44
|
*/
|
|
45
|
-
function getCardInfo(): CardInfo;
|
|
45
|
+
function getCardInfo(): CardInfo | null;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* 设置卡密备注
|
|
@@ -45,13 +45,13 @@ declare namespace $卡密 {
|
|
|
45
45
|
function 验证(卡密: 字符串): 布尔值;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* 获取卡密信息
|
|
48
|
+
* 获取卡密信息 卡密验证通过后才可使用
|
|
49
49
|
* @returns 卡密信息
|
|
50
50
|
* @example
|
|
51
51
|
* const 卡密信息 = $卡密.获取卡密信息()
|
|
52
52
|
* $打印信息日志(JSON.stringify(卡密信息))
|
|
53
53
|
*/
|
|
54
|
-
function 获取卡密信息():
|
|
54
|
+
function 获取卡密信息(): 卡密信息 | null;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* 设置卡密备注
|