@phanmn/chat3-sdk
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -19,24 +19,14 @@ import * as valibot from 'valibot'; | ||
colorBackgroundInput: string; | ||
account: { | ||
email: string; | ||
blockchain_account: { | ||
address: string; | ||
}; | ||
}; | ||
resource: string; | ||
} | ||
declare const ClientSchema: Omit<valibot.ObjectSchema<{ | ||
readonly client_id: valibot.StringSchema<undefined>; | ||
readonly user_id: valibot.StringSchema<undefined>; | ||
readonly token: valibot.StringSchema<undefined>; | ||
readonly origin: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>; | ||
}, undefined>, "_types" | "_run" | "entries"> & { | ||
readonly entries: { | ||
readonly client_id: valibot.NonOptionalSchema<valibot.StringSchema<undefined>, undefined>; | ||
readonly user_id: valibot.NonOptionalSchema<valibot.StringSchema<undefined>, undefined>; | ||
readonly token: valibot.NonOptionalSchema<valibot.StringSchema<undefined>, undefined>; | ||
readonly origin: valibot.OptionalSchema<valibot.StringSchema<undefined>, never>; | ||
}; | ||
_run(dataset: valibot.Dataset<unknown, never>, config: valibot.Config<valibot.ObjectIssue | valibot.StringIssue>): valibot.Dataset<{ | ||
client_id: string; | ||
user_id: string; | ||
token: string; | ||
origin?: string | undefined; | ||
@@ -46,9 +36,7 @@ }, valibot.ObjectIssue | valibot.StringIssue | valibot.NonOptionalIssue>; | ||
readonly input: { | ||
client_id: string; | ||
user_id: string; | ||
token: string; | ||
origin?: string | undefined; | ||
}; | ||
readonly output: { | ||
client_id: string; | ||
user_id: string; | ||
token: string; | ||
origin?: string | undefined; | ||
@@ -63,4 +51,3 @@ }; | ||
static create(params: InferOutput<typeof ClientSchema>): Client; | ||
get user_id(): string; | ||
get client_id(): string; | ||
get token(): string; | ||
get origin(): string; | ||
@@ -67,0 +54,0 @@ } |
{ | ||
"name": "@phanmn/chat3-sdk", | ||
"type": "module", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Chat3.one SDK", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
27350
522