@heliofi/common 0.2.138 → 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.
Files changed (40) hide show
  1. package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.d.ts +9 -0
  2. package/dist/src/domain/model/{submit-transaction/dtos/submitPayment.dto.js → deposit/entities/DepositCurrenciesExchangeRate.entity.js} +9 -14
  3. package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.js.map +1 -0
  4. package/dist/src/domain/model/deposit/entities/index.d.ts +1 -0
  5. package/dist/src/domain/model/deposit/entities/index.js +1 -0
  6. package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
  7. package/dist/tsconfig.tsbuildinfo +1 -1
  8. package/package.json +2 -2
  9. package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.d.ts +0 -3
  10. package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js +0 -12
  11. package/dist/src/domain/model/blockchain/constants/BlockchainSymbolToChainId.js.map +0 -1
  12. package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.d.ts +0 -4
  13. package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js +0 -24
  14. package/dist/src/domain/model/blockchain/constants/blockchainSymbolToEvmChainId.js.map +0 -1
  15. package/dist/src/domain/model/company-stats/entities/companyChart.entity.d.ts +0 -5
  16. package/dist/src/domain/model/company-stats/entities/companyChart.entity.js +0 -8
  17. package/dist/src/domain/model/company-stats/entities/companyChart.entity.js.map +0 -1
  18. package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.d.ts +0 -5
  19. package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js +0 -8
  20. package/dist/src/domain/model/company-stats/entities/companyChartStat.entity.js.map +0 -1
  21. package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.d.ts +0 -5
  22. package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js +0 -8
  23. package/dist/src/domain/model/company-stats/entities/companyDailyStats.entity.js.map +0 -1
  24. package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.d.ts +0 -5
  25. package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js +0 -8
  26. package/dist/src/domain/model/company-stats/entities/companyDayStat.entity.js.map +0 -1
  27. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +0 -13
  28. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +0 -69
  29. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +0 -1
  30. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +0 -9
  31. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +0 -8
  32. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +0 -1
  33. package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +0 -1
  34. package/dist/src/domain/model/recent-sweep-attempt/entities/index.js +0 -18
  35. package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +0 -1
  36. package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +0 -1
  37. package/dist/src/domain/model/recent-sweep-attempt/index.js +0 -18
  38. package/dist/src/domain/model/recent-sweep-attempt/index.js.map +0 -1
  39. package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.d.ts +0 -4
  40. package/dist/src/domain/model/submit-transaction/dtos/submitPayment.dto.js.map +0 -1
@@ -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.SubmitPaymentDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class SubmitPaymentDto {
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, class_validator_1.IsString)(),
18
- (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", String)
20
- ], SubmitPaymentDto.prototype, "signedTransaction", void 0);
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"}
@@ -8,3 +8,4 @@ export * from './DepositWallet.entity';
8
8
  export * from './DepositWithStats.entity';
9
9
  export * from './PlainDeposit';
10
10
  export * from './DepositSearchResult.entity';
11
+ export * from './DepositCurrenciesExchangeRate.entity';
@@ -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"}