@heliofi/common 0.1.143 → 0.1.144

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 (62) hide show
  1. package/dist/src/domain/model/auth/entities/AuthUser.d.ts +10 -10
  2. package/dist/src/domain/model/auth/entities/AuthUser.js +3 -3
  3. package/dist/src/domain/model/auth/entities/index.js +19 -35
  4. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.d.ts +3 -0
  5. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js +10 -0
  6. package/dist/src/domain/model/blockchain/constants/BlockchainEngineToBlockchain.js.map +1 -0
  7. package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
  8. package/dist/src/domain/model/blockchain/constants/index.js +20 -35
  9. package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
  10. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.d.ts +7 -0
  11. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js +8 -0
  12. package/dist/src/domain/model/blockchain/entities/BaseBlockchain.entity.js.map +1 -0
  13. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.d.ts +5 -0
  14. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js +8 -0
  15. package/dist/src/domain/model/blockchain/entities/Blockchain.entity.js.map +1 -0
  16. package/dist/src/domain/model/blockchain/entities/index.d.ts +2 -1
  17. package/dist/src/domain/model/blockchain/entities/index.js +19 -34
  18. package/dist/src/domain/model/blockchain/entities/index.js.map +1 -1
  19. package/dist/src/domain/model/blockchain/index.js +20 -36
  20. package/dist/src/domain/model/fee/entities/FeeProperties.d.ts +6 -0
  21. package/dist/src/domain/model/fee/entities/FeeProperties.js +3 -0
  22. package/dist/src/domain/model/fee/entities/FeeProperties.js.map +1 -0
  23. package/dist/src/domain/model/fee/entities/index.d.ts +1 -0
  24. package/dist/src/domain/model/fee/entities/index.js +20 -35
  25. package/dist/src/domain/model/fee/entities/index.js.map +1 -1
  26. package/dist/src/domain/model/fee/index.js +19 -35
  27. package/dist/src/domain/model/invoice/entities/EnrichedInvoice.entity.js +6 -5
  28. package/dist/src/domain/model/invoice/entities/Invoice.entity.d.ts +9 -9
  29. package/dist/src/domain/model/invoice/entities/Invoice.entity.js +6 -5
  30. package/dist/src/domain/model/invoice/entities/index.js +20 -36
  31. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.d.ts +8 -6
  32. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js +6 -5
  33. package/dist/src/domain/model/invoice-tx/entities/InvoiceTx.js.map +1 -1
  34. package/dist/src/domain/model/invoice-tx/entities/index.js +19 -35
  35. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.d.ts +9 -7
  36. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js +25 -56
  37. package/dist/src/domain/model/paylink-tx/entities/PaylinkTxWithShallowEnrichedPaylink.js.map +1 -1
  38. package/dist/src/domain/model/paylink-tx/entities/index.js +22 -38
  39. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.d.ts +11 -11
  40. package/dist/src/domain/model/payment-request/entities/ShallowEnrichedPaymentRequest.js +6 -5
  41. package/dist/src/domain/model/payment-request/entities/index.js +22 -38
  42. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +13 -11
  43. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +30 -65
  44. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +1 -1
  45. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +5 -3
  46. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +6 -5
  47. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +1 -1
  48. package/dist/src/domain/model/prepare-stream/entities/index.js +18 -34
  49. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +5 -3
  50. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +6 -5
  51. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +1 -1
  52. package/dist/src/domain/model/prepare-transaction/entities/index.js +20 -36
  53. package/dist/src/domain/model/report/entities/ReportItem.d.ts +34 -32
  54. package/dist/src/domain/model/report/entities/ReportItem.js +5 -4
  55. package/dist/src/domain/model/report/entities/ReportItem.js.map +1 -1
  56. package/dist/src/domain/model/report/entities/index.js +18 -34
  57. package/dist/src/domain/model/wallet/entities/Wallet.d.ts +3 -1
  58. package/dist/src/domain/model/wallet/entities/Wallet.js +6 -5
  59. package/dist/src/domain/model/wallet/entities/Wallet.js.map +1 -1
  60. package/dist/src/domain/model/wallet/entities/index.js +20 -36
  61. package/dist/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +2 -2
