@jayfong/x-server-client-helper 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/_cjs/utils/shorty.js +2 -2
- package/package.json +1 -1
- package/utils/shorty.js +2 -2
package/_cjs/utils/shorty.js
CHANGED
|
@@ -254,11 +254,11 @@ var Shorty = /*#__PURE__*/function (_ShortyRaw) {
|
|
|
254
254
|
var _proto = Shorty.prototype;
|
|
255
255
|
|
|
256
256
|
_proto.encode = function encode(data) {
|
|
257
|
-
return this.
|
|
257
|
+
return this.deflate(data);
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
_proto.decode = function decode(data) {
|
|
261
|
-
return this.
|
|
261
|
+
return this.inflate(data);
|
|
262
262
|
};
|
|
263
263
|
|
|
264
264
|
return Shorty;
|
package/package.json
CHANGED
package/utils/shorty.js
CHANGED
|
@@ -247,11 +247,11 @@ export var Shorty = /*#__PURE__*/function (_ShortyRaw) {
|
|
|
247
247
|
var _proto = Shorty.prototype;
|
|
248
248
|
|
|
249
249
|
_proto.encode = function encode(data) {
|
|
250
|
-
return this.
|
|
250
|
+
return this.deflate(data);
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
_proto.decode = function decode(data) {
|
|
254
|
-
return this.
|
|
254
|
+
return this.inflate(data);
|
|
255
255
|
};
|
|
256
256
|
|
|
257
257
|
return Shorty;
|