@heliofi/common 0.1.312 → 0.1.313

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 (39) hide show
  1. package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +2 -0
  2. package/dist/src/domain/model/auth/dtos/signOn.dto.js +8 -0
  3. package/dist/src/domain/model/auth/dtos/signOn.dto.js.map +1 -1
  4. package/dist/src/domain/model/prepare-transaction/dtos/index.d.ts +1 -0
  5. package/dist/src/domain/model/prepare-transaction/dtos/index.js +3 -1
  6. package/dist/src/domain/model/prepare-transaction/dtos/index.js.map +1 -1
  7. package/dist/src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.d.ts +12 -0
  8. package/dist/src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.js +58 -0
  9. package/dist/src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.js.map +1 -0
  10. package/dist/src/domain/model/wallet/dtos/BTCPaymentAddress.dto.d.ts +5 -0
  11. package/dist/src/domain/model/wallet/dtos/BTCPaymentAddress.dto.js +28 -0
  12. package/dist/src/domain/model/wallet/dtos/BTCPaymentAddress.dto.js.map +1 -0
  13. package/dist/src/domain/model/wallet/dtos/BTCProperties.dto.d.ts +5 -0
  14. package/dist/src/domain/model/wallet/dtos/BTCProperties.dto.js +32 -0
  15. package/dist/src/domain/model/wallet/dtos/BTCProperties.dto.js.map +1 -0
  16. package/dist/src/domain/model/wallet/dtos/index.d.ts +2 -0
  17. package/dist/src/domain/model/wallet/dtos/index.js +2 -0
  18. package/dist/src/domain/model/wallet/dtos/index.js.map +1 -1
  19. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.d.ts +6 -0
  20. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.entity.d.ts +6 -0
  21. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.entity.js +8 -0
  22. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.entity.js.map +1 -0
  23. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.js +8 -0
  24. package/dist/src/domain/model/wallet/entities/BTCPaymentAddress.js.map +1 -0
  25. package/dist/src/domain/model/wallet/entities/BTCPaymentAddressVersion.d.ts +5 -0
  26. package/dist/src/domain/model/wallet/entities/BTCPaymentAddressVersion.js +10 -0
  27. package/dist/src/domain/model/wallet/entities/BTCPaymentAddressVersion.js.map +1 -0
  28. package/dist/src/domain/model/wallet/entities/BTCProperties.d.ts +6 -0
  29. package/dist/src/domain/model/wallet/entities/BTCProperties.js +8 -0
  30. package/dist/src/domain/model/wallet/entities/BTCProperties.js.map +1 -0
  31. package/dist/src/domain/model/wallet/entities/BaseWallet.entity.d.ts +2 -2
  32. package/dist/src/domain/model/wallet/entities/WalletOrigin.d.ts +3 -0
  33. package/dist/src/domain/model/wallet/entities/WalletOrigin.js +8 -0
  34. package/dist/src/domain/model/wallet/entities/WalletOrigin.js.map +1 -0
  35. package/dist/src/domain/model/wallet/entities/index.d.ts +4 -0
  36. package/dist/src/domain/model/wallet/entities/index.js +4 -0
  37. package/dist/src/domain/model/wallet/entities/index.js.map +1 -1
  38. package/dist/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +2 -2
@@ -1,6 +1,8 @@
1
1
  import { Platform } from '../../../constants';
2
+ import { BTCPropertiesDto } from '../../wallet';
2
3
  export declare class SignOnDto {
3
4
  publicKey: string;
4
5
  signature: string;
5
6
  platform?: Platform;
7
+ btcPropertiesDto?: BTCPropertiesDto;
6
8
  }
@@ -11,7 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SignOnDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
14
15
  const constants_1 = require("../../../constants");
16
+ const wallet_1 = require("../../wallet");
15
17
  class SignOnDto {
16
18
  }
17
19
  __decorate([
@@ -29,5 +31,11 @@ __decorate([
29
31
  (0, class_validator_1.IsEnum)(constants_1.Platform),
30
32
  __metadata("design:type", String)
31
33
  ], SignOnDto.prototype, "platform", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsOptional)(),
36
+ (0, class_transformer_1.Type)(() => wallet_1.BTCPropertiesDto),
37
+ (0, class_validator_1.ValidateNested)(),
38
+ __metadata("design:type", wallet_1.BTCPropertiesDto)
39
+ ], SignOnDto.prototype, "btcPropertiesDto", void 0);
32
40
  exports.SignOnDto = SignOnDto;
