@revibase/core 0.3.0 → 0.3.2
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 +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -14
- package/dist/index.d.ts +5 -14
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3460,10 +3460,6 @@ declare const AuthenticationContextSchema: z.ZodObject<{
|
|
|
3460
3460
|
jwk: z.ZodBase64;
|
|
3461
3461
|
jws: z.ZodString;
|
|
3462
3462
|
}, z.core.$strict>;
|
|
3463
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3464
|
-
jwk: z.ZodBase64;
|
|
3465
|
-
jws: z.ZodString;
|
|
3466
|
-
}, z.core.$strict>>;
|
|
3467
3463
|
}, z.core.$strict>;
|
|
3468
3464
|
declare const BaseResponseSchema: z.ZodObject<{
|
|
3469
3465
|
signer: z.ZodString;
|
|
@@ -3535,10 +3531,6 @@ declare const CompleteMessageRequestSchema: z.ZodObject<{
|
|
|
3535
3531
|
jwk: z.ZodBase64;
|
|
3536
3532
|
jws: z.ZodString;
|
|
3537
3533
|
}, z.core.$strict>;
|
|
3538
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3539
|
-
jwk: z.ZodBase64;
|
|
3540
|
-
jws: z.ZodString;
|
|
3541
|
-
}, z.core.$strict>>;
|
|
3542
3534
|
id: z.ZodOptional<z.ZodString>;
|
|
3543
3535
|
client: z.ZodObject<{
|
|
3544
3536
|
clientOrigin: z.ZodURL;
|
|
@@ -3605,10 +3597,6 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
|
|
|
3605
3597
|
jwk: z.ZodBase64;
|
|
3606
3598
|
jws: z.ZodString;
|
|
3607
3599
|
}, z.core.$strict>;
|
|
3608
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3609
|
-
jwk: z.ZodBase64;
|
|
3610
|
-
jws: z.ZodString;
|
|
3611
|
-
}, z.core.$strict>>;
|
|
3612
3600
|
slotHash: z.ZodString;
|
|
3613
3601
|
slotNumber: z.ZodString;
|
|
3614
3602
|
originIndex: z.ZodNumber;
|
|
@@ -4206,14 +4194,17 @@ declare function retrieveTransactionManager(signer: string, settingsData: Compre
|
|
|
4206
4194
|
transactionManagerAddress: Address<string>;
|
|
4207
4195
|
userAddressTreeIndex: number;
|
|
4208
4196
|
};
|
|
4209
|
-
declare function getSignedTransactionManager({ authResponses, transactionManagerAddress, userAddressTreeIndex, transactionMessageBytes, cachedAccounts, }: {
|
|
4197
|
+
declare function getSignedTransactionManager({ authResponses, transactionManagerAddress, userAddressTreeIndex, transactionMessageBytes, cachedAccounts, onPendingApprovalsCallback, onPendingApprovalsSuccess, abortController, }: {
|
|
4210
4198
|
authResponses?: TransactionAuthDetails[];
|
|
4211
4199
|
transactionMessageBytes?: ReadonlyUint8Array;
|
|
4212
4200
|
transactionManagerAddress?: Address;
|
|
4213
4201
|
userAddressTreeIndex?: number;
|
|
4214
4202
|
cachedAccounts?: AccountCache;
|
|
4203
|
+
onPendingApprovalsCallback?: (validTill: number) => void;
|
|
4204
|
+
onPendingApprovalsSuccess?: () => void;
|
|
4205
|
+
abortController?: AbortController;
|
|
4215
4206
|
}): Promise<TransactionSigner | null>;
|
|
4216
|
-
declare function createTransactionManagerSigner(address: Address, url: string, authResponses?: TransactionAuthDetails[], transactionMessageBytes?: ReadonlyUint8Array): TransactionSigner;
|
|
4207
|
+
declare function createTransactionManagerSigner(address: Address, url: string, authResponses?: TransactionAuthDetails[], transactionMessageBytes?: ReadonlyUint8Array, onPendingApprovalsCallback?: (validTill: number) => void, onPendingApprovalsSuccess?: () => void, abortController?: AbortController): TransactionSigner;
|
|
4217
4208
|
declare function convertMemberKeyToString(memberKey: MemberKey): string;
|
|
4218
4209
|
declare function serializeConfigActions(configActions: ConfigAction[]): Uint8Array<ArrayBuffer>;
|
|
4219
4210
|
declare function deserializeConfigActions(bytes: Uint8Array<ArrayBuffer>): ConfigAction[];
|
package/dist/index.d.ts
CHANGED
|
@@ -3460,10 +3460,6 @@ declare const AuthenticationContextSchema: z.ZodObject<{
|
|
|
3460
3460
|
jwk: z.ZodBase64;
|
|
3461
3461
|
jws: z.ZodString;
|
|
3462
3462
|
}, z.core.$strict>;
|
|
3463
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3464
|
-
jwk: z.ZodBase64;
|
|
3465
|
-
jws: z.ZodString;
|
|
3466
|
-
}, z.core.$strict>>;
|
|
3467
3463
|
}, z.core.$strict>;
|
|
3468
3464
|
declare const BaseResponseSchema: z.ZodObject<{
|
|
3469
3465
|
signer: z.ZodString;
|
|
@@ -3535,10 +3531,6 @@ declare const CompleteMessageRequestSchema: z.ZodObject<{
|
|
|
3535
3531
|
jwk: z.ZodBase64;
|
|
3536
3532
|
jws: z.ZodString;
|
|
3537
3533
|
}, z.core.$strict>;
|
|
3538
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3539
|
-
jwk: z.ZodBase64;
|
|
3540
|
-
jws: z.ZodString;
|
|
3541
|
-
}, z.core.$strict>>;
|
|
3542
3534
|
id: z.ZodOptional<z.ZodString>;
|
|
3543
3535
|
client: z.ZodObject<{
|
|
3544
3536
|
clientOrigin: z.ZodURL;
|
|
@@ -3605,10 +3597,6 @@ declare const CompleteTransactionRequestSchema: z.ZodObject<{
|
|
|
3605
3597
|
jwk: z.ZodBase64;
|
|
3606
3598
|
jws: z.ZodString;
|
|
3607
3599
|
}, z.core.$strict>;
|
|
3608
|
-
authProvider: z.ZodOptional<z.ZodObject<{
|
|
3609
|
-
jwk: z.ZodBase64;
|
|
3610
|
-
jws: z.ZodString;
|
|
3611
|
-
}, z.core.$strict>>;
|
|
3612
3600
|
slotHash: z.ZodString;
|
|
3613
3601
|
slotNumber: z.ZodString;
|
|
3614
3602
|
originIndex: z.ZodNumber;
|
|
@@ -4206,14 +4194,17 @@ declare function retrieveTransactionManager(signer: string, settingsData: Compre
|
|
|
4206
4194
|
transactionManagerAddress: Address<string>;
|
|
4207
4195
|
userAddressTreeIndex: number;
|
|
4208
4196
|
};
|
|
4209
|
-
declare function getSignedTransactionManager({ authResponses, transactionManagerAddress, userAddressTreeIndex, transactionMessageBytes, cachedAccounts, }: {
|
|
4197
|
+
declare function getSignedTransactionManager({ authResponses, transactionManagerAddress, userAddressTreeIndex, transactionMessageBytes, cachedAccounts, onPendingApprovalsCallback, onPendingApprovalsSuccess, abortController, }: {
|
|
4210
4198
|
authResponses?: TransactionAuthDetails[];
|
|
4211
4199
|
transactionMessageBytes?: ReadonlyUint8Array;
|
|
4212
4200
|
transactionManagerAddress?: Address;
|
|
4213
4201
|
userAddressTreeIndex?: number;
|
|
4214
4202
|
cachedAccounts?: AccountCache;
|
|
4203
|
+
onPendingApprovalsCallback?: (validTill: number) => void;
|
|
4204
|
+
onPendingApprovalsSuccess?: () => void;
|
|
4205
|
+
abortController?: AbortController;
|
|
4215
4206
|
}): Promise<TransactionSigner | null>;
|
|
4216
|
-
declare function createTransactionManagerSigner(address: Address, url: string, authResponses?: TransactionAuthDetails[], transactionMessageBytes?: ReadonlyUint8Array): TransactionSigner;
|
|
4207
|
+
declare function createTransactionManagerSigner(address: Address, url: string, authResponses?: TransactionAuthDetails[], transactionMessageBytes?: ReadonlyUint8Array, onPendingApprovalsCallback?: (validTill: number) => void, onPendingApprovalsSuccess?: () => void, abortController?: AbortController): TransactionSigner;
|
|
4217
4208
|
declare function convertMemberKeyToString(memberKey: MemberKey): string;
|
|
4218
4209
|
declare function serializeConfigActions(configActions: ConfigAction[]): Uint8Array<ArrayBuffer>;
|
|
4219
4210
|
declare function deserializeConfigActions(bytes: Uint8Array<ArrayBuffer>): ConfigAction[];
|