Skip to content

Commit

Permalink
release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
saqqdy committed Jan 17, 2023
1 parent 5cecde6 commit c12bf27
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 80 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# 更新日志

## 2023.01.15 v1.1.0 更新日志
## 2023.01.17 v1.1.0 更新日志

1. 提升加密安全:`AES-256-CBC => AES-256-GCM`

## 2023.01.15 v1.0.1 更新日志
## 2023.01.16 v1.0.1 更新日志

1. 完善文档

Expand Down
10 changes: 2 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
index.md - v1.0.0 / [Exports](modules.md)
index.md - v1.1.0 / [Exports](modules.md)

<div style="text-align: center;" align="center">

Expand All @@ -10,8 +10,6 @@ index.md - v1.0.0 / [Exports](modules.md)
[![Codacy Badge][codacy-image]][codacy-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]
[![gzip][gzip-image]][gzip-url]
[![License][license-image]][license-url]

[![Sonar][sonar-image]][sonar-url]
Expand Down Expand Up @@ -103,11 +101,7 @@ Please open an issue [here](https://github.com/saqqdy/node-wxcrypto/issues).
[travis-url]: https://travis-ci.com/saqqdy/node-wxcrypto
[codecov-image]: https://img.shields.io/codecov/c/github/saqqdy/node-wxcrypto.svg?style=flat-square
[codecov-url]: https://codecov.io/github/saqqdy/node-wxcrypto?branch=master
[download-image]: https://img.shields.io/npm/dm/node-wxcrypto.svg?style=flat-square
[download-url]: https://npmjs.org/package/node-wxcrypto
[gzip-image]: http://img.badgesize.io/https://unpkg.com/node-wxcrypto/lib/index.js?compression=gzip&label=gzip%20size:%20JS
[gzip-url]: http://img.badgesize.io/https://unpkg.com/node-wxcrypto/lib/index.js?compression=gzip&label=gzip%20size:%20JS
[license-image]: https://img.shields.io/badge/License-MIT-yellow.svg
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[sonar-image]: https://sonarcloud.io/api/project_badges/quality_gate?project=saqqdy_node-wxcrypto
[sonar-url]: https://sonarcloud.io/dashboard?id=saqqdy_node-wxcrypto
16 changes: 8 additions & 8 deletions docs/classes/WxCrypto.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v1.0.0](../README.md) / [Exports](../modules.md) / WxCrypto
[index.md - v1.1.0](../README.md) / [Exports](../modules.md) / WxCrypto

# Class: WxCrypto

Expand Down Expand Up @@ -49,7 +49,7 @@ var [err, decryptedXML] = wx.decrypt(signature, timestamp, nonce, encrypted);

#### Defined in

[src/index.ts:62](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L62)
[src/index.ts:62](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L62)

## Properties

Expand All @@ -59,7 +59,7 @@ var [err, decryptedXML] = wx.decrypt(signature, timestamp, nonce, encrypted);

#### Defined in

[src/index.ts:61](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L61)
[src/index.ts:61](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L61)

---

Expand All @@ -69,7 +69,7 @@ var [err, decryptedXML] = wx.decrypt(signature, timestamp, nonce, encrypted);

#### Defined in

[src/index.ts:60](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L60)
[src/index.ts:60](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L60)

---

Expand All @@ -79,7 +79,7 @@ var [err, decryptedXML] = wx.decrypt(signature, timestamp, nonce, encrypted);

#### Defined in

[src/index.ts:59](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L59)
[src/index.ts:59](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L59)

---

Expand All @@ -89,7 +89,7 @@ var [err, decryptedXML] = wx.decrypt(signature, timestamp, nonce, encrypted);

#### Defined in

[src/index.ts:58](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L58)
[src/index.ts:58](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L58)

## Methods

Expand All @@ -115,7 +115,7 @@ xml - xmData, eg. { ComponentVerifyTicket: 'xxxx', ..., AppId: 'xxxx' }

#### Defined in

[src/index.ts:121](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L121)
[src/index.ts:121](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L121)

---

Expand All @@ -140,4 +140,4 @@ encrypt - encrypt string, eg. oVMc1Y6qP86YfAa.../QGgk503Q68Q==

#### Defined in

[src/index.ts:93](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L93)
[src/index.ts:93](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L93)
8 changes: 4 additions & 4 deletions docs/interfaces/BuildXMLOptions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v1.0.0](../README.md) / [Exports](../modules.md) / BuildXMLOptions
[index.md - v1.1.0](../README.md) / [Exports](../modules.md) / BuildXMLOptions

