@heliofi/common 0.1.408 → 0.1.410
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/auth/dtos/bitcoinSignOn.dto.d.ts +1 -2
- package/dist/src/domain/model/auth/dtos/bitcoinSignOn.dto.js +4 -7
- package/dist/src/domain/model/auth/dtos/bitcoinSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.d.ts +1 -2
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.js +2 -5
- package/dist/src/domain/model/auth/dtos/evmSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/signOn.dto.d.ts +1 -2
- package/dist/src/domain/model/auth/dtos/signOn.dto.js +2 -5
- package/dist/src/domain/model/auth/dtos/signOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.d.ts +0 -2
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.js +0 -7
- package/dist/src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.d.ts +0 -2
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js +0 -7
- package/dist/src/domain/model/auth/dtos/transactionSignOn.dto.js.map +1 -1
- package/dist/src/domain/model/auth/entities/AuthUser.d.ts +0 -5
- package/dist/src/domain/model/auth/entities/AuthUser.js +0 -6
- package/dist/src/domain/model/auth/entities/AuthUser.js.map +1 -1
- package/dist/src/domain/model/countdown-details/dtos/countdownDetails.dto.d.ts +1 -0
- package/dist/src/domain/model/countdown-details/dtos/countdownDetails.dto.js +6 -0
- package/dist/src/domain/model/countdown-details/dtos/countdownDetails.dto.js.map +1 -1
- package/dist/src/domain/model/countdown-details/entities/CountdownDetails.entity.d.ts +1 -0
- package/dist/src/domain/model/countdown-details/entities/CountdownDetails.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { Platform } from '../../../constants';
|
|
2
2
|
import { WalletOrigin } from '../../wallet';
|
|
3
3
|
import { BTCPropertiesDto } from './btcProperties.dto';
|
|
4
|
-
import { AuthScope } from '../entities';
|
|
5
4
|
export declare class BitcoinSignOnDto {
|
|
6
5
|
signature: string;
|
|
7
6
|
platform?: Platform;
|
|
8
7
|
origin: WalletOrigin;
|
|
9
8
|
btcProperties: BTCPropertiesDto;
|
|
9
|
+
nonceV2: boolean;
|
|
10
10
|
nonce: string;
|
|
11
11
|
publicKey: string;
|
|
12
12
|
authMessage: string;
|
|
13
|
-
scopes?: AuthScope[];
|
|
14
13
|
}
|
|
@@ -15,7 +15,6 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const constants_1 = require("../../../constants");
|
|
16
16
|
const wallet_1 = require("../../wallet");
|
|
17
17
|
const btcProperties_dto_1 = require("./btcProperties.dto");
|
|
18
|
-
const entities_1 = require("../entities");
|
|
19
18
|
class BitcoinSignOnDto {
|
|
20
19
|
}
|
|
21
20
|
__decorate([
|
|
@@ -38,6 +37,10 @@ __decorate([
|
|
|
38
37
|
(0, class_validator_1.ValidateNested)(),
|
|
39
38
|
__metadata("design:type", btcProperties_dto_1.BTCPropertiesDto)
|
|
40
39
|
], BitcoinSignOnDto.prototype, "btcProperties", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
__metadata("design:type", Boolean)
|
|
43
|
+
], BitcoinSignOnDto.prototype, "nonceV2", void 0);
|
|
41
44
|
__decorate([
|
|
42
45
|
(0, class_validator_1.IsString)(),
|
|
43
46
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -53,11 +56,5 @@ __decorate([
|
|
|
53
56
|
(0, class_validator_1.IsNotEmpty)(),
|
|
54
57
|
__metadata("design:type", String)
|
|
55
58
|
], BitcoinSignOnDto.prototype, "authMessage", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, class_validator_1.IsOptional)(),
|
|
58
|
-
(0, class_validator_1.IsArray)(),
|
|
59
|
-
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
60
|
-
__metadata("design:type", Array)
|
|
61
|
-
], BitcoinSignOnDto.prototype, "scopes", void 0);
|
|
62
59
|
exports.BitcoinSignOnDto = BitcoinSignOnDto;
|
|
63
60
|
//# sourceMappingURL=bitcoinSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitcoinSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/bitcoinSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"bitcoinSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/bitcoinSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,kDAA8C;AAC9C,yCAA4C;AAC5C,2DAAuD;AAEvD,MAAa,gBAAgB;CAgC5B;AA/BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;kDACG;AAGpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAY,CAAC;;gDACA;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,gCAAc,GAAE;8BACF,oCAAgB;uDAAC;AAEhC;IAAC,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACO;AA/BtB,4CAgCC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EVMMessageDto } from './evmMessage.dto';
|
|
2
2
|
import { Platform } from '../../../constants';
|
|
3
|
-
import { AuthScope } from '../entities';
|
|
4
3
|
export declare class EVMSignOnDto {
|
|
5
4
|
message: EVMMessageDto;
|
|
6
5
|
signature: string;
|
|
@@ -8,5 +7,5 @@ export declare class EVMSignOnDto {
|
|
|
8
7
|
nonce: string;
|
|
9
8
|
publicKey: string;
|
|
10
9
|
authMessage: string;
|
|
11
|
-
|
|
10
|
+
nonceV2: boolean;
|
|
12
11
|
}
|
|
@@ -14,7 +14,6 @@ const class_validator_1 = require("class-validator");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const evmMessage_dto_1 = require("./evmMessage.dto");
|
|
16
16
|
const constants_1 = require("../../../constants");
|
|
17
|
-
const entities_1 = require("../entities");
|
|
18
17
|
class EVMSignOnDto {
|
|
19
18
|
}
|
|
20
19
|
__decorate([
|
|
@@ -50,9 +49,7 @@ __decorate([
|
|
|
50
49
|
], EVMSignOnDto.prototype, "authMessage", void 0);
|
|
51
50
|
__decorate([
|
|
52
51
|
(0, class_validator_1.IsOptional)(),
|
|
53
|
-
(
|
|
54
|
-
|
|
55
|
-
__metadata("design:type", Array)
|
|
56
|
-
], EVMSignOnDto.prototype, "scopes", void 0);
|
|
52
|
+
__metadata("design:type", Boolean)
|
|
53
|
+
], EVMSignOnDto.prototype, "nonceV2", void 0);
|
|
57
54
|
exports.EVMSignOnDto = EVMSignOnDto;
|
|
58
55
|
//# sourceMappingURL=evmSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evmSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/evmSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"evmSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/evmSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,qDAAiD;AACjD,kDAA8C;AAE9C,MAAa,YAAY;CA4BxB;AA3BC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACR,8BAAa;6CAAC;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;8CACG;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;;6CACI;AA3BnB,oCA4BC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Platform } from '../../../constants';
|
|
2
2
|
import { WalletOrigin } from '../../wallet';
|
|
3
|
-
import { AuthScope } from '../entities';
|
|
4
3
|
export declare class SignOnDto {
|
|
5
4
|
publicKey: string;
|
|
6
5
|
signature: string;
|
|
@@ -8,5 +7,5 @@ export declare class SignOnDto {
|
|
|
8
7
|
nonce: string;
|
|
9
8
|
platform?: Platform;
|
|
10
9
|
origin?: WalletOrigin;
|
|
11
|
-
|
|
10
|
+
nonceV2: boolean;
|
|
12
11
|
}
|
|
@@ -13,7 +13,6 @@ exports.SignOnDto = void 0;
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
15
|
const wallet_1 = require("../../wallet");
|
|
16
|
-
const entities_1 = require("../entities");
|
|
17
16
|
class SignOnDto {
|
|
18
17
|
}
|
|
19
18
|
__decorate([
|
|
@@ -48,9 +47,7 @@ __decorate([
|
|
|
48
47
|
], SignOnDto.prototype, "origin", void 0);
|
|
49
48
|
__decorate([
|
|
50
49
|
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
(
|
|
52
|
-
|
|
53
|
-
__metadata("design:type", Array)
|
|
54
|
-
], SignOnDto.prototype, "scopes", void 0);
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], SignOnDto.prototype, "nonceV2", void 0);
|
|
55
52
|
exports.SignOnDto = SignOnDto;
|
|
56
53
|
//# 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,
|
|
1
|
+
{"version":3,"file":"signOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAA8C;AAC9C,yCAA4C;AAE5C,MAAa,SAAS;CA4BrB;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACC;AAEd;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACG;AAGpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAY,CAAC;;yCACC;AAEtB;IAAC,IAAA,4BAAU,GAAE;;0CACI;AA3BnB,8BA4BC"}
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.SignOnWeb3authSocialNetworkDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
|
-
const entities_1 = require("../entities");
|
|
16
15
|
class SignOnWeb3authSocialNetworkDto {
|
|
17
16
|
}
|
|
18
17
|
__decorate([
|
|
@@ -25,11 +24,5 @@ __decorate([
|
|
|
25
24
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
26
25
|
__metadata("design:type", String)
|
|
27
26
|
], SignOnWeb3authSocialNetworkDto.prototype, "platform", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
(0, class_validator_1.IsArray)(),
|
|
31
|
-
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
32
|
-
__metadata("design:type", Array)
|
|
33
|
-
], SignOnWeb3authSocialNetworkDto.prototype, "scopes", void 0);
|
|
34
27
|
exports.SignOnWeb3authSocialNetworkDto = SignOnWeb3authSocialNetworkDto;
|
|
35
28
|
//# sourceMappingURL=signOnWeb3authSocialNetwork.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signOnWeb3authSocialNetwork.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"signOnWeb3authSocialNetwork.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/signOnWeb3authSocialNetwork.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAA8C;AAE9C,MAAa,8BAA8B;CAQ1C;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;gEACG;AAPtB,wEAQC"}
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.TransactionSignOnDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const constants_1 = require("../../../constants");
|
|
15
|
-
const entities_1 = require("../entities");
|
|
16
15
|
class TransactionSignOnDto {
|
|
17
16
|
}
|
|
18
17
|
__decorate([
|
|
@@ -25,11 +24,5 @@ __decorate([
|
|
|
25
24
|
(0, class_validator_1.IsEnum)(constants_1.Platform),
|
|
26
25
|
__metadata("design:type", String)
|
|
27
26
|
], TransactionSignOnDto.prototype, "platform", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
|
-
(0, class_validator_1.IsArray)(),
|
|
31
|
-
(0, class_validator_1.IsEnum)(entities_1.AuthScope),
|
|
32
|
-
__metadata("design:type", Array)
|
|
33
|
-
], TransactionSignOnDto.prototype, "scopes", void 0);
|
|
34
27
|
exports.TransactionSignOnDto = TransactionSignOnDto;
|
|
35
28
|
//# sourceMappingURL=transactionSignOn.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"transactionSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/transactionSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAA8C;AAE9C,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACO;AAEpB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;sDACG;AAPtB,oDAQC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthScope = void 0;
|
|
4
|
-
var AuthScope;
|
|
5
|
-
(function (AuthScope) {
|
|
6
|
-
AuthScope["dashboard"] = "dashboard";
|
|
7
|
-
AuthScope["checkout"] = "checkout";
|
|
8
|
-
})(AuthScope = exports.AuthScope || (exports.AuthScope = {}));
|
|
9
3
|
//# sourceMappingURL=AuthUser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/AuthUser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthUser.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/entities/AuthUser.ts"],"names":[],"mappings":""}
|
|
@@ -20,5 +20,11 @@ __decorate([
|
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
21
|
__metadata("design:type", Date)
|
|
22
22
|
], CountdownDetailsDto.prototype, "startDatetime", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
25
|
+
(0, class_validator_1.IsDate)(),
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], CountdownDetailsDto.prototype, "endDatetime", void 0);
|
|
23
29
|
exports.CountdownDetailsDto = CountdownDetailsDto;
|
|
24
30
|
//# sourceMappingURL=countdownDetails.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countdownDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/countdown-details/dtos/countdownDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"countdownDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/countdown-details/dtos/countdownDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAiE;AAEjE,MAAa,mBAAmB;CAU/B;AATC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACE,IAAI;0DAAC;AAEpB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACC,IAAI;wDAAC;AATrB,kDAUC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountdownDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/countdown-details/entities/CountdownDetails.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;
|
|
1
|
+
{"version":3,"file":"CountdownDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/countdown-details/entities/CountdownDetails.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;CAI5B;AAJD,4CAIC"}
|