lancer-shared 1.0.158 → 1.0.160

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.
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const proxyProviderSchema: z.ZodEnum<["webshare"]>;
3
3
  export declare const proxyCountrySchema: z.ZodEnum<["USA"]>;
4
4
  export declare const proxySchema: z.ZodObject<{
5
+ id: z.ZodString;
5
6
  host: z.ZodString;
6
7
  port: z.ZodNumber;
7
8
  username: z.ZodString;
@@ -10,6 +11,7 @@ export declare const proxySchema: z.ZodObject<{
10
11
  country: z.ZodEnum<["USA"]>;
11
12
  bidderId: z.ZodNullable<z.ZodString>;
12
13
  }, "strip", z.ZodTypeAny, {
14
+ id: string;
13
15
  port: number;
14
16
  country: "USA";
15
17
  username: string;
@@ -18,6 +20,7 @@ export declare const proxySchema: z.ZodObject<{
18
20
  password: string;
19
21
  bidderId: string | null;
20
22
  }, {
23
+ id: string;
21
24
  port: number;
22
25
  country: "USA";
23
26
  username: string;
@@ -27,5 +30,6 @@ export declare const proxySchema: z.ZodObject<{
27
30
  bidderId: string | null;
28
31
  }>;
29
32
  export type ProxyProvider = z.infer<typeof proxyProviderSchema>;
33
+ export type ProxyCountry = z.infer<typeof proxyCountrySchema>;
30
34
  export interface Proxy extends z.infer<typeof proxySchema> {
31
35
  }
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  exports.proxyProviderSchema = zod_1.z.enum(['webshare']);
6
6
  exports.proxyCountrySchema = zod_1.z.enum(['USA']);
7
7
  exports.proxySchema = zod_1.z.object({
8
+ id: zod_1.z.string(),
8
9
  host: zod_1.z.string(),
9
10
  port: zod_1.z.number(),
10
11
  username: zod_1.z.string(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "lancer-shared",
4
- "version": "1.0.158",
4
+ "version": "1.0.160",
5
5
  "description": "This package contains shared stuff.",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",