@heliofi/common 0.2.137 → 0.2.139
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 +0 -1
- package/dist/src/domain/model/currency/entities/index.js +0 -1
- package/dist/src/domain/model/currency/entities/index.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.d.ts +9 -0
- package/dist/src/domain/model/{submit-transaction/dtos/submitPayment.dto.js → deposit/entities/DepositCurrenciesExchangeRate.entity.js} +9 -14
- package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.js.map +1 -0
- package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.d.ts +0 -1
- package/dist/src/domain/model/deposit/entities/DepositCustomer.entity.js.map +1 -1
- package/dist/src/domain/model/deposit/entities/index.d.ts +1 -0
- package/dist/src/domain/model/deposit/entities/index.js +1 -0
- package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts +13 -4
- package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js +28 -2
- 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 +0 -1
- package/dist/src/domain/model/deposit-sweep-details/entities/index.js +0 -1
- 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 +1 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.d.ts +0 -3
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js +0 -12
- package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js.map +0 -1
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.d.ts +0 -4
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js +0 -24
- package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyChart.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js.map +0 -1
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.d.ts +0 -5
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js +0 -8
- package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -13
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -69
- package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +0 -9
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +0 -8
- package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js +0 -18
- package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +0 -1
- package/dist/src/domain/model/recent-sweep-attempt/index.js +0 -18
- package/dist/src/domain/model/recent-sweep-attempt/index.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js.map +0 -1
|
@@ -21,5 +21,4 @@ __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);
|
|
25
24
|
//# 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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
export declare class DepositCurrenciesExchangeRate extends Entity {
|
|
3
|
+
minimalUnitRate: bigint;
|
|
4
|
+
decimalRate: string;
|
|
5
|
+
fromCurrencyId: string;
|
|
6
|
+
toCurrencyId: string;
|
|
7
|
+
fromCurrencySymbol: string;
|
|
8
|
+
toCurrencySymbol: string;
|
|
9
|
+
}
|
|
@@ -9,19 +9,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
13
|
-
const
|
|
14
|
-
|
|
12
|
+
exports.DepositCurrenciesExchangeRate = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
|
+
class DepositCurrenciesExchangeRate extends entity_1.Entity {
|
|
15
16
|
}
|
|
17
|
+
exports.DepositCurrenciesExchangeRate = DepositCurrenciesExchangeRate;
|
|
16
18
|
__decorate([
|
|
17
|
-
(0,
|
|
18
|
-
(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], SubmitPaymentDto.prototype, "transactionToken", void 0);
|
|
26
|
-
exports.SubmitPaymentDto = SubmitPaymentDto;
|
|
27
|
-
//# sourceMappingURL=submitPayment.dto.js.map
|
|
19
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
+
__metadata("design:type", BigInt)
|
|
21
|
+
], DepositCurrenciesExchangeRate.prototype, "minimalUnitRate", void 0);
|
|
22
|
+
//# sourceMappingURL=DepositCurrenciesExchangeRate.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositCurrenciesExchangeRate.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAEtC,MAAa,6BAA8B,SAAQ,eAAM;CAaxD;AAbD,sEAaC;AAXC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sEAChB"}
|
|
@@ -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;CAUhD;AAVD,sDAUC"}
|
|
@@ -24,4 +24,5 @@ __exportStar(require("./DepositWallet.entity"), exports);
|
|
|
24
24
|
__exportStar(require("./DepositWithStats.entity"), exports);
|
|
25
25
|
__exportStar(require("./PlainDeposit"), exports);
|
|
26
26
|
__exportStar(require("./DepositSearchResult.entity"), exports);
|
|
27
|
+
__exportStar(require("./DepositCurrenciesExchangeRate.entity"), exports);
|
|
27
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD"}
|
package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class DepositSweepDetails extends
|
|
4
|
-
|
|
1
|
+
import { Entity } from '../../entity';
|
|
2
|
+
import { TransactionStatus } from '../../transaction-meta/constants';
|
|
3
|
+
export declare class DepositSweepDetails extends Entity {
|
|
4
|
+
minimalUnitFromAmount: bigint;
|
|
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;
|
|
5
14
|
}
|
|
@@ -1,8 +1,34 @@
|
|
|
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.DepositSweepDetails = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
|
+
class DepositSweepDetails extends entity_1.Entity {
|
|
6
16
|
}
|
|
7
17
|
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);
|
|
8
34
|
//# 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,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,mBAAoB,SAAQ,eAAM;CAwB9C;AAxBD,kDAwBC;AAtBC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;kEACV;AAG9B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;gEACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;+DACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6DACf"}
|
|
@@ -14,6 +14,5 @@ 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);
|
|
18
17
|
__exportStar(require("./DepositSweepDetails.entity"), exports);
|
|
19
18
|
//# 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
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+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;8BACX,2CAAmB;sEAAC"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { PaylinkTxWithShallowEnrichedPaylink } from '../../paylink-tx';
|
|
2
2
|
import { PaystreamTx } from '../../paystream-tx';
|
|
3
3
|
import { InvoiceTx } from '../../invoice-tx';
|
|
4
|
-
import { DepositTx
|
|
4
|
+
import { DepositTx } 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;
|