@jayfong/x-server 1.30.0 → 1.30.1
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/CHANGELOG.md +7 -0
- package/lib/_cjs/utils/shorty.js +2 -2
- package/lib/utils/shorty.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.30.1](https://github.com/jfWorks/x-server/compare/v1.30.0...v1.30.1) (2022-05-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* deflate <-> inflate ([e7c5f63](https://github.com/jfWorks/x-server/commit/e7c5f631a6a5165bbecf20b5b5923bbef4b6db1e))
|
|
11
|
+
|
|
5
12
|
## [1.30.0](https://github.com/jfWorks/x-server/compare/v1.29.0...v1.30.0) (2022-05-26)
|
|
6
13
|
|
|
7
14
|
|
package/lib/_cjs/utils/shorty.js
CHANGED
|
@@ -224,11 +224,11 @@ ShortyRaw.prototype.inflate = function (data) {
|
|
|
224
224
|
|
|
225
225
|
class Shorty extends ShortyRaw {
|
|
226
226
|
encode(data) {
|
|
227
|
-
return this.
|
|
227
|
+
return this.deflate(data);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
decode(data) {
|
|
231
|
-
return this.
|
|
231
|
+
return this.inflate(data);
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
}
|
package/lib/utils/shorty.js
CHANGED
|
@@ -219,11 +219,11 @@ ShortyRaw.prototype.inflate = function (data) {
|
|
|
219
219
|
|
|
220
220
|
export class Shorty extends ShortyRaw {
|
|
221
221
|
encode(data) {
|
|
222
|
-
return this.
|
|
222
|
+
return this.deflate(data);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
decode(data) {
|
|
226
|
-
return this.
|
|
226
|
+
return this.inflate(data);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
}
|