@@ -1,36 +1,20 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
32
- Object.defineProperty(exports, '__esModule', { value: true });
33
- __exportStar(require('./PrepareTransaction'), exports);
34
- __exportStar(require('./TokenTransactionPayload'), exports);
35
- __exportStar(require('./PrepareSwapTransaction'), exports);
36
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./PrepareTransaction"), exports);
18
+ __exportStar(require("./TokenTransactionPayload"), exports);
19
+ __exportStar(require("./PrepareSwapTransaction"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -1,35 +1,37 @@
1
1
  import { IntervalType } from '../../paystream';
2
+ import { BlockchainSymbol } from '../../blockchain';
2
3
  export declare class ReportItem {
3
- id: string;
4
- txSignature: string;
5
- solScanLink: string;
6
- paymentRequestId: string;
7
- paymentRequestUrl: string;
8
- paymentRequestName: string;
9
- quantity: number;
10
- time: string;
11
- amount: number;
12
- convertedAmount: number;
13
- currency: string;
14
- from: string;
15
- paymentRequestUrlWithSlug?: string;
16
- cancelAt?: number;
17
- endAt?: number;
18
- startAt?: number;
19
- intervalUnit?: IntervalType;
20
- email?: string;
21
- discordUsername?: string;
22
- twitterUsername?: string;
23
- fullName?: string;
24
- country?: string;
25
- deliveryAddress?: string;
26
- phoneNumber?: string;
27
- state?: string;
28
- street?: string;
29
- streetNumber?: string;
30
- city?: string;
31
- areaCode?: string;
32
- name?: string;
33
- value?: string;
34
- fee: number;
4
+ id: string;
5
+ txSignature: string;
6
+ solScanLink: string;
7
+ paymentRequestId: string;
8
+ paymentRequestUrl: string;
9
+ paymentRequestName: string;
10
+ quantity: number;
11
+ time: string;
12
+ amount: number;
13
+ convertedAmount: number;
14
+ currency: string;
15
+ blockchain: BlockchainSymbol;
16
+ from: string;
17
+ paymentRequestUrlWithSlug?: string;
18
+ cancelAt?: number;
19
+ endAt?: number;
20
+ startAt?: number;
21
+ intervalUnit?: IntervalType;
22
+ email?: string;
23
+ discordUsername?: string;
24
+ twitterUsername?: string;
25
+ fullName?: string;
26
+ country?: string;
27
+ deliveryAddress?: string;
28
+ phoneNumber?: string;
29
+ state?: string;
30
+ street?: string;
31
+ streetNumber?: string;
32
+ city?: string;
33
+ areaCode?: string;
34
+ name?: string;
35
+ value?: string;
36
+ fee: number;
35
37
  }
@@ -1,6 +1,7 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ReportItem = void 0;
4
- class ReportItem {}
4
+ class ReportItem {
5
+ }
5
6
  exports.ReportItem = ReportItem;
6
- //# sourceMappingURL=ReportItem.js.map
7
+ //# sourceMappingURL=ReportItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReportItem.js","sourceRoot":"","sources":["../../../../../../src/domain/model/report/entities/ReportItem.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;CAgEtB;AAhED,gCAgEC"}
1
+ {"version":3,"file":"ReportItem.js","sourceRoot":"","sources":["../../../../../../src/domain/model/report/entities/ReportItem.ts"],"names":[],"mappings":";;;AAGA,MAAa,UAAU;CAkEtB;AAlED,gCAkEC"}
@@ -1,34 +1,18 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
32
- Object.defineProperty(exports, '__esModule', { value: true });
33
- __exportStar(require('./ReportItem'), exports);
34
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ReportItem"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,7 @@
1
1
  import type { Blockchain } from '../../blockchain';
2
2
  import { BaseWallet } from './BaseWallet';
3
+ import { BlockchainEngine } from '../../blockchainEngine';
3
4
  export declare class Wallet extends BaseWallet {
4
- blockchain: Blockchain;
5
+ blockchain?: Blockchain;
6
+ blockchainEngine: BlockchainEngine;
5
7
  }
@@ -1,7 +1,8 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Wallet = void 0;
4
- const BaseWallet_1 = require('./BaseWallet');
5
- class Wallet extends BaseWallet_1.BaseWallet {}
4
+ const BaseWallet_1 = require("./BaseWallet");
5
+ class Wallet extends BaseWallet_1.BaseWallet {
6
+ }
6
7
  exports.Wallet = Wallet;
7
- //# sourceMappingURL=Wallet.js.map
8
+ //# sourceMappingURL=Wallet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Wallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/Wallet.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAE1C,MAAa,MAAO,SAAQ,uBAAU;CAErC;AAFD,wBAEC"}
1
+ {"version":3,"file":"Wallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet/entities/Wallet.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAG1C,MAAa,MAAO,SAAQ,uBAAU;CAIrC;AAJD,wBAIC"}
@@ -1,36 +1,20 @@
1
- 'use strict';
2
- var __createBinding =
3
- (this && this.__createBinding) ||
4
- (Object.create
5
- ? function (o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (
9
- !desc ||
10
- ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
11
- ) {
12
- desc = {
13
- enumerable: true,
14
- get: function () {
15
- return m[k];
16
- },
17
- };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }
21
- : function (o, m, k, k2) {
22
- if (k2 === undefined) k2 = k;
23
- o[k2] = m[k];
24
- });
25
- var __exportStar =
26
- (this && this.__exportStar) ||
27
- function (m, exports) {
28
- for (var p in m)
29
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
30
- __createBinding(exports, m, p);
31
- };
32
- Object.defineProperty(exports, '__esModule', { value: true });
33
- __exportStar(require('./Wallet'), exports);
34
- __exportStar(require('./BaseWallet'), exports);
35
- __exportStar(require('./WalletDetails'), exports);
36
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Wallet"), exports);
18
+ __exportStar(require("./BaseWallet"), exports);
19
+ __exportStar(require("./WalletDetails"), exports);
20
+ //# sourceMappingURL=index.js.map