@skillstew/common 1.0.38 → 1.0.39

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.
@@ -3,6 +3,7 @@ export declare const EventSchemas: {
3
3
  readonly "expert.registered": z.ZodObject<{
4
4
  id: z.ZodUUID;
5
5
  email: z.ZodEmail;
6
+ token: z.ZodString;
6
7
  }, z.core.$strip>;
7
8
  readonly "expert.onboarded": z.ZodObject<{
8
9
  expertId: z.ZodUUID;
@@ -2,6 +2,7 @@ import z from "zod";
2
2
  export declare const expertRegisteredSchema: z.ZodObject<{
3
3
  id: z.ZodUUID;
4
4
  email: z.ZodEmail;
5
+ token: z.ZodString;
5
6
  }, z.core.$strip>;
6
7
  export declare const newExpertOnboardedSchema: z.ZodObject<{
7
8
  expertId: z.ZodUUID;
@@ -17,6 +18,7 @@ export declare const ExpertEventSchemas: {
17
18
  readonly "expert.registered": z.ZodObject<{
18
19
  id: z.ZodUUID;
19
20
  email: z.ZodEmail;
21
+ token: z.ZodString;
20
22
  }, z.core.$strip>;
21
23
  readonly "expert.onboarded": z.ZodObject<{
22
24
  expertId: z.ZodUUID;
@@ -8,6 +8,7 @@ const zod_1 = __importDefault(require("zod"));
8
8
  exports.expertRegisteredSchema = zod_1.default.object({
9
9
  id: zod_1.default.uuid(),
10
10
  email: zod_1.default.email(),
11
+ token: zod_1.default.string(),
11
12
  });
12
13
  exports.newExpertOnboardedSchema = zod_1.default.object({
13
14
  expertId: zod_1.default.uuid(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillstew/common",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "scripts": {
@@ -3,6 +3,7 @@ import z from "zod";
3
3
  export const expertRegisteredSchema = z.object({
4
4
  id: z.uuid(),
5
5
  email: z.email(),
6
+ token: z.string(),
6
7
  });
7
8
 
8
9
  export const newExpertOnboardedSchema = z.object({
package/publish.sh DELETED
@@ -1,27 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Exit immediately on error
4
- set -e
5
-
6
- # Change to correct dir
7
- cd "/home/faheem/Work/dev/brototype/skillStew/skill-stew-api/common/"
8
-
9
- # Step 1: Bump patch version
10
- npm version patch
11
-
12
- # Step 2: Build the package
13
- npm run build
14
-
15
- # Step 3: Stage all changes
16
- git add .
17
-
18
- # Step 4: Prompt for a commit message
19
- echo "Enter commit message:"
20
- read COMMIT_MESSAGE
21
- git commit -m "$COMMIT_MESSAGE"
22
-
23
- # Step 5: Push to GitHub
24
- git push
25
-
26
- # Step 6: Publish to npm
27
- npm publish