@voyantjs/storefront-verification 0.28.3 → 0.29.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.
@@ -28,7 +28,7 @@ export declare function createStorefrontVerificationPublicRoutes(options?: Store
28
28
  channel: "email" | "sms";
29
29
  destination: string;
30
30
  purpose: string;
31
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
31
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
32
32
  expiresAt: string;
33
33
  verifiedAt: string | null;
34
34
  createdAt: string;
@@ -87,7 +87,7 @@ export declare function createStorefrontVerificationPublicRoutes(options?: Store
87
87
  channel: "email" | "sms";
88
88
  destination: string;
89
89
  purpose: string;
90
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
90
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
91
91
  expiresAt: string;
92
92
  verifiedAt: string | null;
93
93
  createdAt: string;
@@ -127,7 +127,7 @@ export declare function createStorefrontVerificationPublicRoutes(options?: Store
127
127
  channel: "email" | "sms";
128
128
  destination: string;
129
129
  purpose: string;
130
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
130
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
131
131
  expiresAt: string;
132
132
  verifiedAt: string | null;
133
133
  createdAt: string;
@@ -167,7 +167,7 @@ export declare function createStorefrontVerificationPublicRoutes(options?: Store
167
167
  channel: "email" | "sms";
168
168
  destination: string;
169
169
  purpose: string;
170
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
170
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
171
171
  expiresAt: string;
172
172
  verifiedAt: string | null;
173
173
  createdAt: string;
package/dist/schema.d.ts CHANGED
@@ -95,7 +95,7 @@ export declare const storefrontVerificationChallenges: import("drizzle-orm/pg-co
95
95
  tableName: "storefront_verification_challenges";
96
96
  dataType: "string";
97
97
  columnType: "PgEnumColumn";
98
- data: "pending" | "verified" | "failed" | "expired" | "cancelled";
98
+ data: "pending" | "failed" | "cancelled" | "verified" | "expired";
99
99
  driverParam: string;
100
100
  notNull: true;
101
101
  hasDefault: true;
package/dist/service.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare function createStorefrontVerificationService(options?: Storefront
53
53
  channel: "email" | "sms";
54
54
  destination: string;
55
55
  purpose: string;
56
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
56
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
57
57
  expiresAt: Date;
58
58
  verifiedAt: Date | null;
59
59
  createdAt: Date;
@@ -64,7 +64,7 @@ export declare function createStorefrontVerificationService(options?: Storefront
64
64
  channel: "email" | "sms";
65
65
  destination: string;
66
66
  purpose: string;
67
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
67
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
68
68
  expiresAt: Date;
69
69
  verifiedAt: Date | null;
70
70
  createdAt: Date;
@@ -75,7 +75,7 @@ export declare function createStorefrontVerificationService(options?: Storefront
75
75
  channel: "email" | "sms";
76
76
  destination: string;
77
77
  purpose: string;
78
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
78
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
79
79
  expiresAt: Date;
80
80
  verifiedAt: Date | null;
81
81
  createdAt: Date;
@@ -86,7 +86,7 @@ export declare function createStorefrontVerificationService(options?: Storefront
86
86
  channel: "email" | "sms";
87
87
  destination: string;
88
88
  purpose: string;
89
- status: "pending" | "verified" | "failed" | "expired" | "cancelled";
89
+ status: "pending" | "failed" | "cancelled" | "verified" | "expired";
90
90
  expiresAt: Date;
91
91
  verifiedAt: Date | null;
92
92
  createdAt: Date;
@@ -5,10 +5,10 @@ export declare const storefrontVerificationChannelSchema: z.ZodEnum<{
5
5
  }>;
6
6
  export declare const storefrontVerificationStatusSchema: z.ZodEnum<{
7
7
  pending: "pending";
8
- verified: "verified";
9
8
  failed: "failed";
10
- expired: "expired";
11
9
  cancelled: "cancelled";
10
+ verified: "verified";
11
+ expired: "expired";
12
12
  }>;
13
13
  export declare const startEmailVerificationChallengeSchema: z.ZodObject<{
14
14
  email: z.ZodEmail;
@@ -42,10 +42,10 @@ export declare const storefrontVerificationChallengeRecordSchema: z.ZodObject<{
42
42
  purpose: z.ZodString;
43
43
  status: z.ZodEnum<{
44
44
  pending: "pending";
45
- verified: "verified";
46
45
  failed: "failed";
47
- expired: "expired";
48
46
  cancelled: "cancelled";
47
+ verified: "verified";
48
+ expired: "expired";
49
49
  }>;
50
50
  expiresAt: z.ZodDate;
51
51
  verifiedAt: z.ZodNullable<z.ZodDate>;
@@ -62,10 +62,10 @@ export declare const storefrontVerificationStartResultSchema: z.ZodObject<{
62
62
  purpose: z.ZodString;
63
63
  status: z.ZodEnum<{
64
64
  pending: "pending";
65
- verified: "verified";
66
65
  failed: "failed";
67
- expired: "expired";
68
66
  cancelled: "cancelled";
67
+ verified: "verified";
68
+ expired: "expired";
69
69
  }>;
70
70
  expiresAt: z.ZodDate;
71
71
  verifiedAt: z.ZodNullable<z.ZodDate>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/storefront-verification",
3
- "version": "0.28.3",
3
+ "version": "0.29.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -34,10 +34,10 @@
34
34
  "drizzle-orm": "^0.45.2",
35
35
  "hono": "^4.12.10",
36
36
  "zod": "^4.3.6",
37
- "@voyantjs/core": "0.28.3",
38
- "@voyantjs/hono": "0.28.3",
39
- "@voyantjs/db": "0.28.3",
40
- "@voyantjs/notifications": "0.28.3"
37
+ "@voyantjs/core": "0.29.0",
38
+ "@voyantjs/db": "0.29.0",
39
+ "@voyantjs/hono": "0.29.0",
40
+ "@voyantjs/notifications": "0.29.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "typescript": "^6.0.2",