@danielgenarog/shared-contracts 1.1.22 → 1.1.23

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.
@@ -52,13 +52,18 @@ export declare const ResBusinessSchema: z.ZodObject<{
52
52
  href: z.ZodOptional<z.ZodString>;
53
53
  }, z.core.$strip>;
54
54
  meta: z.ZodObject<{
55
- kind: z.ZodOptional<z.ZodEnum<{
55
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
56
+ menu: "menu";
57
+ appointments: "appointments";
58
+ reservations: "reservations";
59
+ service: "service";
60
+ }>, z.ZodEnum<{
56
61
  menu: "menu";
57
62
  whatsapp: "whatsapp";
58
63
  instagram: "instagram";
59
64
  website: "website";
60
65
  phone: "phone";
61
- }>>;
66
+ }>]>>;
62
67
  }, z.core.$strip>;
63
68
  options: z.ZodOptional<z.ZodObject<{
64
69
  variant: z.ZodOptional<z.ZodEnum<{
@@ -138,13 +143,18 @@ export declare const CreateBusinessSchema: z.ZodObject<{
138
143
  href: z.ZodOptional<z.ZodString>;
139
144
  }, z.core.$strip>;
140
145
  meta: z.ZodObject<{
141
- kind: z.ZodOptional<z.ZodEnum<{
146
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
147
+ menu: "menu";
148
+ appointments: "appointments";
149
+ reservations: "reservations";
150
+ service: "service";
151
+ }>, z.ZodEnum<{
142
152
  menu: "menu";
143
153
  whatsapp: "whatsapp";
144
154
  instagram: "instagram";
145
155
  website: "website";
146
156
  phone: "phone";
147
- }>>;
157
+ }>]>>;
148
158
  }, z.core.$strip>;
149
159
  options: z.ZodOptional<z.ZodObject<{
150
160
  variant: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"business.schema.d.ts","sourceRoot":"","sources":["../../../../src/core/business/business/business.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK5B,CAAA;AACF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG/B,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,eAAO,MAAM,cAAc,EAAC,MAAM,CAAC,YAAY,EAAC,MAAM,CAOrD,CAAA"}
@@ -22,13 +22,18 @@ export declare const ElementDataSchema: z.ZodObject<{
22
22
  }, z.core.$strip>;
23
23
  export type ElementData = z.infer<typeof ElementDataSchema>;
24
24
  export declare const ElementMetaSchema: z.ZodObject<{
25
- kind: z.ZodOptional<z.ZodEnum<{
25
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
26
+ menu: "menu";
27
+ appointments: "appointments";
28
+ reservations: "reservations";
29
+ service: "service";
30
+ }>, z.ZodEnum<{
26
31
  menu: "menu";
27
32
  whatsapp: "whatsapp";
28
33
  instagram: "instagram";
29
34
  website: "website";
30
35
  phone: "phone";
31
- }>>;
36
+ }>]>>;
32
37
  }, z.core.$strip>;
33
38
  export type ElementMeta = z.infer<typeof ElementMetaSchema>;
34
39
  export declare const ElementSchema: z.ZodObject<{
@@ -43,13 +48,18 @@ export declare const ElementSchema: z.ZodObject<{
43
48
  href: z.ZodOptional<z.ZodString>;
44
49
  }, z.core.$strip>;
45
50
  meta: z.ZodObject<{
46
- kind: z.ZodOptional<z.ZodEnum<{
51
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
52
+ menu: "menu";
53
+ appointments: "appointments";
54
+ reservations: "reservations";
55
+ service: "service";
56
+ }>, z.ZodEnum<{
47
57
  menu: "menu";
48
58
  whatsapp: "whatsapp";
49
59
  instagram: "instagram";
50
60
  website: "website";
51
61
  phone: "phone";
52
- }>>;
62
+ }>]>>;
53
63
  }, z.core.$strip>;
