@midnight-ntwrk/wallet-sdk-abstractions 3.0.0-beta.1 → 3.0.0-beta.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.
|
@@ -51,7 +51,10 @@ export declare class ProtocolVersionMismatchError extends ProtocolVersionMismatc
|
|
|
51
51
|
declare const WireFormatError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
52
52
|
readonly _tag: "@midnight-ntwrk/wallet-sdk-abstractions/WalletTransaction/WireFormatError";
|
|
53
53
|
} & Readonly<A>;
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Raised when bytes cannot be read as a transaction of a version this SDK knows — whether they arrived in a wire
|
|
56
|
+
* envelope that names their version, or bare, to be read at the version the reader is acting at.
|
|
57
|
+
*/
|
|
55
58
|
export declare class WireFormatError extends WireFormatError_base<{
|
|
56
59
|
readonly message: string;
|
|
57
60
|
/** What went wrong underneath: a parse failure, or whatever the caller's decoder raised. */
|
|
@@ -51,7 +51,10 @@ const TransactionStageSchema = Schema.Literal('Unproven', 'Unbound', 'Finalized'
|
|
|
51
51
|
*/
|
|
52
52
|
export class ProtocolVersionMismatchError extends Data.TaggedError('@midnight-ntwrk/wallet-sdk-abstractions/WalletTransaction/ProtocolVersionMismatchError') {
|
|
53
53
|
}
|
|
54
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Raised when bytes cannot be read as a transaction of a version this SDK knows — whether they arrived in a wire
|
|
56
|
+
* envelope that names their version, or bare, to be read at the version the reader is acting at.
|
|
57
|
+
*/
|
|
55
58
|
export class WireFormatError extends Data.TaggedError('@midnight-ntwrk/wallet-sdk-abstractions/WalletTransaction/WireFormatError') {
|
|
56
59
|
}
|
|
57
60
|
/**
|
package/package.json
CHANGED