@heliofi/common 0.1.133 → 0.1.134
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/EVMSignOn.dto.d.ts +14 -0
- package/dist/src/domain/model/auth/dtos/EVMSignOn.dto.js +66 -0
- package/dist/src/domain/model/auth/dtos/EVMSignOn.dto.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/ethSignOn.dto.d.ts +14 -0
- package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js +66 -0
- package/dist/src/domain/model/auth/dtos/ethSignOn.dto.js.map +1 -0
- package/dist/src/domain/model/auth/dtos/index.d.ts +1 -0
- package/dist/src/domain/model/auth/dtos/index.js +1 -0
- package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.d.ts +6 -0
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js +8 -0
- package/dist/src/domain/model/blockchainEngine/entities/BlockchainEngine.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.d.ts +0 -4
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js +0 -23
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwappedTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js +0 -7
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwappedTransaction.js.map +0 -1
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.d.ts +0 -4
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js +0 -23
- package/dist/src/domain/model/submit-transaction/dtos/submitSwappedTransaction.dto.js.map +0 -1
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.d.ts +0 -14
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js +0 -9
- package/dist/src/domain/model/token-swap/entities/SwapRouteObject.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare class Message {
|
|
2
|
+
address: string;
|
|
3
|
+
domain: string;
|
|
4
|
+
issuedAt: string;
|
|
5
|
+
nonce: string;
|
|
6
|
+
statement: string;
|
|
7
|
+
uri: string;
|
|
8
|
+
version: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class EVMSignOnDto {
|
|
11
|
+
message: Message;
|
|
12
|
+
signature: string;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
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.EVMSignOnDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class Message {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], Message.prototype, "address", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Message.prototype, "domain", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Message.prototype, "issuedAt", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Message.prototype, "nonce", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Message.prototype, "statement", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Message.prototype, "uri", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Message.prototype, "version", void 0);
|
|
52
|
+
class EVMSignOnDto {
|
|
53
|
+
}
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Type)(() => Message),
|
|
56
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
57
|
+
(0, class_validator_1.ValidateNested)(),
|
|
58
|
+
__metadata("design:type", Message)
|
|
59
|
+
], EVMSignOnDto.prototype, "message", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], EVMSignOnDto.prototype, "signature", void 0);
|
|
65
|
+
exports.EVMSignOnDto = EVMSignOnDto;
|
|
66
|
+
//# sourceMappingURL=EVMSignOn.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/EVMSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,yDAAyC;AAEzC,MAAM,OAAO;CA4BZ;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uCACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sCACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oCACD;AAEZ;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACG;AAGlB,MAAa,YAAY;CASxB;AARC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACR,OAAO;6CAAC;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AARpB,oCASC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare class Message {
|
|
2
|
+
address: string;
|
|
3
|
+
domain: string;
|
|
4
|
+
issuedAt: string;
|
|
5
|
+
nonce: string;
|
|
6
|
+
statement: string;
|
|
7
|
+
uri: string;
|
|
8
|
+
version: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class EthSignOnDto {
|
|
11
|
+
message: Message;
|
|
12
|
+
signature: string;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
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.EthSignOnDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class Message {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], Message.prototype, "address", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Message.prototype, "domain", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Message.prototype, "issuedAt", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Message.prototype, "nonce", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Message.prototype, "statement", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Message.prototype, "uri", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Message.prototype, "version", void 0);
|
|
52
|
+
class EthSignOnDto {
|
|
53
|
+
}
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Type)(() => Message),
|
|
56
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
57
|
+
(0, class_validator_1.ValidateNested)(),
|
|
58
|
+
__metadata("design:type", Message)
|
|
59
|
+
], EthSignOnDto.prototype, "message", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], EthSignOnDto.prototype, "signature", void 0);
|
|
65
|
+
exports.EthSignOnDto = EthSignOnDto;
|
|
66
|
+
//# sourceMappingURL=ethSignOn.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethSignOn.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/ethSignOn.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,yDAAyC;AAEzC,MAAM,OAAO;CA4BZ;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uCACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sCACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oCACD;AAEZ;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wCACG;AAGlB,MAAa,YAAY;CASxB;AARC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;IACnB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACR,OAAO;6CAAC;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACK;AARpB,oCASC"}
|
|
@@ -14,6 +14,7 @@ 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("./EVMSignOn.dto"), exports);
|
|
17
18
|
__exportStar(require("./signOn.dto"), exports);
|
|
18
19
|
__exportStar(require("./transactionSignOn.dto"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BlockchainEngine = void 0;
|
|
4
|
+
const entity_1 = require("../../entity");
|
|
5
|
+
class BlockchainEngine extends entity_1.Entity {
|
|
6
|
+
}
|
|
7
|
+
exports.BlockchainEngine = BlockchainEngine;
|
|
8
|
+
//# sourceMappingURL=BlockchainEngine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockchainEngine.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchainEngine/entities/BlockchainEngine.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,gBAAiB,SAAQ,eAAM;CAI3C;AAJD,4CAIC"}
|