@cardano-sdk/key-management 0.2.0-nightly.4 → 0.2.0-nightly.6
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/cjs/KeyAgentBase.d.ts +2 -2
- package/dist/cjs/KeyAgentBase.d.ts.map +1 -1
- package/dist/cjs/KeyAgentBase.js.map +1 -1
- package/dist/cjs/cip8/cip30signData.d.ts +3 -5
- package/dist/cjs/cip8/cip30signData.d.ts.map +1 -1
- package/dist/cjs/cip8/cip30signData.js +3 -5
- package/dist/cjs/cip8/cip30signData.js.map +1 -1
- package/dist/cjs/errors/AuthenticationError.d.ts +3 -4
- package/dist/cjs/errors/AuthenticationError.d.ts.map +1 -1
- package/dist/cjs/errors/AuthenticationError.js +3 -4
- package/dist/cjs/errors/AuthenticationError.js.map +1 -1
- package/dist/cjs/errors/HwMappingError.d.ts +3 -4
- package/dist/cjs/errors/HwMappingError.d.ts.map +1 -1
- package/dist/cjs/errors/HwMappingError.js +3 -4
- package/dist/cjs/errors/HwMappingError.js.map +1 -1
- package/dist/cjs/errors/ProofGenerationError.d.ts +3 -4
- package/dist/cjs/errors/ProofGenerationError.d.ts.map +1 -1
- package/dist/cjs/errors/ProofGenerationError.js +3 -4
- package/dist/cjs/errors/ProofGenerationError.js.map +1 -1
- package/dist/cjs/errors/TransportError.d.ts +3 -4
- package/dist/cjs/errors/TransportError.d.ts.map +1 -1
- package/dist/cjs/errors/TransportError.js +3 -4
- package/dist/cjs/errors/TransportError.js.map +1 -1
- package/dist/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/cjs/types.d.ts +2 -2
- package/dist/cjs/types.d.ts.map +1 -1
- package/dist/cjs/util/mapHardwareSigningData.d.ts +3 -3
- package/dist/cjs/util/mapHardwareSigningData.d.ts.map +1 -1
- package/dist/cjs/util/mapHardwareSigningData.js +1 -1
- package/dist/cjs/util/mapHardwareSigningData.js.map +1 -1
- package/dist/cjs/util/ownSignatureKeyPaths.d.ts +2 -2
- package/dist/cjs/util/ownSignatureKeyPaths.d.ts.map +1 -1
- package/dist/cjs/util/stubSignTransaction.d.ts +2 -2
- package/dist/cjs/util/stubSignTransaction.d.ts.map +1 -1
- package/dist/cjs/util/stubSignTransaction.js.map +1 -1
- package/dist/esm/KeyAgentBase.d.ts +2 -2
- package/dist/esm/KeyAgentBase.d.ts.map +1 -1
- package/dist/esm/KeyAgentBase.js.map +1 -1
- package/dist/esm/cip8/cip30signData.d.ts +3 -5
- package/dist/esm/cip8/cip30signData.d.ts.map +1 -1
- package/dist/esm/cip8/cip30signData.js +4 -6
- package/dist/esm/cip8/cip30signData.js.map +1 -1
- package/dist/esm/errors/AuthenticationError.d.ts +3 -4
- package/dist/esm/errors/AuthenticationError.d.ts.map +1 -1
- package/dist/esm/errors/AuthenticationError.js +3 -4
- package/dist/esm/errors/AuthenticationError.js.map +1 -1
- package/dist/esm/errors/HwMappingError.d.ts +3 -4
- package/dist/esm/errors/HwMappingError.d.ts.map +1 -1
- package/dist/esm/errors/HwMappingError.js +3 -4
- package/dist/esm/errors/HwMappingError.js.map +1 -1
- package/dist/esm/errors/ProofGenerationError.d.ts +3 -4
- package/dist/esm/errors/ProofGenerationError.d.ts.map +1 -1
- package/dist/esm/errors/ProofGenerationError.js +3 -4
- package/dist/esm/errors/ProofGenerationError.js.map +1 -1
- package/dist/esm/errors/TransportError.d.ts +3 -4
- package/dist/esm/errors/TransportError.d.ts.map +1 -1
- package/dist/esm/errors/TransportError.js +3 -4
- package/dist/esm/errors/TransportError.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/esm/util/mapHardwareSigningData.d.ts +3 -3
- package/dist/esm/util/mapHardwareSigningData.d.ts.map +1 -1
- package/dist/esm/util/mapHardwareSigningData.js +1 -1
- package/dist/esm/util/mapHardwareSigningData.js.map +1 -1
- package/dist/esm/util/ownSignatureKeyPaths.d.ts +2 -2
- package/dist/esm/util/ownSignatureKeyPaths.d.ts.map +1 -1
- package/dist/esm/util/stubSignTransaction.d.ts +2 -2
- package/dist/esm/util/stubSignTransaction.d.ts.map +1 -1
- package/dist/esm/util/stubSignTransaction.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AccountAddressDerivationPath, AccountKeyDerivationPath, GroupedAddress, KeyAgent, KeyAgentDependencies, SerializableKeyAgentData, SignBlobResult, SignTransactionOptions } from './types';
|
|
2
|
-
import {
|
|
2
|
+
import { CSL, Cardano } from '@cardano-sdk/core';
|
|
3
3
|
export declare abstract class KeyAgentBase implements KeyAgent {
|
|
4
4
|
#private;
|
|
5
|
-
protected readonly inputResolver:
|
|
5
|
+
protected readonly inputResolver: Cardano.util.InputResolver;
|
|
6
6
|
get knownAddresses(): GroupedAddress[];
|
|
7
7
|
set knownAddresses(addresses: GroupedAddress[]);
|
|
8
8
|
get serializableData(): SerializableKeyAgentData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyAgentBase.d.ts","sourceRoot":"","sources":["../../src/KeyAgentBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACR,oBAAoB,EAEpB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACvB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"KeyAgentBase.d.ts","sourceRoot":"","sources":["../../src/KeyAgentBase.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,cAAc,EACd,QAAQ,EACR,oBAAoB,EAEpB,wBAAwB,EACxB,cAAc,EACd,sBAAsB,EACvB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,GAAG,EAAE,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAGvD,8BAAsB,YAAa,YAAW,QAAQ;;IAEpD,SAA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,CAAC,CAAC;QAChF,MAAM,gBAAgB,GAAG,UAAG,CAAC,cAAc,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;QAC9E,OAAO,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;IAClE,CAAC;CACF;AA9ED,oCA8EC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AsyncKeyAgent } from '../types';
|
|
2
|
-
import { Cardano } from '@cardano-sdk/core';
|
|
2
|
+
import { Cardano, ComposableError } from '@cardano-sdk/core';
|
|
3
3
|
import { Cip30DataSignature } from '@cardano-sdk/cip30';
|
|
4
|
-
import { CustomError } from 'ts-custom-error';
|
|
5
4
|
export interface Cip30SignDataRequest {
|
|
6
5
|
keyAgent: AsyncKeyAgent;
|
|
7
6
|
signWith: Cardano.Address | Cardano.RewardAccount;
|
|
@@ -12,11 +11,10 @@ export declare enum Cip30DataSignErrorCode {
|
|
|
12
11
|
AddressNotPK = 2,
|
|
13
12
|
UserDeclined = 3
|
|
14
13
|
}
|
|
15
|
-
export declare class Cip30DataSignError extends
|
|
14
|
+
export declare class Cip30DataSignError<InnerError = unknown> extends ComposableError<InnerError> {
|
|
16
15
|
readonly code: Cip30DataSignErrorCode;
|
|
17
16
|
readonly info: string;
|
|
18
|
-
|
|
19
|
-
constructor(code: Cip30DataSignErrorCode, info: string, innerError?: unknown);
|
|
17
|
+
constructor(code: Cip30DataSignErrorCode, info: string, innerError?: InnerError);
|
|
20
18
|
}
|
|
21
19
|
export declare const cip30signData: ({ keyAgent, signWith, payload }: Cip30SignDataRequest) => Promise<Cip30DataSignature>;
|
|
22
20
|
//# sourceMappingURL=cip30signData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cip30signData.d.ts","sourceRoot":"","sources":["../../../src/cip8/cip30signData.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,aAAa,EAAW,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,OAAO,EAAyB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"cip30signData.d.ts","sourceRoot":"","sources":["../../../src/cip8/cip30signData.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,aAAa,EAAW,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAyB,MAAM,mBAAmB,CAAC;AACpF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAKxD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,aAAa,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;CAC/B;AAED,oBAAY,sBAAsB;IAChC,eAAe,IAAI;IACnB,YAAY,IAAI;IAChB,YAAY,IAAI;CACjB;AAED,qBAAa,kBAAkB,CAAC,UAAU,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,UAAU,CAAC;aAC3D,IAAI,EAAE,sBAAsB;aAAkB,IAAI,EAAE,MAAM;gBAA1D,IAAI,EAAE,sBAAsB,EAAkB,IAAI,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU;CAGhH;AA0DD,eAAO,MAAM,aAAa,oCAIvB,oBAAoB,KAAG,QAAQ,kBAAkB,CAmBnD,CAAC"}
|
|
@@ -4,7 +4,6 @@ exports.cip30signData = exports.Cip30DataSignError = exports.Cip30DataSignErrorC
|
|
|
4
4
|
const cardano_message_signing_nodejs_1 = require("@emurgo/cardano-message-signing-nodejs");
|
|
5
5
|
const core_1 = require("@cardano-sdk/core");
|
|
6
6
|
const util_1 = require("./util");
|
|
7
|
-
const ts_custom_error_1 = require("ts-custom-error");
|
|
8
7
|
const util_2 = require("../util");
|
|
9
8
|
const rxjs_1 = require("rxjs");
|
|
10
9
|
var Cip30DataSignErrorCode;
|
|
@@ -13,12 +12,11 @@ var Cip30DataSignErrorCode;
|
|
|
13
12
|
Cip30DataSignErrorCode[Cip30DataSignErrorCode["AddressNotPK"] = 2] = "AddressNotPK";
|
|
14
13
|
Cip30DataSignErrorCode[Cip30DataSignErrorCode["UserDeclined"] = 3] = "UserDeclined";
|
|
15
14
|
})(Cip30DataSignErrorCode = exports.Cip30DataSignErrorCode || (exports.Cip30DataSignErrorCode = {}));
|
|
16
|
-
class Cip30DataSignError extends
|
|
17
|
-
constructor(code, info, innerError
|
|
18
|
-
super(`DataSignError code: ${code}
|
|
15
|
+
class Cip30DataSignError extends core_1.ComposableError {
|
|
16
|
+
constructor(code, info, innerError) {
|
|
17
|
+
super(`DataSignError code: ${code}`, innerError);
|
|
19
18
|
this.code = code;
|
|
20
19
|
this.info = info;
|
|
21
|
-
this.innerError = innerError;
|
|
22
20
|
}
|
|
23
21
|
}
|
|
24
22
|
exports.Cip30DataSignError = Cip30DataSignError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cip30signData.js","sourceRoot":"","sources":["../../../src/cip8/cip30signData.ts"],"names":[],"mappings":";;;AACA,2FAYgD;AAEhD,
|
|
1
|
+
{"version":3,"file":"cip30signData.js","sourceRoot":"","sources":["../../../src/cip8/cip30signData.ts"],"names":[],"mappings":";;;AACA,2FAYgD;AAEhD,4CAAoF;AAEpF,iCAAmC;AACnC,kCAAoD;AACpD,+BAAsC;AAQtC,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,yFAAmB,CAAA;IACnB,mFAAgB,CAAA;IAChB,mFAAgB,CAAA;AAClB,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAED,MAAa,kBAAyC,SAAQ,sBAA2B;IACvF,YAA4B,IAA4B,EAAkB,IAAY,EAAE,UAAuB;QAC7G,KAAK,CAAC,uBAAuB,IAAI,EAAE,EAAE,UAAU,CAAC,CAAC;QADvB,SAAI,GAAJ,IAAI,CAAwB;QAAkB,SAA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ACR,QAAQ,EACR,OAAO,EACc,EAA+B,EAAE;IACtD,MAAM,YAAY,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IAC/C,MAAM,cAAc,GAAG,MAAM,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAEnE,MAAM,OAAO,GAAG,iDAAgB,CAAC,GAAG,CAClC,wCAAO,CAAC,GAAG,CAAC,mDAAkB,CAAC,GAAG,CAAC,yBAAyB,CAAC,YAAY,CAAC,CAAC,EAAE,0CAAS,CAAC,GAAG,EAAE,CAAC,EAC7F,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,EAC3B,KAAK,CACN,CAAC;IACF,MAAM,YAAY,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC;IACjD,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,MAAM,gBAAgB,CAAC,QAAQ,EAAE,cAAc,EAAE,YAAY,CAAC,CAAC;IAChG,MAAM,SAAS,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;IAE/D,MAAM,OAAO,GAAG,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IAEvD,OAAO;QACL,GAAG,EAAE,WAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;QACxC,SAAS,EAAE,WAAI,CAAC,UAAU,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;KACjD,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,aAAa,iBAuBxB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class AuthenticationError extends
|
|
3
|
-
innerError?:
|
|
4
|
-
constructor(detail?: string, innerError?: unknown);
|
|
1
|
+
import { ComposableError } from '@cardano-sdk/core';
|
|
2
|
+
export declare class AuthenticationError<InnerError = unknown> extends ComposableError<InnerError> {
|
|
3
|
+
constructor(detail?: string, innerError?: InnerError);
|
|
5
4
|
}
|
|
6
5
|
//# sourceMappingURL=AuthenticationError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationError.d.ts","sourceRoot":"","sources":["../../../src/errors/AuthenticationError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AuthenticationError.d.ts","sourceRoot":"","sources":["../../../src/errors/AuthenticationError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,qBAAa,mBAAmB,CAAC,UAAU,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,UAAU,CAAC;gBAC5E,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU;CAGrD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AuthenticationError = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@cardano-sdk/core");
|
|
5
5
|
const formatMessage = (detail) => {
|
|
6
6
|
const messageDetail = detail ? `: ${detail}` : '';
|
|
7
7
|
return `Authentication failure${messageDetail}`;
|
|
8
8
|
};
|
|
9
|
-
class AuthenticationError extends
|
|
9
|
+
class AuthenticationError extends core_1.ComposableError {
|
|
10
10
|
constructor(detail, innerError) {
|
|
11
|
-
super(formatMessage(detail));
|
|
12
|
-
this.innerError = innerError;
|
|
11
|
+
super(formatMessage(detail), innerError);
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
14
|
exports.AuthenticationError = AuthenticationError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationError.js","sourceRoot":"","sources":["../../../src/errors/AuthenticationError.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"AuthenticationError.js","sourceRoot":"","sources":["../../../src/errors/AuthenticationError.ts"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEpD,MAAM,aAAa,GAAG,CAAC,MAAe,EAAE,EAAE;IACxC,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,OAAO,yBAAyB,aAAa,EAAE,CAAC;AAClD,CAAC,CAAC;AAEF,MAAa,mBAA0C,SAAQ,sBAA2B;IACxF,YAAY,MAAe,EAAE,UAAuB;QAClD,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,kDAIC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class HwMappingError extends
|
|
3
|
-
innerError?:
|
|
4
|
-
constructor(detail?: string, innerError?: unknown);
|
|
1
|
+
import { ComposableError } from '@cardano-sdk/core';
|
|
2
|
+
export declare class HwMappingError<InnerError = unknown> extends ComposableError<InnerError> {
|
|
3
|
+
constructor(detail?: string, innerError?: InnerError);
|
|
5
4
|
}
|
|
6
5
|
//# sourceMappingURL=HwMappingError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HwMappingError.d.ts","sourceRoot":"","sources":["../../../src/errors/HwMappingError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"HwMappingError.d.ts","sourceRoot":"","sources":["../../../src/errors/HwMappingError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,qBAAa,cAAc,CAAC,UAAU,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,UAAU,CAAC;gBACvE,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU;CAGrD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HwMappingError = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@cardano-sdk/core");
|
|
5
5
|
const formatMessage = (detail) => {
|
|
6
6
|
const messageDetail = detail ? `: ${detail}` : '';
|
|
7
7
|
return `Hardware data mapping failure${messageDetail}`;
|
|
8
8
|
};
|
|
9
|
-
class HwMappingError extends
|
|
9
|
+
class HwMappingError extends core_1.ComposableError {
|
|
10
10
|
constructor(detail, innerError) {
|
|
11
|
-
super(formatMessage(detail));
|
|
12
|
-
this.innerError = innerError;
|
|
11
|
+
super(formatMessage(detail), innerError);
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
14
|
exports.HwMappingError = HwMappingError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HwMappingError.js","sourceRoot":"","sources":["../../../src/errors/HwMappingError.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"HwMappingError.js","sourceRoot":"","sources":["../../../src/errors/HwMappingError.ts"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEpD,MAAM,aAAa,GAAG,CAAC,MAAe,EAAE,EAAE;IACxC,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,OAAO,gCAAgC,aAAa,EAAE,CAAC;AACzD,CAAC,CAAC;AAEF,MAAa,cAAqC,SAAQ,sBAA2B;IACnF,YAAY,MAAe,EAAE,UAAuB;QAClD,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,wCAIC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ProofGenerationError extends
|
|
3
|
-
innerError?:
|
|
4
|
-
constructor(detail?: string, innerError?: unknown);
|
|
1
|
+
import { ComposableError } from '@cardano-sdk/core';
|
|
2
|
+
export declare class ProofGenerationError<InnerError = unknown> extends ComposableError<InnerError> {
|
|
3
|
+
constructor(detail?: string, innerError?: InnerError);
|
|
5
4
|
}
|
|
6
5
|
//# sourceMappingURL=ProofGenerationError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProofGenerationError.d.ts","sourceRoot":"","sources":["../../../src/errors/ProofGenerationError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ProofGenerationError.d.ts","sourceRoot":"","sources":["../../../src/errors/ProofGenerationError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,qBAAa,oBAAoB,CAAC,UAAU,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,UAAU,CAAC;gBAC7E,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU;CAGrD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ProofGenerationError = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@cardano-sdk/core");
|
|
5
5
|
const formatMessage = (detail) => {
|
|
6
6
|
const messageDetail = detail ? `: ${detail}` : '';
|
|
7
7
|
return `Proof generation failure${messageDetail}`;
|
|
8
8
|
};
|
|
9
|
-
class ProofGenerationError extends
|
|
9
|
+
class ProofGenerationError extends core_1.ComposableError {
|
|
10
10
|
constructor(detail, innerError) {
|
|
11
|
-
super(formatMessage(detail));
|
|
12
|
-
this.innerError = innerError;
|
|
11
|
+
super(formatMessage(detail), innerError);
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
14
|
exports.ProofGenerationError = ProofGenerationError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProofGenerationError.js","sourceRoot":"","sources":["../../../src/errors/ProofGenerationError.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"ProofGenerationError.js","sourceRoot":"","sources":["../../../src/errors/ProofGenerationError.ts"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEpD,MAAM,aAAa,GAAG,CAAC,MAAe,EAAE,EAAE;IACxC,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,OAAO,2BAA2B,aAAa,EAAE,CAAC;AACpD,CAAC,CAAC;AAEF,MAAa,oBAA2C,SAAQ,sBAA2B;IACzF,YAAY,MAAe,EAAE,UAAuB;QAClD,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,oDAIC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class TransportError extends
|
|
3
|
-
innerError?:
|
|
4
|
-
constructor(detail?: string, innerError?: unknown);
|
|
1
|
+
import { ComposableError } from '@cardano-sdk/core';
|
|
2
|
+
export declare class TransportError<InnerError = unknown> extends ComposableError<InnerError> {
|
|
3
|
+
constructor(detail?: string, innerError?: InnerError);
|
|
5
4
|
}
|
|
6
5
|
//# sourceMappingURL=TransportError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransportError.d.ts","sourceRoot":"","sources":["../../../src/errors/TransportError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"TransportError.d.ts","sourceRoot":"","sources":["../../../src/errors/TransportError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOpD,qBAAa,cAAc,CAAC,UAAU,GAAG,OAAO,CAAE,SAAQ,eAAe,CAAC,UAAU,CAAC;gBACvE,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,UAAU;CAGrD"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TransportError = void 0;
|
|
4
|
-
const
|
|
4
|
+
const core_1 = require("@cardano-sdk/core");
|
|
5
5
|
const formatMessage = (detail) => {
|
|
6
6
|
const messageDetail = detail ? `: ${detail}` : '';
|
|
7
7
|
return `Transport failure${messageDetail}`;
|
|
8
8
|
};
|
|
9
|
-
class TransportError extends
|
|
9
|
+
class TransportError extends core_1.ComposableError {
|
|
10
10
|
constructor(detail, innerError) {
|
|
11
|
-
super(formatMessage(detail));
|
|
12
|
-
this.innerError = innerError;
|
|
11
|
+
super(formatMessage(detail), innerError);
|
|
13
12
|
}
|
|
14
13
|
}
|
|
15
14
|
exports.TransportError = TransportError;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransportError.js","sourceRoot":"","sources":["../../../src/errors/TransportError.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TransportError.js","sourceRoot":"","sources":["../../../src/errors/TransportError.ts"],"names":[],"mappings":";;;AAAA,4CAAoD;AAEpD,MAAM,aAAa,GAAG,CAAC,MAAe,EAAE,EAAE;IACxC,MAAM,aAAa,GAAG,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,OAAO,oBAAoB,aAAa,EAAE,CAAC;AAC7C,CAAC,CAAC;AAEF,MAAa,cAAqC,SAAQ,sBAA2B;IACnF,YAAY,MAAe,EAAE,UAAuB;QAClD,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3C,CAAC;CACF;AAJD,wCAIC"}
|