@revibase/core 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2934,6 +2934,8 @@ type TransactionAuthDetails = {
|
|
|
2934
2934
|
publicKey: string;
|
|
2935
2935
|
signature: string;
|
|
2936
2936
|
};
|
|
2937
|
+
originIndex: number;
|
|
2938
|
+
crossOrigin: boolean;
|
|
2937
2939
|
};
|
|
2938
2940
|
type TransactionPayloadWithBase64MessageBytes = {
|
|
2939
2941
|
transactionActionType: TransactionActionType;
|
|
@@ -3368,7 +3370,7 @@ declare function initialize({ rpcEndpoint, proverEndpoint, compressionApiEndpoin
|
|
|
3368
3370
|
declare function createPopUp(url?: string): Window | null;
|
|
3369
3371
|
declare function convertPubkeyCoseToCompressed(publicKey: Uint8Array<ArrayBufferLike>): string;
|
|
3370
3372
|
declare function convertPubkeyCompressedToCose(publicKey: string): Uint8Array<ArrayBuffer>;
|
|
3371
|
-
declare function getSignedSecp256r1Key(payload: TransactionAuthenticationResponse
|
|
3373
|
+
declare function getSignedSecp256r1Key(payload: TransactionAuthenticationResponse): Promise<SignedSecp256r1Key>;
|
|
3372
3374
|
declare function verifyTransactionAuthResponseWithMessageHash(authDetails: TransactionAuthDetails, expectedMessageHash: Uint8Array): void;
|
|
3373
3375
|
declare function getOriginIndex(domainConfig: Address, origin: string): Promise<number>;
|
|
3374
3376
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2934,6 +2934,8 @@ type TransactionAuthDetails = {
|
|
|
2934
2934
|
publicKey: string;
|
|
2935
2935
|
signature: string;
|
|
2936
2936
|
};
|
|
2937
|
+
originIndex: number;
|
|
2938
|
+
crossOrigin: boolean;
|
|
2937
2939
|
};
|
|
2938
2940
|
type TransactionPayloadWithBase64MessageBytes = {
|
|
2939
2941
|
transactionActionType: TransactionActionType;
|
|
@@ -3368,7 +3370,7 @@ declare function initialize({ rpcEndpoint, proverEndpoint, compressionApiEndpoin
|
|
|
3368
3370
|
declare function createPopUp(url?: string): Window | null;
|
|
3369
3371
|
declare function convertPubkeyCoseToCompressed(publicKey: Uint8Array<ArrayBufferLike>): string;
|
|
3370
3372
|
declare function convertPubkeyCompressedToCose(publicKey: string): Uint8Array<ArrayBuffer>;
|
|
3371
|
-
declare function getSignedSecp256r1Key(payload: TransactionAuthenticationResponse
|
|
3373
|
+
declare function getSignedSecp256r1Key(payload: TransactionAuthenticationResponse): Promise<SignedSecp256r1Key>;
|
|
3372
3374
|
declare function verifyTransactionAuthResponseWithMessageHash(authDetails: TransactionAuthDetails, expectedMessageHash: Uint8Array): void;
|
|
3373
3375
|
declare function getOriginIndex(domainConfig: Address, origin: string): Promise<number>;
|
|
3374
3376
|
|