@teamnovu/kit-shopware-api-client 0.0.15 → 0.2.0

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/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ ## [0.2.0](https://github.com/teamnovu/kit/compare/kit-shopware-api-client-v0.1.0...kit-shopware-api-client-v0.2.0) (2026-11-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * lazy-load zod ([b0bc660](https://github.com/teamnovu/kit/commit/b0bc66085d4512ba252b4311edbaddd514124f73))
9
+
10
+ ## [0.1.0](https://github.com/teamnovu/kit/compare/kit-shopware-api-client-v0.0.15...kit-shopware-api-client-v0.1.0) (2026-11-12)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **deps:** update zod to 4 in shopware-api-client ([6e2aa75](https://github.com/teamnovu/kit/commit/6e2aa7557176f54aa1619d88d2193f3cb47f42e1))
16
+ * publish only the build output ([ca77ca3](https://github.com/teamnovu/kit/commit/ca77ca3299c60bcb9c71927afbf8a7b8396d1804))
package/dist/error.d.ts CHANGED
@@ -1,59 +1,19 @@
1
- import { z } from 'zod';
2
- declare const shopwareErrorSchema: z.ZodObject<{
3
- status: z.ZodString;
4
- code: z.ZodString;
5
- title: z.ZodOptional<z.ZodString>;
6
- detail: z.ZodOptional<z.ZodString>;
7
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
- source: z.ZodOptional<z.ZodObject<{
9
- pointer: z.ZodOptional<z.ZodString>;
10
- }, "strip", z.ZodTypeAny, {
11
- pointer?: string | undefined;
12
- }, {
13
- pointer?: string | undefined;
14
- }>>;
15
- trace: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
- file: z.ZodString;
17
- line: z.ZodNumber;
18
- function: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- function: string;
21
- file: string;
22
- line: number;
23
- }, {
24
- function: string;
25
- file: string;
26
- line: number;
27
- }>, "many">>;
28
- }, "strip", z.ZodTypeAny, {
29
- status: string;
30
- code: string;
31
- title?: string | undefined;
32
- detail?: string | undefined;
33
- meta?: Record<string, unknown> | undefined;
34
- source?: {
35
- pointer?: string | undefined;
36
- } | undefined;
37
- trace?: {
38
- function: string;
39
- file: string;
40
- line: number;
41
- }[] | undefined;
42
- }, {
43
- status: string;
44
- code: string;
45
- title?: string | undefined;
46
- detail?: string | undefined;
47
- meta?: Record<string, unknown> | undefined;
48
- source?: {
49
- pointer?: string | undefined;
50
- } | undefined;
51
- trace?: {
52
- function: string;
53
- file: string;
54
- line: number;
55
- }[] | undefined;
56
- }>;
1
+ import * as z from 'zod/mini';
2
+ declare const shopwareErrorSchema: z.ZodMiniObject<{
3
+ status: z.ZodMiniString<string>;
4
+ code: z.ZodMiniString<string>;
5
+ title: z.ZodMiniOptional<z.ZodMiniString<string>>;
6
+ detail: z.ZodMiniOptional<z.ZodMiniString<string>>;
7
+ meta: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
8
+ source: z.ZodMiniOptional<z.ZodMiniObject<{
9
+ pointer: z.ZodMiniOptional<z.ZodMiniString<string>>;
10
+ }, z.core.$strip>>;
11
+ trace: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
12
+ file: z.ZodMiniString<string>;
13
+ line: z.ZodMiniNumber<number>;
14
+ function: z.ZodMiniString<string>;
15
+ }, z.core.$strip>>>;
16
+ }, z.core.$strip>;
57
17
  export type ShopwareError = z.infer<typeof shopwareErrorSchema>;
58
18
  export declare class ShopwareApiError extends Error {
59
19
  readonly status: number;