33
41
  //# sourceMappingURL=signOn.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"signOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAA8C;AAE9C,MAAa,SAAS;CAYrB;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACG;AAXtB,8BAYC"}
1
+ {"version":3,"file":"signOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,kDAA8C;AAC9C,yCAAgD;AAEhD,MAAa,SAAS;CAiBrB;AAhBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACG;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACE,yBAAgB;mDAAC;AAhBtC,8BAiBC"}
@@ -1,3 +1,4 @@
1
1
  export { PrepareTransactionDto } from './prepareTransaction.dto';
2
2
  export { PrepareSwapTransactionDto } from './prepareSwapTransaction.dto';
3
3
  export { PrepareEvmTransactionDto } from './prepareEvmTransaction.dto';
4
+ export { PrepareBTCTransactionDto } from './prepareBTCTransaction.dto';
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrepareEvmTransactionDto = exports.PrepareSwapTransactionDto = exports.PrepareTransactionDto = void 0;
3
+ exports.PrepareBTCTransactionDto = exports.PrepareEvmTransactionDto = exports.PrepareSwapTransactionDto = exports.PrepareTransactionDto = void 0;
4
4
  var prepareTransaction_dto_1 = require("./prepareTransaction.dto");
5
5
  Object.defineProperty(exports, "PrepareTransactionDto", { enumerable: true, get: function () { return prepareTransaction_dto_1.PrepareTransactionDto; } });
6
6
  var prepareSwapTransaction_dto_1 = require("./prepareSwapTransaction.dto");
7
7
  Object.defineProperty(exports, "PrepareSwapTransactionDto", { enumerable: true, get: function () { return prepareSwapTransaction_dto_1.PrepareSwapTransactionDto; } });
8
8
  var prepareEvmTransaction_dto_1 = require("./prepareEvmTransaction.dto");
9
9
  Object.defineProperty(exports, "PrepareEvmTransactionDto", { enumerable: true, get: function () { return prepareEvmTransaction_dto_1.PrepareEvmTransactionDto; } });
