liqpay-nestjs 0.2.12 → 0.2.13

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.
@@ -21,7 +21,7 @@ export declare const LiqPayCheckoutRequestSchema: z.ZodObject<{
21
21
  UAH: "UAH";
22
22
  }>;
23
23
  description: z.ZodString;
24
- ip: () => z.ZodOptional<z.ZodString>;
24
+ ip: z.ZodOptional<z.ZodString>;
25
25
  orderId: z.ZodString;
26
26
  rroInfo: z.ZodOptional<z.ZodObject<{
27
27
  items: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -157,7 +157,7 @@ export declare const LiqPayRawCheckoutRequestSchema: z.ZodPipe<z.ZodObject<{
157
157
  UAH: "UAH";
158
158
  }>;
159
159
  description: z.ZodString;
160
- ip: () => z.ZodOptional<z.ZodString>;
160
+ ip: z.ZodOptional<z.ZodString>;
161
161
  orderId: z.ZodString;
162
162
  rroInfo: z.ZodOptional<z.ZodObject<{
163
163
  items: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -282,11 +282,11 @@ export declare const LiqPayRawCheckoutRequestSchema: z.ZodPipe<z.ZodObject<{
282
282
  amount: number;
283
283
  currency: "USD" | "EUR" | "UAH";
284
284
  description: string;
285
- ip: unknown;
286
285
  order_id: string;
287
286
  version?: 7 | undefined;
288
287
  public_key?: string | undefined;
289
288
  card_token?: string | undefined;
289
+ ip?: string | undefined;
290
290
  rro_info?: {
291
291
  items?: {
292
292
  amount: number;
@@ -334,11 +334,11 @@ export declare const LiqPayRawCheckoutRequestSchema: z.ZodPipe<z.ZodObject<{
334
334
  amount: number;
335
335
  currency: "USD" | "EUR" | "UAH";
336
336
  description: string;
337
- ip: unknown;
338
337
  orderId: string;
339
338
  version?: 7 | undefined;
340
339
  publicKey?: string | undefined;
341
340
  cardToken?: string | undefined;
341
+ ip?: string | undefined;
342
342
  rroInfo?: {
343
343
  items?: ({
344
344
  amount: number;
@@ -18,7 +18,7 @@ exports.LiqPayCheckoutRequestSchema = zod_1.default.object({
18
18
  cardToken: zod_1.default.string().optional(),
19
19
  currency: enums_1.LiqPayCurrencySchema,
20
20
  description: zod_1.default.string(),
21
- ip: zod_1.default.string().optional,
21
+ ip: zod_1.default.string().optional(),
22
22
  orderId: zod_1.default.string().max(255),
23
23
  rroInfo: common_1.LiqPayFiscalDataSchema.optional(),
24
24
  expiredDate: zod_1.default.date().optional(),
@@ -10,11 +10,11 @@ export declare class LiqPayPaymentsService {
10
10
  amount: number;
11
11
  currency: "USD" | "EUR" | "UAH";
12
12
  description: string;
13
- ip: unknown;
14
13
  orderId: string;
15
14
  version?: 7 | undefined;
16
15
  publicKey?: string | undefined;
17
16
  cardToken?: string | undefined;
17
+ ip?: string | undefined;
18
18
  rroInfo?: {
19
19
  items?: ({
20
20
  amount: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "liqpay-nestjs",
3
3
  "description": "LiqPay integration module for NestJS with support for payments, callbacks, and configuration via DI.",
4
- "version": "0.2.12",
4
+ "version": "0.2.13",
5
5
  "type": "commonjs",
6
6
  "module": "dist/index.js",
7
7
  "main": "dist/index.js",