@heliofi/common 0.2.139 → 0.2.140
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/currency/entities/index.d.ts +1 -0
- package/dist/src/domain/model/currency/entities/index.js +1 -0
- package/dist/src/domain/model/currency/entities/index.js.map +1 -1
- package/dist/src/domain/model/deposit/dtos/createDepositCustomer.dto.d.ts +1 -0
- package/dist/src/domain/model/deposit/dtos/createDepositCustomer.dto.js +5 -0
- package/dist/src/domain/model/deposit/dtos/createDepositCustomer.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/dtos/updateDepositCustomer.dto.d.ts +1 -0
- package/dist/src/domain/model/deposit/dtos/updateDepositCustomer.dto.js +5 -0
- package/dist/src/domain/model/deposit/dtos/updateDepositCustomer.dto.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.d.ts +2 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/DepositCustomerEnriched.entity.d.ts +1 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomerEnriched.entity.js.map +1 -1
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts +4 -13
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js +2 -28
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js.map +1 -1
- package/dist/src/domain/model/deposit-sweep-details/entities/index.d.ts +1 -0
- package/dist/src/domain/model/deposit-sweep-details/entities/index.js +1 -0
- package/dist/src/domain/model/deposit-sweep-details/entities/index.js.map +1 -1
- package/dist/src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.d.ts +1 -1
- package/dist/src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.js.map +1 -1
- package/dist/src/domain/model/transaction/entities/index.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -21,4 +21,5 @@ __exportStar(require("./OrderingType"), exports);
|
|
|
21
21
|
__exportStar(require("./CurrencyFeature"), exports);
|
|
22
22
|
__exportStar(require("./CurrencyTokenProgram"), exports);
|
|
23
23
|
__exportStar(require("./CurrencyInfo.entity"), exports);
|
|
24
|
+
__exportStar(require("./CurrencyWithBlockchain.entity"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,oDAAkC;AAClC,yDAAuC;AACvC,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,oDAAkC;AAClC,yDAAuC;AACvC,wDAAsC;AACtC,kEAAgD"}
|
|
@@ -37,4 +37,9 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
39
|
], CreateDepositCustomerDto.prototype, "recipientPublicKeys", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], CreateDepositCustomerDto.prototype, "defaultOnrampAmount", void 0);
|
|
40
45
|
//# sourceMappingURL=createDepositCustomer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createDepositCustomer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/createDepositCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createDepositCustomer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/createDepositCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AAEzB,MAAa,wBAAwB;CAuBpC;AAvBD,4DAuBC;AAnBC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;4DACI;AAInB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACK;AAIlB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACW;AAMxB;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qEACG;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACgB"}
|
|
@@ -27,4 +27,9 @@ __decorate([
|
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", Array)
|
|
29
29
|
], UpdateDepositCustomerDto.prototype, "recipientPublicKeys", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], UpdateDepositCustomerDto.prototype, "defaultOnrampAmount", void 0);
|
|
30
35
|
//# sourceMappingURL=updateDepositCustomer.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateDepositCustomer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/updateDepositCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"updateDepositCustomer.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/updateDepositCustomer.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,wBAAwB;CAepC;AAfD,4DAeC;AAZC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACkB;AAO/B;IALC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC1B,IAAA,4BAAU,GAAE;;qEACkB;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCustomer.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomer.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"DepositCustomer.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomer.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAchD;AAdD,sDAcC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCustomerEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomerEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,6BAA8B,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"DepositCustomerEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomerEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAMtC,MAAa,6BAA8B,SAAQ,eAAM;CAcxD;AAdD,sEAcC"}
|
package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class DepositSweepDetails extends
|
|
4
|
-
|
|
5
|
-
minimalUnitToAmount: bigint;
|
|
6
|
-
minimalUnitFromFee?: bigint;
|
|
7
|
-
minimalUnitToFee: bigint;
|
|
8
|
-
id: string;
|
|
9
|
-
transactionSignature: string;
|
|
10
|
-
recipientPK: string;
|
|
11
|
-
senderPK: string;
|
|
12
|
-
transactionStatus: TransactionStatus;
|
|
13
|
-
isHelioX: boolean;
|
|
1
|
+
import { BaseDepositSweepDetails } from './BaseDepositSweepDetails.entity';
|
|
2
|
+
import { CurrencyWithBlockchain } from '../../currency/entities/CurrencyWithBlockchain.entity';
|
|
3
|
+
export declare class DepositSweepDetails extends BaseDepositSweepDetails {
|
|
4
|
+
fromCurrency?: CurrencyWithBlockchain;
|
|
14
5
|
}
|
|
@@ -1,34 +1,8 @@
|
|
|
1
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.DepositSweepDetails = void 0;
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
class DepositSweepDetails extends entity_1.Entity {
|
|
4
|
+
const BaseDepositSweepDetails_entity_1 = require("./BaseDepositSweepDetails.entity");
|
|
5
|
+
class DepositSweepDetails extends BaseDepositSweepDetails_entity_1.BaseDepositSweepDetails {
|
|
16
6
|
}
|
|
17
7
|
exports.DepositSweepDetails = DepositSweepDetails;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
-
__metadata("design:type", BigInt)
|
|
21
|
-
], DepositSweepDetails.prototype, "minimalUnitFromAmount", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
24
|
-
__metadata("design:type", BigInt)
|
|
25
|
-
], DepositSweepDetails.prototype, "minimalUnitToAmount", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
28
|
-
__metadata("design:type", BigInt)
|
|
29
|
-
], DepositSweepDetails.prototype, "minimalUnitFromFee", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
32
|
-
__metadata("design:type", BigInt)
|
|
33
|
-
], DepositSweepDetails.prototype, "minimalUnitToFee", void 0);
|
|
34
8
|
//# sourceMappingURL=DepositSweepDetails.entity.js.map
|
package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositSweepDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DepositSweepDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.ts"],"names":[],"mappings":";;;AAAA,qFAA2E;AAG3E,MAAa,mBAAoB,SAAQ,wDAAuB;CAE/D;AAFD,kDAEC"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BaseDepositSweepDetails.entity"), exports);
|
|
17
18
|
__exportStar(require("./DepositSweepDetails.entity"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,+DAA6C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DepositTx } from './DepositTx';
|
|
2
2
|
import { DepositSweepDetails } from '../../deposit-sweep-details';
|
|
3
3
|
export declare class DepositTxWithSweepDetails extends DepositTx {
|
|
4
|
-
depositSweepDetails
|
|
4
|
+
depositSweepDetails?: DepositSweepDetails;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositTxWithSweepDetails.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,2CAAwC;AACxC,uEAAkE;AAElE,MAAa,yBAA0B,SAAQ,qBAAS;CAGvD;AAHD,8DAGC;AADC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"DepositTxWithSweepDetails.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,2CAAwC;AACxC,uEAAkE;AAElE,MAAa,yBAA0B,SAAQ,qBAAS;CAGvD;AAHD,8DAGC;AADC;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2CAAmB,CAAC;8BACV,2CAAmB;sEAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PaylinkTxWithShallowEnrichedPaylink } from '../../paylink-tx';
|
|
2
2
|
import { PaystreamTx } from '../../paystream-tx';
|
|
3
3
|
import { InvoiceTx } from '../../invoice-tx';
|
|
4
|
-
import { DepositTx } from '../../deposit-tx';
|
|
4
|
+
import { DepositTx, DepositTxWithSweepDetails } from '../../deposit-tx';
|
|
5
5
|
export * from './TransactionStatusToken.entity';
|
|
6
6
|
export * from './TransactionStatusResponse.entity';
|
|
7
7
|
export * from './TransactionDetails.entity';
|
|
8
8
|
export * from './TransactionStatsBuyer.entity';
|
|
9
9
|
export * from './MerchantDetails.entity';
|
|
10
10
|
export type Transaction = PaylinkTxWithShallowEnrichedPaylink | PaystreamTx | InvoiceTx | DepositTx;
|
|
11
|
+
export type TransactionWithSweepDetails = PaylinkTxWithShallowEnrichedPaylink | PaystreamTx | InvoiceTx | DepositTxWithSweepDetails;
|