@heliofi/common 0.1.176 → 0.1.178
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/helio-play/dtos/HelioPlayPropertiesDto.d.ts +0 -1
- package/dist/src/domain/model/helio-play/dtos/HelioPlayPropertiesDto.js.map +1 -1
- package/dist/src/domain/model/helio-play/entities/HelioPlayProperties.d.ts +0 -1
- package/dist/src/domain/model/helio-play/entities/HelioPlayProperties.js.map +1 -1
- package/dist/src/domain/model/helio-play/index.d.ts +1 -1
- package/dist/src/domain/model/helio-play/index.js +1 -1
- package/dist/src/domain/model/helio-play/index.js.map +1 -1
- package/dist/src/domain/model/index.d.ts +2 -0
- package/dist/src/domain/model/index.js +2 -0
- package/dist/src/domain/model/index.js.map +1 -1
- package/dist/src/domain/model/media/entities/MediaProperties.d.ts +1 -1
- package/dist/src/domain/model/media/entities/index.d.ts +1 -1
- package/dist/src/domain/model/media/entities/index.js +1 -1
- package/dist/src/domain/model/media/entities/index.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.d.ts +2 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js +6 -0
- package/dist/src/domain/model/paystream/dtos/createPaystream.dto.js.map +1 -1
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.d.ts +2 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js +6 -0
- package/dist/src/domain/model/paystream/dtos/updatePaystream.dto.js.map +1 -1
- package/dist/src/domain/model/paystream/entities/BasePaystream.d.ts +2 -0
- package/dist/src/domain/model/paystream/entities/BasePaystream.js.map +1 -1
- package/dist/src/domain/model/paystream/entities/Paystream.d.ts +2 -0
- package/dist/src/domain/model/paystream/entities/Paystream.js.map +1 -1
- package/dist/src/domain/services/PolygonExplorerService.d.ts +5 -0
- package/dist/src/domain/services/PolygonExplorerService.js +16 -0
- package/dist/src/domain/services/PolygonExplorerService.js.map +1 -0
- package/dist/src/domain/services/index.d.ts +1 -0
- package/dist/src/domain/services/index.js +1 -0
- package/dist/src/domain/services/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelioPlayPropertiesDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/dtos/HelioPlayPropertiesDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;
|
|
1
|
+
{"version":3,"file":"HelioPlayPropertiesDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/dtos/HelioPlayPropertiesDto.ts"],"names":[],"mappings":";;;AAEA,MAAa,sBAAsB;CAGlC;AAHD,wDAGC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelioPlayProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/entities/HelioPlayProperties.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"HelioPlayProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/entities/HelioPlayProperties.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAG/B;AAHD,kDAGC"}
|
|
@@ -14,6 +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("./entities"), exports);
|
|
18
17
|
__exportStar(require("./dtos"), exports);
|
|
18
|
+
__exportStar(require("./entities"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/helio-play/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/helio-play/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -76,4 +76,6 @@ __exportStar(require("./prepare-payment-request"), exports);
|
|
|
76
76
|
__exportStar(require("./access-code-auth-properties"), exports);
|
|
77
77
|
__exportStar(require("./evm-transaction-monitoring"), exports);
|
|
78
78
|
__exportStar(require("./settle-transaction"), exports);
|
|
79
|
+
__exportStar(require("./media"), exports);
|
|
80
|
+
__exportStar(require("./helio-play"), exports);
|
|
79
81
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -14,6 +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("./MediaType"), exports);
|
|
18
17
|
__exportStar(require("./MediaProperties"), exports);
|
|
18
|
+
__exportStar(require("./MediaType"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/media/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/media/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,8CAA4B"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
2
|
import { IntervalType } from '../entities';
|
|
3
3
|
import { CreatePaymentRequestDto } from '../../payment-request';
|
|
4
|
+
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
4
5
|
export declare class CreatePaystreamDto extends CreatePaymentRequestDto {
|
|
6
|
+
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
5
7
|
features?: StreamFeaturesDto;
|
|
6
8
|
interval: IntervalType;
|
|
7
9
|
maxTime: number;
|
|
@@ -15,8 +15,14 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const stream_features_1 = require("../../stream-features");
|
|
16
16
|
const entities_1 = require("../entities");
|
|
17
17
|
const payment_request_1 = require("../../payment-request");
|
|
18
|
+
const helio_play_1 = require("../../helio-play");
|
|
18
19
|
class CreatePaystreamDto extends payment_request_1.CreatePaymentRequestDto {
|
|
19
20
|
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_transformer_1.Type)(() => helio_play_1.HelioPlayPropertiesDto),
|
|
24
|
+
__metadata("design:type", helio_play_1.HelioPlayPropertiesDto)
|
|
25
|
+
], CreatePaystreamDto.prototype, "helioPlayProperties", void 0);
|
|
20
26
|
__decorate([
|
|
21
27
|
(0, class_validator_1.IsOptional)(),
|
|
22
28
|
(0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAC3C,2DAAgE;
|
|
1
|
+
{"version":3,"file":"createPaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/createPaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAC3C,2DAAgE;AAChE,iDAA0D;AAE1D,MAAa,kBAAmB,SAAQ,yCAAuB;CAiB9D;AAhBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;8BACb,mCAAsB;+DAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAE7B;IAAC,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAhBlB,gDAiBC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { StreamFeaturesDto } from '../../stream-features';
|
|
2
2
|
import { IntervalType } from '../entities';
|
|
3
3
|
import { UpdatePaymentRequestDto } from '../../payment-request';
|
|
4
|
+
import { HelioPlayPropertiesDto } from '../../helio-play';
|
|
4
5
|
export declare class UpdatePaystreamDto extends UpdatePaymentRequestDto {
|
|
6
|
+
helioPlayProperties?: HelioPlayPropertiesDto;
|
|
5
7
|
features?: StreamFeaturesDto;
|
|
6
8
|
interval?: IntervalType;
|
|
7
9
|
maxTime?: number;
|
|
@@ -15,8 +15,14 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const stream_features_1 = require("../../stream-features");
|
|
16
16
|
const entities_1 = require("../entities");
|
|
17
17
|
const payment_request_1 = require("../../payment-request");
|
|
18
|
+
const helio_play_1 = require("../../helio-play");
|
|
18
19
|
class UpdatePaystreamDto extends payment_request_1.UpdatePaymentRequestDto {
|
|
19
20
|
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_transformer_1.Type)(() => helio_play_1.HelioPlayPropertiesDto),
|
|
24
|
+
__metadata("design:type", helio_play_1.HelioPlayPropertiesDto)
|
|
25
|
+
], UpdatePaystreamDto.prototype, "helioPlayProperties", void 0);
|
|
20
26
|
__decorate([
|
|
21
27
|
(0, class_transformer_1.Type)(() => stream_features_1.StreamFeaturesDto),
|
|
22
28
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updatePaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/updatePaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAC3C,2DAAgE;
|
|
1
|
+
{"version":3,"file":"updatePaystream.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/dtos/updatePaystream.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+E;AAC/E,yDAAyC;AACzC,2DAA0D;AAC1D,0CAA2C;AAC3C,2DAAgE;AAChE,iDAA0D;AAE1D,MAAa,kBAAmB,SAAQ,yCAAuB;CAiB9D;AAhBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;8BACb,mCAAsB;+DAAC;AAE7C;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACN,mCAAiB;oDAAC;AAE7B;IAAC,IAAA,wBAAM,EAAC,uBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;oDACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACI;AAhBnB,gDAiBC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { StreamFeatures } from '../../stream-features';
|
|
2
2
|
import { BasePaymentRequest } from '../../payment-request';
|
|
3
3
|
import { IntervalType } from './IntervalType';
|
|
4
|
+
import { HelioPlayProperties } from '../../helio-play';
|
|
4
5
|
export declare class BasePaystream extends BasePaymentRequest {
|
|
5
6
|
maxTime: number;
|
|
6
7
|
interval: IntervalType;
|
|
7
8
|
features: StreamFeatures;
|
|
9
|
+
helioPlayProperties?: HelioPlayProperties;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaystream.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/entities/BasePaystream.ts"],"names":[],"mappings":";;;AACA,2DAA2D;
|
|
1
|
+
{"version":3,"file":"BasePaystream.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/entities/BasePaystream.ts"],"names":[],"mappings":";;;AACA,2DAA2D;AAI3D,MAAa,aAAc,SAAQ,oCAAkB;CAQpD;AARD,sCAQC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HelioPlayProperties } from '../../helio-play';
|
|
1
2
|
import { PaymentRequest } from '../../payment-request';
|
|
2
3
|
import { StreamFeatures } from '../../stream-features';
|
|
3
4
|
import { IntervalType } from './IntervalType';
|
|
@@ -5,4 +6,5 @@ export declare class Paystream extends PaymentRequest {
|
|
|
5
6
|
maxTime: number;
|
|
6
7
|
interval: IntervalType;
|
|
7
8
|
features: StreamFeatures;
|
|
9
|
+
helioPlayProperties?: HelioPlayProperties;
|
|
8
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paystream.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/entities/Paystream.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Paystream.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream/entities/Paystream.ts"],"names":[],"mappings":";;;AACA,2DAAuD;AAIvD,MAAa,SAAU,SAAQ,gCAAc;CAQ5C;AARD,8BAQC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PolygonExplorerService = void 0;
|
|
4
|
+
const constants_1 = require("../constants");
|
|
5
|
+
class PolygonExplorerService {
|
|
6
|
+
static getPolygonExplorerUrlByCluster(env) {
|
|
7
|
+
return env === constants_1.Environment.PROD
|
|
8
|
+
? 'https://polygonscan.com'
|
|
9
|
+
: 'https://mumbai.polygonscan.com';
|
|
10
|
+
}
|
|
11
|
+
static getPolygonExplorerTransactionURL(transactionID, env) {
|
|
12
|
+
return `${PolygonExplorerService.getPolygonExplorerUrlByCluster(env)}/tx/${transactionID}`;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.PolygonExplorerService = PolygonExplorerService;
|
|
16
|
+
//# sourceMappingURL=PolygonExplorerService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PolygonExplorerService.js","sourceRoot":"","sources":["../../../../src/domain/services/PolygonExplorerService.ts"],"names":[],"mappings":";;;AAAA,4CAA2C;AAE3C,MAAa,sBAAsB;IACjC,MAAM,CAAC,8BAA8B,CAAC,GAAgB;QACpD,OAAO,GAAG,KAAK,uBAAW,CAAC,IAAI;YAC7B,CAAC,CAAC,yBAAyB;YAC3B,CAAC,CAAC,gCAAgC,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,gCAAgC,CACrC,aAAqB,EACrB,GAAgB;QAEhB,OAAO,GAAG,sBAAsB,CAAC,8BAA8B,CAC7D,GAAG,CACJ,OAAO,aAAa,EAAE,CAAC;IAC1B,CAAC;CACF;AAfD,wDAeC"}
|
|
@@ -22,4 +22,5 @@ __exportStar(require("./FeeService"), exports);
|
|
|
22
22
|
__exportStar(require("./TransactionCalculatorService"), exports);
|
|
23
23
|
__exportStar(require("./TransactionSignService"), exports);
|
|
24
24
|
__exportStar(require("./SplitWalletService"), exports);
|
|
25
|
+
__exportStar(require("./PolygonExplorerService"), exports);
|
|
25
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,+CAA6B;AAC7B,iEAA+C;AAC/C,2DAAyC;AACzC,uDAAqC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,oDAAkC;AAClC,mDAAiC;AACjC,mDAAiC;AACjC,+CAA6B;AAC7B,iEAA+C;AAC/C,2DAAyC;AACzC,uDAAqC;AACrC,2DAAyC"}
|