@heliofi/common 0.2.136 → 0.2.137

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 (19) hide show
  1. package/dist/src/domain/model/currency/entities/CurrencyWithBlockchain.entity.d.ts +5 -0
  2. package/dist/src/domain/model/currency/entities/CurrencyWithBlockchain.entity.js +8 -0
  3. package/dist/src/domain/model/currency/entities/CurrencyWithBlockchain.entity.js.map +1 -0
  4. package/dist/src/domain/model/currency/entities/index.d.ts +1 -0
  5. package/dist/src/domain/model/currency/entities/index.js +1 -0
  6. package/dist/src/domain/model/currency/entities/index.js.map +1 -1
  7. package/dist/src/domain/model/deposit-sweep-details/entities/BaseDepositSweepDetails.entity.d.ts +14 -0
  8. package/dist/src/domain/model/deposit-sweep-details/entities/BaseDepositSweepDetails.entity.js +34 -0
  9. package/dist/src/domain/model/deposit-sweep-details/entities/BaseDepositSweepDetails.entity.js.map +1 -0
  10. package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.d.ts +4 -13
  11. package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js +2 -28
  12. package/dist/src/domain/model/deposit-sweep-details/entities/DepositSweepDetails.entity.js.map +1 -1
  13. package/dist/src/domain/model/deposit-sweep-details/entities/index.d.ts +1 -0
  14. package/dist/src/domain/model/deposit-sweep-details/entities/index.js +1 -0
  15. package/dist/src/domain/model/deposit-sweep-details/entities/index.js.map +1 -1
  16. package/dist/src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.d.ts +1 -1
  17. package/dist/src/domain/model/deposit-tx/entities/DepositTxWithSweepDetails.js.map +1 -1
  18. package/dist/tsconfig.tsbuildinfo +1 -1
  19. package/package.json +2 -2
@@ -0,0 +1,5 @@
1
+ import { BaseBlockchain } from '../../blockchain';
2
+ import { BaseCurrency } from './BaseCurrency.entity';
3
+ export declare class CurrencyWithBlockchain extends BaseCurrency {
4
+ blockchain: BaseBlockchain;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurrencyWithBlockchain = void 0;
4
+ const BaseCurrency_entity_1 = require("./BaseCurrency.entity");
5
+ class CurrencyWithBlockchain extends BaseCurrency_entity_1.BaseCurrency {
6
+ }
7
+ exports.CurrencyWithBlockchain = CurrencyWithBlockchain;
8
+ //# sourceMappingURL=CurrencyWithBlockchain.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CurrencyWithBlockchain.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyWithBlockchain.entity.ts"],"names":[],"mappings":";;;AACA,+DAAqD;AAErD,MAAa,sBAAuB,SAAQ,kCAAY;CAEvD;AAFD,wDAEC"}
@@ -5,3 +5,4 @@ export * from './OrderingType';
5
5
  export * from './CurrencyFeature';
6
6
  export * from './CurrencyTokenProgram';
7
7
  export * from './CurrencyInfo.entity';
8
+ export * from './CurrencyWithBlockchain.entity';
@@ -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"}
@@ -0,0 +1,14 @@
1
+ import { Entity } from '../../entity';
2
+ import { TransactionStatus } from '../../transaction-meta/constants';
3
+ export declare class BaseDepositSweepDetails 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;
14
+ }
@@ -0,0 +1,34 @@
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.BaseDepositSweepDetails = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const entity_1 = require("../../entity");
15
+ class BaseDepositSweepDetails extends entity_1.Entity {
16
+ }
17
+ exports.BaseDepositSweepDetails = BaseDepositSweepDetails;
18
+ __decorate([
19
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
+ __metadata("design:type", BigInt)
21
+ ], BaseDepositSweepDetails.prototype, "minimalUnitFromAmount", void 0);
22
+ __decorate([
23
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
24
+ __metadata("design:type", BigInt)
25
+ ], BaseDepositSweepDetails.prototype, "minimalUnitToAmount", void 0);
26
+ __decorate([
27
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
28
+ __metadata("design:type", BigInt)
29
+ ], BaseDepositSweepDetails.prototype, "minimalUnitFromFee", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
32
+ __metadata("design:type", BigInt)
33
+ ], BaseDepositSweepDetails.prototype, "minimalUnitToFee", void 0);
34
+ //# sourceMappingURL=BaseDepositSweepDetails.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseDepositSweepDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-sweep-details/entities/BaseDepositSweepDetails.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAwBlD;AAxBD,0DAwBC;AAtBC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sEACV;AAG9B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;oEACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mEACZ;AAG5B;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iEACf"}
@@ -1,14 +1,5 @@
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;
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 class_transformer_1 = require("class-transformer");
14
- const entity_1 = require("../../entity");
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
@@ -1 +1 @@
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"}
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"}
@@ -1 +1,2 @@
1
+ export * from './BaseDepositSweepDetails.entity';
1
2
  export * from './DepositSweepDetails.entity';
@@ -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: 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;8BACX,2CAAmB;sEAAC"}
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"}