10
+ var prepareBTCTransaction_dto_1 = require("./prepareBTCTransaction.dto");
11
+ Object.defineProperty(exports, "PrepareBTCTransactionDto", { enumerable: true, get: function () { return prepareBTCTransaction_dto_1.PrepareBTCTransactionDto; } });
10
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA"}
@@ -0,0 +1,12 @@
1
+ import { PreparePaymentRequestDto } from '../../prepare-payment-request';
2
+ import { ProductDetailsDto } from '../../product-details';
3
+ import { CustomerDetailsDto } from '../../customer-details';
4
+ export declare class PrepareBTCTransactionDto extends PreparePaymentRequestDto {
5
+ paymentAddress: string;
6
+ amount?: string;
7
+ quantity?: number;
8
+ fixedCurrencyRateToken?: string;
9
+ discountToken?: string;
10
+ customerDetails?: CustomerDetailsDto;
11
+ productDetails?: ProductDetailsDto;
12
+ }
@@ -0,0 +1,58 @@
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.PrepareBTCTransactionDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const prepare_payment_request_1 = require("../../prepare-payment-request");
16
+ const product_details_1 = require("../../product-details");
17
+ const customer_details_1 = require("../../customer-details");
18
+ class PrepareBTCTransactionDto extends prepare_payment_request_1.PreparePaymentRequestDto {
19
+ }
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ (0, class_validator_1.IsNotEmpty)(),
23
+ __metadata("design:type", String)
24
+ ], PrepareBTCTransactionDto.prototype, "paymentAddress", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
28
+ __metadata("design:type", String)
29
+ ], PrepareBTCTransactionDto.prototype, "amount", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsNumber)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", Number)
34
+ ], PrepareBTCTransactionDto.prototype, "quantity", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsString)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], PrepareBTCTransactionDto.prototype, "fixedCurrencyRateToken", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_validator_1.IsOptional)(),
43
+ __metadata("design:type", String)
44
+ ], PrepareBTCTransactionDto.prototype, "discountToken", void 0);
45
+ __decorate([
46
+ (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
47
+ (0, class_validator_1.ValidateNested)(),
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", customer_details_1.CustomerDetailsDto)
50
+ ], PrepareBTCTransactionDto.prototype, "customerDetails", void 0);
51
+ __decorate([
52
+ (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
53
+ (0, class_validator_1.ValidateNested)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", product_details_1.ProductDetailsDto)
56
+ ], PrepareBTCTransactionDto.prototype, "productDetails", void 0);
57
+ exports.PrepareBTCTransactionDto = PrepareBTCTransactionDto;
58
+ //# sourceMappingURL=prepareBTCTransaction.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareBTCTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAE5D,MAAa,wBAAyB,SAAQ,kDAAwB;CA8BrE;AA7BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACU;AAEvB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AA7BrC,4DA8BC"}
@@ -0,0 +1,5 @@
1
+ import { BTCPaymentAddressVersion } from '../entities';
2
+ export declare class BTCPaymentAddressDto {
3
+ address: string;
4
+ version?: BTCPaymentAddressVersion;
5
+ }
@@ -0,0 +1,28 @@
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.BTCPaymentAddressDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const entities_1 = require("../entities");
15
+ class BTCPaymentAddressDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], BTCPaymentAddressDto.prototype, "address", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_validator_1.IsEnum)(entities_1.BTCPaymentAddressVersion),
25
+ __metadata("design:type", String)
26
+ ], BTCPaymentAddressDto.prototype, "version", void 0);
27
+ exports.BTCPaymentAddressDto = BTCPaymentAddressDto;
28
+ //# sourceMappingURL=BTCPaymentAddress.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCPaymentAddress.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/BTCPaymentAddress.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,0CAAuD;AAEvD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;;qDACK;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,mCAAwB,CAAC;;qDACE;AAPrC,oDAQC"}
@@ -0,0 +1,5 @@
1
+ import { BTCPaymentAddressDto } from './BTCPaymentAddress.dto';
2
+ export declare class BTCPropertiesDto {
3
+ paymentAddresses: BTCPaymentAddressDto[];
4
+ ordinalsAddresses: string[];
5
+ }
@@ -0,0 +1,32 @@
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.BTCPropertiesDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const BTCPaymentAddress_dto_1 = require("./BTCPaymentAddress.dto");
16
+ class BTCPropertiesDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsArray)(),
20
+ (0, class_validator_1.ArrayMinSize)(1),
21
+ (0, class_transformer_1.Type)(() => BTCPaymentAddress_dto_1.BTCPaymentAddressDto),
22
+ (0, class_validator_1.ValidateNested)({ each: true }),
23
+ __metadata("design:type", Array)
24
+ ], BTCPropertiesDto.prototype, "paymentAddresses", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsArray)(),
27
+ (0, class_validator_1.ArrayMinSize)(1),
28
+ (0, class_validator_1.IsString)({ each: true }),
29
+ __metadata("design:type", Array)
30
+ ], BTCPropertiesDto.prototype, "ordinalsAddresses", void 0);
31
+ exports.BTCPropertiesDto = BTCPropertiesDto;
32
+ //# sourceMappingURL=BTCProperties.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/BTCProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,mEAA+D;AAE/D,MAAa,gBAAgB;CAW5B;AAVC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACU;AAEzC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACG;AAV9B,4CAWC"}
@@ -1 +1,3 @@
1
1
  export * from './updateWallet.dto';
