Skip to content

Commit 6be024f

Browse files
[BOT] Update initia-registry-types to 1.0.4 (#549)
Co-authored-by: ALPAC-4 <[email protected]>
1 parent 38f7fd1 commit 6be024f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

_packages/types/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@initia/initia-registry-types",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "The package provides TypeScript type definitions and Zod integration for initia-registry.",
55
"types": "./dist/types/index.d.ts",
66
"exports": {

_packages/types/src/types/Profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export interface ChainProfile {
3838
};
3939
social?: {
4040
website?: string;
41+
webapp?: string;
4142
twitter?: string;
4243
[k: string]: unknown;
4344
};

_packages/types/src/zods/Profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export const ProfileSchema = z.object({
4444
social: z
4545
.object({
4646
website: z.string().url().regex(new RegExp("^https://.")).optional(),
47+
webapp: z.string().url().regex(new RegExp("^https://.")).optional(),
4748
twitter: z
4849
.string()
4950
.url()

0 commit comments

Comments
 (0)