54
64
  options: z.ZodOptional<z.ZodObject<{
55
65
  variant: z.ZodOptional<z.ZodEnum<{
@@ -75,13 +85,18 @@ export declare const ResElementSchema: z.ZodObject<{
75
85
  href: z.ZodOptional<z.ZodString>;
76
86
  }, z.core.$strip>;
77
87
  meta: z.ZodObject<{
78
- kind: z.ZodOptional<z.ZodEnum<{
88
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
89
+ menu: "menu";
90
+ appointments: "appointments";
91
+ reservations: "reservations";
92
+ service: "service";
93
+ }>, z.ZodEnum<{
79
94
  menu: "menu";
80
95
  whatsapp: "whatsapp";
81
96
  instagram: "instagram";
82
97
  website: "website";
83
98
  phone: "phone";
84
- }>>;
99
+ }>]>>;
85
100
  }, z.core.$strip>;
86
101
  options: z.ZodOptional<z.ZodObject<{
87
102
  variant: z.ZodOptional<z.ZodEnum<{
@@ -108,13 +123,18 @@ export declare const OptionalElementSchema: z.ZodObject<{
108
123
  href: z.ZodOptional<z.ZodString>;
109
124
  }, z.core.$strip>;
110
125
  meta: z.ZodObject<{
111
- kind: z.ZodOptional<z.ZodEnum<{
126
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
127
+ menu: "menu";
128
+ appointments: "appointments";
129
+ reservations: "reservations";
130
+ service: "service";
131
+ }>, z.ZodEnum<{
112
132
  menu: "menu";
113
133
  whatsapp: "whatsapp";
114
134
  instagram: "instagram";
115
135
  website: "website";
116
136
  phone: "phone";
117
- }>>;
137
+ }>]>>;
118
138
  }, z.core.$strip>;
119
139
  options: z.ZodOptional<z.ZodObject<{
120
140
  variant: z.ZodOptional<z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"elements.schema.d.ts","sourceRoot":"","sources":["../../../../src/core/business/elements/elements.schema.ts"],"names":[],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AAO,MAAM,iBAAiB;;;EAA2B,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAO3D,eAAO,MAAM,oBAAoB;;;;;;;;;iBAI/B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEjE,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;iBAE5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAG3D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOxB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA;AAEnD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE3B,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEhC,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -21,7 +21,7 @@ exports.ElementDataSchema = zod_1.default.object({
21
21
  href: zod_1.default.string().optional(),
22
22
  });
23
23
  exports.ElementMetaSchema = zod_1.default.object({
24
- kind: social_kind_schema_1.SocialKindSchema.optional(),
24
+ kind: social_kind_schema_1.AllKindSchema.optional(),
25
25
  });
26
26
  exports.ElementSchema = zod_1.default.object({
27
27
  type: exports.ElementTypeSchema,
@@ -1 +1 @@
1
- {"version":3,"file":"elements.schema.js","sourceRoot":"","sources":["../../../../src/core/business/elements/elements.schema.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAmB;AAEnB,iEAAsD;AACtD,0EAAqE;AAExD,QAAA,iBAAiB,GAAG,aAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzD,MAAM,WAAW,GAA8B,aAAC;KAC7C,MAAM,CAAC,EAAE,CAAC;KACV,QAAQ,CAAC,aAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAGR,QAAA,oBAAoB,GAAG,aAAC,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,yBAAO,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,WAAW,CAAC,QAAQ,EAAE;IAC7B,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AAIW,QAAA,iBAAiB,GAAG,aAAC,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA;AAIW,QAAA,iBAAiB,GAAG,aAAC,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,qCAAgB,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAA;AAKW,QAAA,aAAa,GAAG,aAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,yBAAiB;IACvB,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE;IACpB,IAAI,EAAE,yBAAiB;IACvB,IAAI,EAAE,yBAAiB;IACvB,OAAO,EAAE,4BAAoB,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAA;AAIW,QAAA,gBAAgB,GAAG,qBAAa,CAAC,MAAM,CAAC;IAC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,EAAE,yBAAiB;IACvB,IAAI,EAAE,yBAAiB;IACvB,OAAO,EAAE,4BAAoB,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAA;AAIW,QAAA,gBAAgB,GAAG,qBAAa,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,qBAAa,CAAC,MAAM,CAAC;IACtD,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAA"}
@@ -52,13 +52,18 @@ export declare const ScalinkyLiPropsSchema: z.ZodObject<{
52
52
  href: z.ZodOptional<z.ZodString>;
53
53
  }, z.core.$strip>;
54
54
  meta: z.ZodObject<{
55
- kind: z.ZodOptional<z.ZodEnum<{
55
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
56
+ menu: "menu";
57
+ appointments: "appointments";
58
+ reservations: "reservations";
59
+ service: "service";
60
+ }>, z.ZodEnum<{
56
61
  menu: "menu";
57
62
  whatsapp: "whatsapp";
58
63
  instagram: "instagram";
59
64
  website: "website";
60
65
  phone: "phone";
61
- }>>;
66
+ }>]>>;
62
67
  }, z.core.$strip>;
63
68
  order: z.ZodNumber;
64
69
  visible: z.ZodBoolean;
@@ -85,13 +90,18 @@ export declare const ScalinkyLinkPropsSchema: z.ZodObject<{
85
90
  href: z.ZodOptional<z.ZodString>;
86
91
  }, z.core.$strip>;
87
92
  meta: z.ZodObject<{
88
- kind: z.ZodOptional<z.ZodEnum<{
93
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
94
+ menu: "menu";
95
+ appointments: "appointments";
96
+ reservations: "reservations";
97
+ service: "service";
98
+ }>, z.ZodEnum<{
89
99
  menu: "menu";
90
100
  whatsapp: "whatsapp";
91
101
  instagram: "instagram";
92
102
  website: "website";
93
103
  phone: "phone";
94
- }>>;
104
+ }>]>>;
95
105
  }, z.core.$strip>;
