teeworlds 2.5.1 → 2.5.2

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.
Files changed (3) hide show
  1. package/index.js +1 -14
  2. package/index.ts +1 -2
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -10,23 +10,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
15
  };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
16
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.snapshots = exports.Client = void 0;
17
+ exports.Client = void 0;
30
18
  var client_1 = require("./lib/client");
31
19
  Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } });
32
20
  __exportStar(require("./lib/MsgPacker"), exports);
@@ -34,4 +22,3 @@ __exportStar(require("./lib/MsgUnpacker"), exports);
34
22
  __exportStar(require("./lib/snapshot"), exports);
35
23
  __exportStar(require("./lib/huffman"), exports);
36
24
  __exportStar(require("./lib/UUIDManager"), exports);
37
- exports.snapshots = __importStar(require("./lib/snapshots"));
package/index.ts CHANGED
@@ -3,5 +3,4 @@ export * from "./lib/MsgPacker";
3
3
  export * from "./lib/MsgUnpacker";
4
4
  export * from "./lib/snapshot";
5
5
  export * from "./lib/huffman"
6
- export * from "./lib/UUIDManager"
7
- export * as snapshots from "./lib/snapshots"
6
+ export * from "./lib/UUIDManager"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teeworlds",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "Library for (ingame) teeworlds bots.",
5
5
  "license": "MIT",
6
6
  "main": "index.js",