Skip to content

Commit

Permalink
update candid and declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Oct 3, 2024
1 parent 33232fc commit c6a7afe
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/backend/backend.did
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ type Result_4 = variant {
type Result_5 = variant { Ok : UserProfile; Err : GetUserProfileError };
type Result_6 = variant { Ok : MigrationReport; Err : text };
type Result_7 = variant { Ok; Err : text };
type SelectedUtxosFeeError = variant { InternalError : record { msg : text } };
type SelectedUtxosFeeError = variant {
PendingTransactions;
InternalError : record { msg : text };
};
type SelectedUtxosFeeRequest = record {
network : BitcoinNetwork;
amount_satoshis : nat64;
Expand Down
5 changes: 4 additions & 1 deletion src/declarations/backend/backend.did
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ type Result_4 = variant {
type Result_5 = variant { Ok : UserProfile; Err : GetUserProfileError };
type Result_6 = variant { Ok : MigrationReport; Err : text };
type Result_7 = variant { Ok; Err : text };
type SelectedUtxosFeeError = variant { InternalError : record { msg : text } };
type SelectedUtxosFeeError = variant {
PendingTransactions;
InternalError : record { msg : text };
};
type SelectedUtxosFeeRequest = record {
network : BitcoinNetwork;
amount_satoshis : nat64;
Expand Down
4 changes: 3 additions & 1 deletion src/declarations/backend/backend.did.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ export type Result_4 = { Ok: SelectedUtxosFeeResponse } | { Err: SelectedUtxosFe
export type Result_5 = { Ok: UserProfile } | { Err: GetUserProfileError };
export type Result_6 = { Ok: MigrationReport } | { Err: string };
export type Result_7 = { Ok: null } | { Err: string };
export type SelectedUtxosFeeError = { InternalError: { msg: string } };
export type SelectedUtxosFeeError =
| { PendingTransactions: null }
| { InternalError: { msg: string } };
export interface SelectedUtxosFeeRequest {
network: BitcoinNetwork;
amount_satoshis: bigint;
Expand Down
1 change: 1 addition & 0 deletions src/declarations/backend/backend.factory.certified.did.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const idlFactory = ({ IDL }) => {
utxos: IDL.Vec(Utxo)
});
const SelectedUtxosFeeError = IDL.Variant({
PendingTransactions: IDL.Null,
InternalError: IDL.Record({ msg: IDL.Text })
});
const Result_4 = IDL.Variant({
Expand Down
1 change: 1 addition & 0 deletions src/declarations/backend/backend.factory.did.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export const idlFactory = ({ IDL }) => {
utxos: IDL.Vec(Utxo)
});
const SelectedUtxosFeeError = IDL.Variant({
PendingTransactions: IDL.Null,
InternalError: IDL.Record({ msg: IDL.Text })
});
const Result_4 = IDL.Variant({
Expand Down

0 comments on commit c6a7afe

Please sign in to comment.