2
+ export * from './BTCPaymentAddress.dto';
3
+ export * from './BTCProperties.dto';
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./updateWallet.dto"), exports);
18
+ __exportStar(require("./BTCPaymentAddress.dto"), exports);
19
+ __exportStar(require("./BTCProperties.dto"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,0DAAwC;AACxC,sDAAoC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { BTCPaymentAddressVersion } from './BTCPaymentAddressVersion';
3
+ export declare class BTCPaymentAddress extends Entity {
4
+ address: string;
5
+ version?: BTCPaymentAddressVersion;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { BTCPaymentAddressVersion } from './BTCPaymentAddressVersion';
3
+ export declare class BTCPaymentAddress extends Entity {
4
+ address: string;
5
+ version?: BTCPaymentAddressVersion;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BTCPaymentAddress = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BTCPaymentAddress extends entity_1.Entity {
6
+ }
7
+ exports.BTCPaymentAddress = BTCPaymentAddress;
8
+ //# sourceMappingURL=BTCPaymentAddress.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCPaymentAddress.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/BTCPaymentAddress.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,iBAAkB,SAAQ,eAAM;CAI5C;AAJD,8CAIC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BTCPaymentAddress = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BTCPaymentAddress extends entity_1.Entity {
6
+ }
7
+ exports.BTCPaymentAddress = BTCPaymentAddress;
8
+ //# sourceMappingURL=BTCPaymentAddress.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCPaymentAddress.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/BTCPaymentAddress.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,iBAAkB,SAAQ,eAAM;CAI5C;AAJD,8CAIC"}
@@ -0,0 +1,5 @@
1
+ export declare enum BTCPaymentAddressVersion {
2
+ LEGACY = "LEGACY",
3
+ SEGWIT = "SEGWIT",
4
+ TAPROOT = "TAPROOT"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BTCPaymentAddressVersion = void 0;
4
+ var BTCPaymentAddressVersion;
5
+ (function (BTCPaymentAddressVersion) {
6
+ BTCPaymentAddressVersion["LEGACY"] = "LEGACY";
7
+ BTCPaymentAddressVersion["SEGWIT"] = "SEGWIT";
8
+ BTCPaymentAddressVersion["TAPROOT"] = "TAPROOT";
9
+ })(BTCPaymentAddressVersion = exports.BTCPaymentAddressVersion || (exports.BTCPaymentAddressVersion = {}));
10
+ //# sourceMappingURL=BTCPaymentAddressVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCPaymentAddressVersion.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/BTCPaymentAddressVersion.ts"],"names":[],"mappings":";;;AAAA,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,6CAAiB,CAAA;IACjB,6CAAiB,CAAA;IACjB,+CAAmB,CAAA;AACrB,CAAC,EAJW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAInC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { BTCPaymentAddress } from './BTCPaymentAddress.entity';
3
+ export declare class BTCProperties extends Entity {
4
+ paymentAddresses: BTCPaymentAddress[];
5
+ ordinalsAddresses: string[];
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BTCProperties = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class BTCProperties extends entity_1.Entity {
6
+ }
7
+ exports.BTCProperties = BTCProperties;
8
+ //# sourceMappingURL=BTCProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTCProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/BTCProperties.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,aAAc,SAAQ,eAAM;CAIxC;AAJD,sCAIC"}
@@ -1,7 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
- import { WalletType } from '../../../constants';
2
+ import { BTCProperties } from './BTCProperties';
3
3
  export declare class BaseWallet extends Entity {
4
4
  id: string;
5
5
  publicKey: string;
6
- type: WalletType;
6
+ btcProperties?: BTCProperties;
7
7
  }
@@ -0,0 +1,3 @@
1
+ export declare enum WalletOrigin {
2
+ XVERSE = "XVERSE"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WalletOrigin = void 0;
4
+ var WalletOrigin;
5
+ (function (WalletOrigin) {
6
+ WalletOrigin["XVERSE"] = "XVERSE";
7
+ })(WalletOrigin = exports.WalletOrigin || (exports.WalletOrigin = {}));
8
+ //# sourceMappingURL=WalletOrigin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletOrigin.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/WalletOrigin.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAEX;AAFD,WAAY,YAAY;IACtB,iCAAiB,CAAA;AACnB,CAAC,EAFW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAEvB"}
@@ -1,3 +1,7 @@
1
1
  export * from './Wallet.entity';
2
2
  export * from './BaseWallet.entity';
3
3
  export * from './WalletDetails.entity';
4
+ export * from './WalletOrigin';
5
+ export * from './BTCPaymentAddressVersion';
6
+ export * from './BTCPaymentAddress.entity';
7
+ export * from './BTCProperties';
@@ -17,4 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Wallet.entity"), exports);
18
18
  __exportStar(require("./BaseWallet.entity"), exports);
19
19
  __exportStar(require("./WalletDetails.entity"), exports);
20
+ __exportStar(require("./WalletOrigin"), exports);
21
+ __exportStar(require("./BTCPaymentAddressVersion"), exports);
22
+ __exportStar(require("./BTCPaymentAddress.entity"), exports);
23
+ __exportStar(require("./BTCProperties"), exports);
20
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,iDAA+B;AAC/B,6DAA2C;AAC3C,6DAA2C;AAC3C,kDAAgC"}