@uniswap/client-embeddedwallet
Advanced tools
Comparing version 0.0.1 to 0.0.2
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
import { Message, proto3, Value } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
/** | ||
@@ -8,5 +8,5 @@ * @generated from message uniswap.embeddedwallet.v1.ChallengeRequest | ||
/** | ||
* @generated from field: uniswap.embeddedwallet.v1.AuthenticaitonTypes type = 1; | ||
* @generated from field: uniswap.embeddedwallet.v1.AuthenticationTypes type = 1; | ||
*/ | ||
type?: AuthenticaitonTypes; | ||
type?: AuthenticationTypes; | ||
constructor(data?: PartialMessage<ChallengeRequest>); | ||
@@ -22,5 +22,5 @@ static readonly runtime: typeof proto3; | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.AuthenticaitonTypes | ||
* @generated from message uniswap.embeddedwallet.v1.AuthenticationTypes | ||
*/ | ||
export declare class AuthenticaitonTypes extends Message<AuthenticaitonTypes> { | ||
export declare class AuthenticationTypes extends Message<AuthenticationTypes> { | ||
/** | ||
@@ -36,10 +36,10 @@ * More types can be added to support web2 signin | ||
passkeyAuthentication: string; | ||
constructor(data?: PartialMessage<AuthenticaitonTypes>); | ||
constructor(data?: PartialMessage<AuthenticationTypes>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "uniswap.embeddedwallet.v1.AuthenticaitonTypes"; | ||
static readonly typeName = "uniswap.embeddedwallet.v1.AuthenticationTypes"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticaitonTypes; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticaitonTypes; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticaitonTypes; | ||
static equals(a: AuthenticaitonTypes | PlainMessage<AuthenticaitonTypes> | undefined, b: AuthenticaitonTypes | PlainMessage<AuthenticaitonTypes> | undefined): boolean; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticationTypes; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticationTypes; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticationTypes; | ||
static equals(a: AuthenticationTypes | PlainMessage<AuthenticationTypes> | undefined, b: AuthenticationTypes | PlainMessage<AuthenticationTypes> | undefined): boolean; | ||
} | ||
@@ -51,5 +51,5 @@ /** | ||
/** | ||
* @generated from field: google.protobuf.Value challenge_options = 1; | ||
* @generated from field: string challenge_options = 1; | ||
*/ | ||
challengeOptions?: Value; | ||
challengeOptions: string; | ||
constructor(data?: PartialMessage<ChallengeResponse>); | ||
@@ -69,5 +69,5 @@ static readonly runtime: typeof proto3; | ||
/** | ||
* @generated from field: google.protobuf.Value credential = 1; | ||
* @generated from field: string credential = 1; | ||
*/ | ||
credential?: Value; | ||
credential: string; | ||
constructor(data?: PartialMessage<CreateWalletRequest>); | ||
@@ -108,5 +108,5 @@ static readonly runtime: typeof proto3; | ||
/** | ||
* @generated from field: google.protobuf.Value credential = 2; | ||
* @generated from field: string credential = 2; | ||
*/ | ||
credential?: Value; | ||
credential: string; | ||
constructor(data?: PartialMessage<SignMessagesRequest>); | ||
@@ -143,5 +143,5 @@ static readonly runtime: typeof proto3; | ||
/** | ||
* @generated from field: google.protobuf.Value credential = 1; | ||
* @generated from field: string credential = 1; | ||
*/ | ||
credential?: Value; | ||
credential: string; | ||
constructor(data?: PartialMessage<WalletSigninRequest>); | ||
@@ -148,0 +148,0 @@ static readonly runtime: typeof proto3; |
@@ -5,3 +5,3 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
// @ts-nocheck | ||
import { Message, proto3, Value } from "@bufbuild/protobuf"; | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
/** | ||
@@ -31,8 +31,8 @@ * @generated from message uniswap.embeddedwallet.v1.ChallengeRequest | ||
ChallengeRequest.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "type", kind: "message", T: AuthenticaitonTypes }, | ||
{ no: 1, name: "type", kind: "message", T: AuthenticationTypes }, | ||
]); | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.AuthenticaitonTypes | ||
* @generated from message uniswap.embeddedwallet.v1.AuthenticationTypes | ||
*/ | ||
export class AuthenticaitonTypes extends Message { | ||
export class AuthenticationTypes extends Message { | ||
constructor(data) { | ||
@@ -53,17 +53,17 @@ super(); | ||
static fromBinary(bytes, options) { | ||
return new AuthenticaitonTypes().fromBinary(bytes, options); | ||
return new AuthenticationTypes().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new AuthenticaitonTypes().fromJson(jsonValue, options); | ||
return new AuthenticationTypes().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new AuthenticaitonTypes().fromJsonString(jsonString, options); | ||
return new AuthenticationTypes().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(AuthenticaitonTypes, a, b); | ||
return proto3.util.equals(AuthenticationTypes, a, b); | ||
} | ||
} | ||
AuthenticaitonTypes.runtime = proto3; | ||
AuthenticaitonTypes.typeName = "uniswap.embeddedwallet.v1.AuthenticaitonTypes"; | ||
AuthenticaitonTypes.fields = proto3.util.newFieldList(() => [ | ||
AuthenticationTypes.runtime = proto3; | ||
AuthenticationTypes.typeName = "uniswap.embeddedwallet.v1.AuthenticationTypes"; | ||
AuthenticationTypes.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "passkey_registration", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
@@ -78,2 +78,6 @@ { no: 2, name: "passkey_authentication", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
super(); | ||
/** | ||
* @generated from field: string challenge_options = 1; | ||
*/ | ||
this.challengeOptions = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -97,3 +101,3 @@ } | ||
ChallengeResponse.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "challenge_options", kind: "message", T: Value }, | ||
{ no: 1, name: "challenge_options", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -106,2 +110,6 @@ /** | ||
super(); | ||
/** | ||
* @generated from field: string credential = 1; | ||
*/ | ||
this.credential = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -125,3 +133,3 @@ } | ||
CreateWalletRequest.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "credential", kind: "message", T: Value }, | ||
{ no: 1, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -168,2 +176,6 @@ /** | ||
this.message = []; | ||
/** | ||
* @generated from field: string credential = 2; | ||
*/ | ||
this.credential = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -188,3 +200,3 @@ } | ||
{ no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
{ no: 2, name: "credential", kind: "message", T: Value }, | ||
{ no: 2, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -227,2 +239,6 @@ /** | ||
super(); | ||
/** | ||
* @generated from field: string credential = 1; | ||
*/ | ||
this.credential = ""; | ||
proto3.util.initPartial(data, this); | ||
@@ -246,3 +262,3 @@ } | ||
WalletSigninRequest.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "credential", kind: "message", T: Value }, | ||
{ no: 1, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
]); | ||
@@ -249,0 +265,0 @@ /** |
{ | ||
"name": "@uniswap/client-embeddedwallet", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "restricted" |
27766
680