96
106
  order: z.ZodNumber;
97
107
  visible: z.ZodBoolean;
@@ -118,13 +128,18 @@ export declare const ScalinkyUnionSocialPropsSchema: z.ZodDiscriminatedUnion<[z.
118
128
  href: z.ZodOptional<z.ZodString>;
119
129
  }, z.core.$strip>;
120
130
  meta: z.ZodObject<{
121
- kind: z.ZodOptional<z.ZodEnum<{
131
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
132
+ menu: "menu";
133
+ appointments: "appointments";
134
+ reservations: "reservations";
135
+ service: "service";
136
+ }>, z.ZodEnum<{
122
137
  menu: "menu";
123
138
  whatsapp: "whatsapp";
124
139
  instagram: "instagram";
125
140
  website: "website";
126
141
  phone: "phone";
127
- }>>;
142
+ }>]>>;
128
143
  }, z.core.$strip>;
129
144
  order: z.ZodNumber;
130
145
  visible: z.ZodBoolean;
@@ -147,13 +162,18 @@ export declare const ScalinkyUnionSocialPropsSchema: z.ZodDiscriminatedUnion<[z.
147
162
  href: z.ZodOptional<z.ZodString>;
148
163
  }, z.core.$strip>;
149
164
  meta: z.ZodObject<{
150
- kind: z.ZodOptional<z.ZodEnum<{
165
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
166
+ menu: "menu";
167
+ appointments: "appointments";
168
+ reservations: "reservations";
169
+ service: "service";
170
+ }>, z.ZodEnum<{
151
171
  menu: "menu";
152
172
  whatsapp: "whatsapp";
153
173
  instagram: "instagram";
154
174
  website: "website";
155
175
  phone: "phone";
156
- }>>;
176
+ }>]>>;
157
177
  }, z.core.$strip>;
158
178
  order: z.ZodNumber;
159
179
  visible: z.ZodBoolean;
@@ -179,13 +199,18 @@ export declare const ScalinkyElementListPropsSchema: z.ZodObject<{
179
199
  href: z.ZodOptional<z.ZodString>;
180
200
  }, z.core.$strip>;
