@xube/kit-constants 0.0.8 → 0.0.9

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/http.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import z from "zod";
1
+ import { z } from "zod";
2
2
  export declare const STATUS_CODE = "statusCode";
3
3
  export declare const StatusCode: {
4
4
  readonly OK: 200;
package/dist/http.js CHANGED
@@ -1,10 +1,7 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.StatusCodeSchema = exports.StatusCode = exports.STATUS_CODE = void 0;
7
- const zod_1 = __importDefault(require("zod"));
4
+ const zod_1 = require("zod");
8
5
  exports.STATUS_CODE = "statusCode";
9
6
  exports.StatusCode = {
10
7
  OK: 200,
@@ -17,4 +14,4 @@ exports.StatusCode = {
17
14
  Conflict: 409,
18
15
  InternalError: 500
19
16
  };
20
- exports.StatusCodeSchema = zod_1.default.nativeEnum(exports.StatusCode);
17
+ exports.StatusCodeSchema = zod_1.z.nativeEnum(exports.StatusCode);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-constants",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,6 +20,6 @@
20
20
  "zod": "^3.21.4"
21
21
  },
22
22
  "devDependencies": {
23
- "@xube/kit-build": "^0.0.8"
23
+ "@xube/kit-build": "^0.0.9"
24
24
  }
25
25
  }
package/src/http.ts CHANGED
@@ -1,4 +1,4 @@
1
- import z from "zod";
1
+ import {z} from "zod";
2
2
 
3
3
  export const STATUS_CODE = "statusCode";
4
4
  export const StatusCode = {