@heliofi/common 0.1.141 → 0.1.142
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/src/domain/model/audit/tx/AuditTxType.d.ts +1 -0
- package/dist/src/domain/model/audit/tx/AuditTxType.js +1 -0
- package/dist/src/domain/model/audit/tx/AuditTxType.js.map +1 -1
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.d.ts +0 -1
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js +0 -5
- package/dist/src/domain/model/link-features/dtos/linkFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.d.ts +0 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.d.ts +1 -0
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js +5 -0
- package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map +1 -1
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -0
- package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.d.ts +4 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js +8 -0
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.js.map +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.d.ts +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js +1 -0
- package/dist/src/domain/model/paystream-tx/entities/index.js.map +1 -1
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepareSwap.dto.d.ts +4 -0
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepareSwap.dto.js +23 -0
- package/dist/src/domain/model/prepare-stream/dtos/createStreamPrepareSwap.dto.js.map +1 -0
- package/dist/src/domain/model/prepare-stream/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/prepare-stream/dtos/index.js +1 -0
- package/dist/src/domain/model/prepare-stream/dtos/index.js.map +1 -1
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackendSwap.dto.d.ts +4 -0
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackendSwap.dto.js +23 -0
- package/dist/src/domain/model/stream-backend/dtos/createStreamBackendSwap.dto.js.map +1 -0
- package/dist/src/domain/model/stream-backend/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/stream-backend/dtos/index.js +1 -0
- package/dist/src/domain/model/stream-backend/dtos/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ var AuditTxType;
|
|
|
7
7
|
AuditTxType["SWAP_PAYLINK"] = "SWAP_PAYLINK";
|
|
8
8
|
AuditTxType["INVOICE"] = "INVOICE";
|
|
9
9
|
AuditTxType["STREAM_START"] = "STREAM_START";
|
|
10
|
+
AuditTxType["SWAP_STREAM_START"] = "SWAP_STREAM_START";
|
|
10
11
|
AuditTxType["STREAM_CANCEL"] = "STREAM_CANCEL";
|
|
11
12
|
AuditTxType["STREAM_WITHDRAW"] = "STREAM_WITHDRAW";
|
|
12
13
|
})(AuditTxType = exports.AuditTxType || (exports.AuditTxType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuditTxType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/audit/tx/AuditTxType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"AuditTxType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/audit/tx/AuditTxType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,4CAA6B,CAAA;IAC7B,kCAAmB,CAAA;IACnB,4CAA6B,CAAA;IAC7B,sDAAuC,CAAA;IACvC,8CAA+B,CAAA;IAC/B,kDAAmC,CAAA;AACrC,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB"}
|
|
@@ -39,10 +39,5 @@ __decorate([
|
|
|
39
39
|
(0, class_validator_1.IsOptional)(),
|
|
40
40
|
__metadata("design:type", Boolean)
|
|
41
41
|
], LinkFeaturesDto.prototype, "canChangePrice", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsBoolean)(),
|
|
44
|
-
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type", Boolean)
|
|
46
|
-
], LinkFeaturesDto.prototype, "canSwapTokens", void 0);
|
|
47
42
|
exports.LinkFeaturesDto = LinkFeaturesDto;
|
|
48
43
|
//# sourceMappingURL=linkFeatures.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,eAAgB,SAAQ,oDAAyB;
|
|
1
|
+
{"version":3,"file":"linkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/linkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAA2E;AAE3E,MAAa,eAAgB,SAAQ,oDAAyB;CAoB7D;AAnBC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uDACY;AAnB3B,0CAoBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;
|
|
1
|
+
{"version":3,"file":"LinkFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAMvD;AAND,oCAMC"}
|
|
@@ -68,5 +68,10 @@ __decorate([
|
|
|
68
68
|
(0, class_validator_1.IsOptional)(),
|
|
69
69
|
__metadata("design:type", Boolean)
|
|
70
70
|
], PaymentRequestFeaturesDto.prototype, "requireFixedCurrency", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsBoolean)(),
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
__metadata("design:type", Boolean)
|
|
75
|
+
], PaymentRequestFeaturesDto.prototype, "canSwapTokens", void 0);
|
|
71
76
|
exports.PaymentRequestFeaturesDto = PaymentRequestFeaturesDto;
|
|
72
77
|
//# sourceMappingURL=paymentRequestFeatures.dto.js.map
|
package/dist/src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;
|
|
1
|
+
{"version":3,"file":"paymentRequestFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/dtos/paymentRequestFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,yBAAyB;CAgDrC;AA/CC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACkB;AAE/B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACW;AA/C1B,8DAgDC"}
|
package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA4BjD;AA5BD,wDA4BC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BasePaystreamTxWithTransactionSwap = void 0;
|
|
4
|
+
const _1 = require(".");
|
|
5
|
+
class BasePaystreamTxWithTransactionSwap extends _1.BasePaystreamTxWithTransaction {
|
|
6
|
+
}
|
|
7
|
+
exports.BasePaystreamTxWithTransactionSwap = BasePaystreamTxWithTransactionSwap;
|
|
8
|
+
//# sourceMappingURL=BasePaystreamTxWithTransactionSwap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasePaystreamTxWithTransactionSwap.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/BasePaystreamTxWithTransactionSwap.ts"],"names":[],"mappings":";;;AAAA,wBAAmD;AAEnD,MAAa,kCAAmC,SAAQ,iCAA8B;CAErF;AAFD,gFAEC"}
|
|
@@ -18,5 +18,6 @@ __exportStar(require("./PaystreamTx"), exports);
|
|
|
18
18
|
__exportStar(require("./BasePaystreamTx"), exports);
|
|
19
19
|
__exportStar(require("./PaystreamTxWithContent"), exports);
|
|
20
20
|
__exportStar(require("./BasePaystreamTxWithTransaction"), exports);
|
|
21
|
+
__exportStar(require("./BasePaystreamTxWithTransactionSwap"), exports);
|
|
21
22
|
__exportStar(require("./PaystreamTxWithMeta"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,2DAAyC;AACzC,mEAAiD;AACjD,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC;AAClC,2DAAyC;AACzC,mEAAiD;AACjD,uEAAqD;AACrD,wDAAsC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateStreamPrepareSwapDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const createStreamPrepare_dto_1 = require("./createStreamPrepare.dto");
|
|
15
|
+
class CreateStreamPrepareSwapDto extends createStreamPrepare_dto_1.CreateStreamPrepareDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateStreamPrepareSwapDto.prototype, "swapRouteToken", void 0);
|
|
22
|
+
exports.CreateStreamPrepareSwapDto = CreateStreamPrepareSwapDto;
|
|
23
|
+
//# sourceMappingURL=createStreamPrepareSwap.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createStreamPrepareSwap.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/createStreamPrepareSwap.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,uEAAmE;AAEnE,MAAa,0BAA2B,SAAQ,gDAAsB;CAIrE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACU;AAHzB,gEAIC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./createStreamPrepare.dto"), exports);
|
|
18
18
|
__exportStar(require("./cancelStreamPrepare.dto"), exports);
|
|
19
19
|
__exportStar(require("./withdrawStreamPrepare.dto"), exports);
|
|
20
|
+
__exportStar(require("./createStreamPrepareSwap.dto"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-stream/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CreateStreamBackendSwapDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const createStreamBackend_dto_1 = require("./createStreamBackend.dto");
|
|
15
|
+
class CreateStreamBackendSwapDto extends createStreamBackend_dto_1.CreateStreamBackendDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateStreamBackendSwapDto.prototype, "signedSwapTransaction", void 0);
|
|
22
|
+
exports.CreateStreamBackendSwapDto = CreateStreamBackendSwapDto;
|
|
23
|
+
//# sourceMappingURL=createStreamBackendSwap.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createStreamBackendSwap.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-backend/dtos/createStreamBackendSwap.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,uEAAmE;AAEnE,MAAa,0BAA2B,SAAQ,gDAAsB;CAIrE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yEACiB;AAHhC,gEAIC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./createStreamBackend.dto"), exports);
|
|
18
18
|
__exportStar(require("./cancelStreamBackend.dto"), exports);
|
|
19
19
|
__exportStar(require("./withdrawStreamBackend.dto"), exports);
|
|
20
|
+
__exportStar(require("./createStreamBackendSwap.dto"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-backend/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stream-backend/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C"}
|