181
201
  meta: z.ZodObject<{
182
- kind: z.ZodOptional<z.ZodEnum<{
202
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
203
+ menu: "menu";
204
+ appointments: "appointments";
205
+ reservations: "reservations";
206
+ service: "service";
207
+ }>, z.ZodEnum<{
183
208
  menu: "menu";
184
209
  whatsapp: "whatsapp";
185
210
  instagram: "instagram";
186
211
  website: "website";
187
212
  phone: "phone";
188
- }>>;
213
+ }>]>>;
189
214
  }, z.core.$strip>;
190
215
  order: z.ZodNumber;
191
216
  visible: z.ZodBoolean;
@@ -208,13 +233,18 @@ export declare const ScalinkyElementListPropsSchema: z.ZodObject<{
208
233
  href: z.ZodOptional<z.ZodString>;
209
234
  }, z.core.$strip>;
210
235
  meta: z.ZodObject<{
211
- kind: z.ZodOptional<z.ZodEnum<{
236
+ kind: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
237
+ menu: "menu";
238
+ appointments: "appointments";
239
+ reservations: "reservations";
240
+ service: "service";
241
+ }>, z.ZodEnum<{
212
242
  menu: "menu";
213
243
  whatsapp: "whatsapp";
214
244
  instagram: "instagram";
215
245
  website: "website";
216
246
  phone: "phone";
217
- }>>;
247
+ }>]>>;
218
248
  }, z.core.$strip>;
219
249
  order: z.ZodNumber;
220
250
  visible: z.ZodBoolean;
@@ -1 +1 @@
1
- {"version":3,"file":"scalinky.schema.d.ts","sourceRoot":"","sources":["../../../../src/core/business/scalinky/scalinky.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;iBAGlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AACvE;;gCAEgC;AAEhC,eAAO,MAAM,uBAAuB;;;;;;;;;iBAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEvE;;gCAEgC;AAChC,eAAO,MAAM,8BAA8B;;;;;;;;;iBAGzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK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,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AACzD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;iBAY9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export * from "./core/business/elements/elements.schema";
2
1
  export * from "./core/business/business/business.schema";
2
+ export * from "./core/business/elements/elements.schema";
3
+ export * from "./core/business/scalinky/scalinky.schema";
3
4
  export * from "./core/business/modules/modules.constants";
4
5
  export * from "./core/business/modules/modules.schema";
5
- export * from "./core/business/scalinky/scalinky.schema";
6
6
  export * from "./core/business/social-kind/social-kind.schema";
7
7
  export * from "./core/business/style/style.schema";
8
8
  export * from "./core/business/theme/theme.schema";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
package/dist/index.js CHANGED
@@ -14,11 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./core/business/elements/elements.schema"), exports);
18
17
  __exportStar(require("./core/business/business/business.schema"), exports);
18
+ __exportStar(require("./core/business/elements/elements.schema"), exports);
19
+ __exportStar(require("./core/business/scalinky/scalinky.schema"), exports);
19
20
  __exportStar(require("./core/business/modules/modules.constants"), exports);
20
21
  __exportStar(require("./core/business/modules/modules.schema"), exports);
21
- __exportStar(require("./core/business/scalinky/scalinky.schema"), exports);
22
22
  __exportStar(require("./core/business/social-kind/social-kind.schema"), exports);
23
23
  __exportStar(require("./core/business/style/style.schema"), exports);
24
24
  __exportStar(require("./core/business/theme/theme.schema"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,2EAAyD;AACzD,4EAA0D;AAC1D,yEAAuD;AACvD,2EAAyD;AACzD,iFAA+D;AAC/D,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,gEAA8C;AAC9C,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,2EAAyD;AACzD,2EAAyD;AACzD,4EAA0D;AAC1D,yEAAuD;AACvD,iFAA+D;AAC/D,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,gEAA8C;AAC9C,gEAA8C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgenarog/shared-contracts",
3
- "version": "1.1.22",
3
+ "version": "1.1.23",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",