@heliofi/common 0.1.267 → 0.1.269
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/nft-drop/constants/NftDropState.entity.d.ts +9 -0
- package/dist/src/domain/model/nft-drop/constants/NftDropState.entity.js +14 -0
- package/dist/src/domain/model/nft-drop/constants/NftDropState.entity.js.map +1 -0
- package/dist/src/domain/model/nft-drop/constants/index.d.ts +1 -1
- package/dist/src/domain/model/nft-drop/constants/index.js +1 -1
- package/dist/src/domain/model/nft-drop/constants/index.js.map +1 -1
- package/dist/src/domain/model/nft-drop/dtos/index.d.ts +1 -1
- package/dist/src/domain/model/nft-drop/dtos/index.js +1 -1
- package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.d.ts +0 -1
- package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js +0 -5
- package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js.map +1 -1
- package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +3 -3
- package/dist/src/domain/model/nft-escrow/dtos/index.js +3 -3
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +5 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js +32 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +1 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.d.ts +7 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js +43 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +1 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.d.ts +6 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js +37 -0
- package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NftDropState = void 0;
|
|
4
|
+
var NftDropState;
|
|
5
|
+
(function (NftDropState) {
|
|
6
|
+
NftDropState["FAILED_ESCROW"] = "FAILED_ESCROW";
|
|
7
|
+
NftDropState["PENDING_ESCROW"] = "PENDING_ESCROW";
|
|
8
|
+
NftDropState["ESCROWED"] = "ESCROWED";
|
|
9
|
+
NftDropState["FAILED_CANCEL"] = "FAILED_CANCEL";
|
|
10
|
+
NftDropState["PENDING_CANCEL"] = "PENDING_CANCEL";
|
|
11
|
+
NftDropState["CANCELED"] = "CANCELED";
|
|
12
|
+
NftDropState["TRANSFERRED"] = "TRANSFERRED";
|
|
13
|
+
})(NftDropState = exports.NftDropState || (exports.NftDropState = {}));
|
|
14
|
+
//# sourceMappingURL=NftDropState.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NftDropState.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/constants/NftDropState.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+CAA+B,CAAA;IAC/B,iDAAiC,CAAA;IACjC,qCAAqB,CAAA;IACrB,+CAA+B,CAAA;IAC/B,iDAAiC,CAAA;IACjC,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;AAC7B,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './NftDropState';
|
|
1
|
+
export * from './NftDropState.entity';
|
|
@@ -14,5 +14,5 @@ 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("./NftDropState"), exports);
|
|
17
|
+
__exportStar(require("./NftDropState.entity"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './nftDrop.dto';
|
|
@@ -14,5 +14,5 @@ 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("./
|
|
17
|
+
__exportStar(require("./nftDrop.dto"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -20,10 +20,5 @@ __decorate([
|
|
|
20
20
|
(0, class_validator_1.IsNotEmpty)({ each: true }),
|
|
21
21
|
__metadata("design:type", Array)
|
|
22
22
|
], NftDropDto.prototype, "mintAddresses", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, class_validator_1.IsString)(),
|
|
25
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], NftDropDto.prototype, "escrowAccountPK", void 0);
|
|
28
23
|
exports.NftDropDto = NftDropDto;
|
|
29
24
|
//# sourceMappingURL=nftDrop.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nftDrop.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/nftDrop.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"nftDrop.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/nftDrop.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,UAAU;CAMtB;AALC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACH;AAL1B,gCAMC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './nftEscrowCreate.dto';
|
|
2
|
+
export * from './nftEscrowCancel.dto';
|
|
3
|
+
export * from './nftEscrowSubmit.dto';
|
|
@@ -14,7 +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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./nftEscrowCreate.dto"), exports);
|
|
18
|
+
__exportStar(require("./nftEscrowCancel.dto"), exports);
|
|
19
|
+
__exportStar(require("./nftEscrowSubmit.dto"), exports);
|
|
20
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -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.NftEscrowCancelDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class NftEscrowCancelDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], NftEscrowCancelDto.prototype, "ownerPK", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], NftEscrowCancelDto.prototype, "paymentRequestId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], NftEscrowCancelDto.prototype, "mintAddress", void 0);
|
|
31
|
+
exports.NftEscrowCancelDto = NftEscrowCancelDto;
|
|
32
|
+
//# sourceMappingURL=nftEscrowCancel.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nftEscrowCancel.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,kBAAkB;CAY9B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAXtB,gDAYC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.NftEscrowCreateDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class NftEscrowCreateDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], NftEscrowCreateDto.prototype, "price", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], NftEscrowCreateDto.prototype, "ownerPK", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], NftEscrowCreateDto.prototype, "escrowAccountPK", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], NftEscrowCreateDto.prototype, "mintAddress", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], NftEscrowCreateDto.prototype, "currencyMintAddress", void 0);
|
|
42
|
+
exports.NftEscrowCreateDto = NftEscrowCreateDto;
|
|
43
|
+
//# sourceMappingURL=nftEscrowCreate.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nftEscrowCreate.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAuD;AAEvD,MAAa,kBAAkB;CAoB9B;AAnBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACe;AAnB9B,gDAoBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.NftEscrowSubmitDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class NftEscrowSubmitDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsString)(),
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], NftEscrowSubmitDto.prototype, "signedTransaction", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], NftEscrowSubmitDto.prototype, "paymentRequestId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], NftEscrowSubmitDto.prototype, "transactionToken", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], NftEscrowSubmitDto.prototype, "escrowAccountPK", void 0);
|
|
36
|
+
exports.NftEscrowSubmitDto = NftEscrowSubmitDto;
|
|
37
|
+
//# sourceMappingURL=nftEscrowSubmit.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nftEscrowSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,kBAAkB;CAgB9B;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACY;AAf3B,gDAgBC"}
|