@uniswap/client-embeddedwallet
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -1,2 +0,2 @@ | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, SignTypedDataBatchRequest, SignTypedDataBatchResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -65,2 +65,13 @@ /** | ||
/** | ||
* Authenticate + sign typed data | ||
* | ||
* @generated from rpc uniswap.embeddedwallet.v1.EmbeddedWalletService.SignTypedDataBatch | ||
*/ | ||
readonly signTypedDataBatch: { | ||
readonly name: "SignTypedDataBatch"; | ||
readonly I: typeof SignTypedDataBatchRequest; | ||
readonly O: typeof SignTypedDataBatchResponse; | ||
readonly kind: MethodKind.Unary; | ||
}; | ||
/** | ||
* Authenticate + Securely export the seed phrase using a temporary encryption key | ||
@@ -67,0 +78,0 @@ * |
@@ -5,3 +5,3 @@ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts" | ||
// @ts-nocheck | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, SignTypedDataBatchRequest, SignTypedDataBatchResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
@@ -70,2 +70,13 @@ /** | ||
/** | ||
* Authenticate + sign typed data | ||
* | ||
* @generated from rpc uniswap.embeddedwallet.v1.EmbeddedWalletService.SignTypedDataBatch | ||
*/ | ||
signTypedDataBatch: { | ||
name: "SignTypedDataBatch", | ||
I: SignTypedDataBatchRequest, | ||
O: SignTypedDataBatchResponse, | ||
kind: MethodKind.Unary, | ||
}, | ||
/** | ||
* Authenticate + Securely export the seed phrase using a temporary encryption key | ||
@@ -72,0 +83,0 @@ * |
@@ -238,1 +238,41 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; | ||
} | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.SignTypedDataBatchRequest | ||
*/ | ||
export declare class SignTypedDataBatchRequest extends Message<SignTypedDataBatchRequest> { | ||
/** | ||
* @generated from field: string credential = 1; | ||
*/ | ||
credential: string; | ||
/** | ||
* @generated from field: repeated string typed_data_batch = 2; | ||
*/ | ||
typedDataBatch: string[]; | ||
constructor(data?: PartialMessage<SignTypedDataBatchRequest>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "uniswap.embeddedwallet.v1.SignTypedDataBatchRequest"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignTypedDataBatchRequest; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignTypedDataBatchRequest; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignTypedDataBatchRequest; | ||
static equals(a: SignTypedDataBatchRequest | PlainMessage<SignTypedDataBatchRequest> | undefined, b: SignTypedDataBatchRequest | PlainMessage<SignTypedDataBatchRequest> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.SignTypedDataBatchResponse | ||
*/ | ||
export declare class SignTypedDataBatchResponse extends Message<SignTypedDataBatchResponse> { | ||
/** | ||
* Multiple signatures. | ||
* | ||
* @generated from field: repeated string signature = 1; | ||
*/ | ||
signature: string[]; | ||
constructor(data?: PartialMessage<SignTypedDataBatchResponse>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "uniswap.embeddedwallet.v1.SignTypedDataBatchResponse"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SignTypedDataBatchResponse; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SignTypedDataBatchResponse; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SignTypedDataBatchResponse; | ||
static equals(a: SignTypedDataBatchResponse | PlainMessage<SignTypedDataBatchResponse> | undefined, b: SignTypedDataBatchResponse | PlainMessage<SignTypedDataBatchResponse> | undefined): boolean; | ||
} |
@@ -407,1 +407,68 @@ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts" | ||
]); | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.SignTypedDataBatchRequest | ||
*/ | ||
export class SignTypedDataBatchRequest extends Message { | ||
constructor(data) { | ||
super(); | ||
/** | ||
* @generated from field: string credential = 1; | ||
*/ | ||
this.credential = ""; | ||
/** | ||
* @generated from field: repeated string typed_data_batch = 2; | ||
*/ | ||
this.typedDataBatch = []; | ||
proto3.util.initPartial(data, this); | ||
} | ||
static fromBinary(bytes, options) { | ||
return new SignTypedDataBatchRequest().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new SignTypedDataBatchRequest().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new SignTypedDataBatchRequest().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(SignTypedDataBatchRequest, a, b); | ||
} | ||
} | ||
SignTypedDataBatchRequest.runtime = proto3; | ||
SignTypedDataBatchRequest.typeName = "uniswap.embeddedwallet.v1.SignTypedDataBatchRequest"; | ||
SignTypedDataBatchRequest.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "credential", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "typed_data_batch", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
]); | ||
/** | ||
* @generated from message uniswap.embeddedwallet.v1.SignTypedDataBatchResponse | ||
*/ | ||
export class SignTypedDataBatchResponse extends Message { | ||
constructor(data) { | ||
super(); | ||
/** | ||
* Multiple signatures. | ||
* | ||
* @generated from field: repeated string signature = 1; | ||
*/ | ||
this.signature = []; | ||
proto3.util.initPartial(data, this); | ||
} | ||
static fromBinary(bytes, options) { | ||
return new SignTypedDataBatchResponse().fromBinary(bytes, options); | ||
} | ||
static fromJson(jsonValue, options) { | ||
return new SignTypedDataBatchResponse().fromJson(jsonValue, options); | ||
} | ||
static fromJsonString(jsonString, options) { | ||
return new SignTypedDataBatchResponse().fromJsonString(jsonString, options); | ||
} | ||
static equals(a, b) { | ||
return proto3.util.equals(SignTypedDataBatchResponse, a, b); | ||
} | ||
} | ||
SignTypedDataBatchResponse.runtime = proto3; | ||
SignTypedDataBatchResponse.typeName = "uniswap.embeddedwallet.v1.SignTypedDataBatchResponse"; | ||
SignTypedDataBatchResponse.fields = proto3.util.newFieldList(() => [ | ||
{ no: 1, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, | ||
]); |
import { MethodKind } from "@bufbuild/protobuf"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, SignTypedDataBatchRequest, SignTypedDataBatchResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
/** | ||
@@ -79,2 +79,17 @@ * Initiates a challenge for given authenticator type | ||
/** | ||
* Authenticate + sign typed data | ||
* | ||
* @generated from rpc uniswap.embeddedwallet.v1.EmbeddedWalletService.SignTypedDataBatch | ||
*/ | ||
export declare const signTypedDataBatch: { | ||
readonly localName: "signTypedDataBatch"; | ||
readonly name: "SignTypedDataBatch"; | ||
readonly kind: MethodKind.Unary; | ||
readonly I: typeof SignTypedDataBatchRequest; | ||
readonly O: typeof SignTypedDataBatchResponse; | ||
readonly service: { | ||
readonly typeName: "uniswap.embeddedwallet.v1.EmbeddedWalletService"; | ||
}; | ||
}; | ||
/** | ||
* Authenticate + Securely export the seed phrase using a temporary encryption key | ||
@@ -81,0 +96,0 @@ * |
@@ -6,3 +6,3 @@ // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts" | ||
import { MethodKind } from "@bufbuild/protobuf"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
import { ChallengeRequest, ChallengeResponse, CreateWalletRequest, CreateWalletResponse, ExportSeedPhraseRequest, ExportSeedPhraseResponse, SignMessagesRequest, SignMessagesResponse, SignTransactionsRequest, SignTransactionsResponse, SignTypedDataBatchRequest, SignTypedDataBatchResponse, WalletSigninRequest, WalletSigninResponse } from "./service_pb.js"; | ||
/** | ||
@@ -84,2 +84,17 @@ * Initiates a challenge for given authenticator type | ||
/** | ||
* Authenticate + sign typed data | ||
* | ||
* @generated from rpc uniswap.embeddedwallet.v1.EmbeddedWalletService.SignTypedDataBatch | ||
*/ | ||
export const signTypedDataBatch = { | ||
localName: "signTypedDataBatch", | ||
name: "SignTypedDataBatch", | ||
kind: MethodKind.Unary, | ||
I: SignTypedDataBatchRequest, | ||
O: SignTypedDataBatchResponse, | ||
service: { | ||
typeName: "uniswap.embeddedwallet.v1.EmbeddedWalletService" | ||
} | ||
}; | ||
/** | ||
* Authenticate + Securely export the seed phrase using a temporary encryption key | ||
@@ -86,0 +101,0 @@ * |
{ | ||
"name": "@uniswap/client-embeddedwallet", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "restricted" |
47493
1150