# Interface: BuildXMLOptions

Expand Down Expand Up @@ -62,7 +62,7 @@ BuilderOptions.cdata

#### Defined in

[src/xml.ts:13](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/xml.ts#L13)
[src/xml.ts:13](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/xml.ts#L13)

---

Expand Down Expand Up @@ -104,7 +104,7 @@ BuilderOptions.headless

#### Defined in

[src/xml.ts:14](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/xml.ts#L14)
[src/xml.ts:14](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/xml.ts#L14)

---

Expand Down Expand Up @@ -132,7 +132,7 @@ BuilderOptions.rootName

#### Defined in

[src/xml.ts:15](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/xml.ts#L15)
[src/xml.ts:15](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/xml.ts#L15)

---

Expand Down
8 changes: 4 additions & 4 deletions docs/interfaces/WeixinMessageData.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v1.0.0](../README.md) / [Exports](../modules.md) / WeixinMessageData
[index.md - v1.1.0](../README.md) / [Exports](../modules.md) / WeixinMessageData

# Interface: WeixinMessageData

Expand All @@ -24,7 +24,7 @@

#### Defined in

[src/index.ts:31](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L31)
[src/index.ts:31](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L31)

---

Expand All @@ -34,7 +34,7 @@

#### Defined in

[src/index.ts:32](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L32)
[src/index.ts:32](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L32)

---

Expand All @@ -44,4 +44,4 @@

#### Defined in

[src/index.ts:33](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L33)
[src/index.ts:33](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L33)
4 changes: 2 additions & 2 deletions docs/interfaces/WeixinVerifyData.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v1.0.0](../README.md) / [Exports](../modules.md) / WeixinVerifyData
[index.md - v1.1.0](../README.md) / [Exports](../modules.md) / WeixinVerifyData

# Interface: WeixinVerifyData

Expand All @@ -16,4 +16,4 @@

#### Defined in

[src/index.ts:13](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L13)
[src/index.ts:13](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L13)
4 changes: 2 additions & 2 deletions docs/interfaces/withXMLProp.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[index.md - v1.0.0](../README.md) / [Exports](../modules.md) / withXMLProp
[index.md - v1.1.0](../README.md) / [Exports](../modules.md) / withXMLProp

# Interface: withXMLProp<T\>

Expand All @@ -22,4 +22,4 @@

#### Defined in

[src/index.ts:9](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L9)
[src/index.ts:9](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L9)
18 changes: 9 additions & 9 deletions docs/modules.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[index.md - v1.0.0](README.md) / Exports
[index.md - v1.1.0](README.md) / Exports

# index.md - v1.0.0
# index.md - v1.1.0

## Table of contents

Expand Down Expand Up @@ -46,7 +46,7 @@ Renames and re-exports [WxCrypto](classes/WxCrypto.md)

#### Defined in

[src/index.ts:22](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L22)
[src/index.ts:22](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L22)

---

Expand All @@ -56,7 +56,7 @@ Renames and re-exports [WxCrypto](classes/WxCrypto.md)

#### Defined in

[src/index.ts:37](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/index.ts#L37)
[src/index.ts:37](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/index.ts#L37)

## Functions

Expand Down Expand Up @@ -105,7 +105,7 @@ str - return Buffer

#### Defined in

[src/aes256.ts:52](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/aes256.ts#L52)
[src/aes256.ts:52](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/aes256.ts#L52)

---

Expand Down Expand Up @@ -158,7 +158,7 @@ str - return string

#### Defined in

[src/aes256.ts:23](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/aes256.ts#L23)
[src/aes256.ts:23](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/aes256.ts#L23)

---

Expand All @@ -183,7 +183,7 @@ result - xmlString

#### Defined in

[src/xml.ts:60](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/xml.ts#L60)
[src/xml.ts:60](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/xml.ts#L60)

---

Expand All @@ -208,7 +208,7 @@ result - xml object

#### Defined in

[src/xml.ts:25](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/xml.ts#L25)
[src/xml.ts:25](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/xml.ts#L25)

---

Expand All @@ -232,4 +232,4 @@ str - 返回加密后的字符串

#### Defined in

[src/sha1.ts:11](https://github.com/saqqdy/node-wxcrypto/blob/570bce7/src/sha1.ts#L11)
[src/sha1.ts:11](https://github.com/saqqdy/node-wxcrypto/blob/5cecde6/src/sha1.ts#L11)
Loading

0 comments on commit c12bf27

Please sign in to comment.