magicrealmsshared 0.4.5 → 0.4.6

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.
@@ -3,7 +3,7 @@ import { Auth_Token, PlayerClientData, Well } from "../types/types";
3
3
  import { z } from "zod";
4
4
  export declare const GeoJSONPointSchema: z.ZodObject<{
5
5
  type: z.ZodLiteral<"Point">;
6
- coordinates: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>;
6
+ coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
7
7
  }, z.core.$strict>;
8
8
  export declare const AUTH = "AUTH";
9
9
  export declare const AUTH_ACK = "AUTH_ACK";
@@ -34,7 +34,7 @@ export declare const POSUPDATE_COMMAND = "POSUPDATE";
34
34
  export declare const POSUPDATE_SCHEME: z.ZodObject<{
35
35
  pos: z.ZodObject<{
36
36
  type: z.ZodLiteral<"Point">;
37
- coordinates: z.ZodUnion<[z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber], null>]>;
37
+ coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
38
38
  }, z.core.$strict>;
39
39
  pre: z.ZodNumber;
40
40
  }, z.core.$strict>;
@@ -7,11 +7,7 @@ exports.GeoJSONPointSchema = zod_1.z.strictObject({
7
7
  coordinates: zod_1.z.tuple([
8
8
  zod_1.z.number(), // longitude
9
9
  zod_1.z.number(), // latitude
10
- ]).or(zod_1.z.tuple([
11
- zod_1.z.number(), // longitude
12
- zod_1.z.number(), // latitude
13
- zod_1.z.number(), // altitude (optional)
14
- ])),
10
+ ]),
15
11
  });
16
12
  exports.AUTH = "AUTH";
17
13
  exports.AUTH_ACK = "AUTH_ACK";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magicrealmsshared",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {