Skip to content

Commit

Permalink
Fix required properties for client
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Apr 24, 2024
1 parent 3b862dd commit da383b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion holo-key-manager-extension/static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Holo key manager",
"description": "A browser extension to manage holo keys",
"version": "0.0.50",
"version": "0.0.51",
"manifest_version": 3,
"action": {
"default_title": "Holo key manager",
Expand Down
2 changes: 1 addition & 1 deletion holo-key-manager-js-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@holo-host/holo-key-manager-js-client",
"version": "0.0.3",
"version": "0.0.4",
"description": "A JavaScript client API for managing Holo keys",
"main": "lib/index.js",
"types": "lib/holo-key-manager-js-client/src/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions holo-key-manager-js-client/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
type HoloKeyManagerConfig = {
happId: string;
happName: string;
happLogo: string;
happUiUrl: string;
happLogo?: string;
happUiUrl?: string;
requireRegistrationCode: boolean;
requireEmail: boolean;
};
Expand Down
4 changes: 2 additions & 2 deletions shared/types/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export type PubKey = z.infer<typeof PubKeySchema>;

const HoloKeyManagerConfigSchema = HappIdSchema.extend({
happName: z.string(),
happLogo: z.string(),
happUiUrl: z.string(),
happLogo: z.string().optional(),
happUiUrl: z.string().optional(),
requireRegistrationCode: z.boolean(),
requireEmail: z.boolean()
});
Expand Down

0 comments on commit da383b4

Please sign in to comment.