@saltify/milky-types 1.2.1-rc.2 → 1.2.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.
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
|
|
3
3
|
//#region src/index.g.d.ts
|
|
4
4
|
declare const milkyVersion = "1.2";
|
|
5
|
-
declare const milkyPackageVersion = "1.2.
|
|
5
|
+
declare const milkyPackageVersion = "1.2.2";
|
|
6
6
|
declare const zUin: z.ZodNumber;
|
|
7
7
|
declare function zDropBadElementArray<const T extends z.ZodDiscriminatedUnion>(element: T): z.ZodPipe<z.ZodArray<z.ZodCatch<z.ZodLazy<T>>>, z.ZodArray<z.ZodLazy<T>>>;
|
|
8
8
|
declare const BotOfflineEventData: z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/index.g.ts
|
|
3
3
|
const milkyVersion = "1.2";
|
|
4
|
-
const milkyPackageVersion = "1.2.
|
|
4
|
+
const milkyPackageVersion = "1.2.2";
|
|
5
5
|
const zUin = z.number().int().min(10001).max(4294967295);
|
|
6
6
|
function zDropBadElementArray(element) {
|
|
7
7
|
return z.array(element.catch(null)).transform((val) => val.filter((item) => item !== null));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltify/milky-types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"description": "Type definitions for Milky protocol",
|
|
6
6
|
"main": "dist/index.mjs",
|
|
7
7
|
"files": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"zod": "^4.3.6"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@saltify/milky-protocol": "1.2.
|
|
21
|
+
"@saltify/milky-protocol": "1.2.2"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsdown"
|