@heliofi/common 0.1.220 → 0.1.227

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 (28) hide show
  1. package/dist/src/domain/model/company/entities/BaseCompany.entity.d.ts +1 -0
  2. package/dist/src/domain/model/company/entities/BaseCompany.entity.js.map +1 -1
  3. package/dist/src/domain/model/index.d.ts +0 -1
  4. package/dist/src/domain/model/index.js +0 -1
  5. package/dist/src/domain/model/index.js.map +1 -1
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/package.json +2 -2
  8. package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +0 -3
  9. package/dist/src/domain/model/nft-escrow/dtos/index.js +0 -20
  10. package/dist/src/domain/model/nft-escrow/dtos/index.js.map +0 -1
  11. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +0 -5
  12. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js +0 -32
  13. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +0 -1
  14. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.d.ts +0 -7
  15. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js +0 -43
  16. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +0 -1
  17. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.d.ts +0 -4
  18. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js +0 -27
  19. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +0 -1
  20. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.d.ts +0 -5
  21. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js +0 -8
  22. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js.map +0 -1
  23. package/dist/src/domain/model/nft-escrow/entities/index.d.ts +0 -1
  24. package/dist/src/domain/model/nft-escrow/entities/index.js +0 -18
  25. package/dist/src/domain/model/nft-escrow/entities/index.js.map +0 -1
  26. package/dist/src/domain/model/nft-escrow/index.d.ts +0 -2
  27. package/dist/src/domain/model/nft-escrow/index.js +0 -19
  28. package/dist/src/domain/model/nft-escrow/index.js.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/common",
3
3
  "private": false,
4
- "version": "0.1.220",
4
+ "version": "0.1.227",
5
5
  "description": "Common package",
6
6
  "main": "dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "ts-loader": "^9.3.1",
26
26
  "typescript": "^4.8.2"
27
27
  },
28
- "gitHead": "ad1855990b608abf63b42842fc867f8bb7d65530"
28
+ "gitHead": "c687357f6e309a1ad4de38f3f5aa85aa17708c0f"
29
29
  }
@@ -1,3 +0,0 @@
1
- export * from './nftEscrowCreate.dto';
2
- export * from './nftEscrowSubmit.dto';
3
- export * from './nftEscrowCancel.dto';
@@ -1,20 +0,0 @@
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("./nftEscrowCreate.dto"), exports);
18
- __exportStar(require("./nftEscrowSubmit.dto"), exports);
19
- __exportStar(require("./nftEscrowCancel.dto"), exports);
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,wDAAsC"}
@@ -1,5 +0,0 @@
1
- export declare class NftEscrowCancelDto {
2
- ownerPK: string;
3
- escrowAccountPK: string;
4
- mintAddress: string;
5
- }
@@ -1,32 +0,0 @@
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, "escrowAccountPK", 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
@@ -1 +0,0 @@
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;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAXtB,gDAYC"}
@@ -1,7 +0,0 @@
1
- export declare class NftEscrowCreateDto {
2
- price: string;
3
- ownerPK: string;
4
- escrowAccountPK: string;
5
- mintAddress: string;
6
- currencyMintAddress: string;
7
- }
@@ -1,43 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- export declare class NftEscrowSubmitDto {
2
- signedTransaction: string;
3
- transactionToken?: string;
4
- }
@@ -1,27 +0,0 @@
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.IsOptional)(),
24
- __metadata("design:type", String)
25
- ], NftEscrowSubmitDto.prototype, "transactionToken", void 0);
26
- exports.NftEscrowSubmitDto = NftEscrowSubmitDto;
27
- //# sourceMappingURL=nftEscrowSubmit.dto.js.map
@@ -1 +0,0 @@
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;CAQ9B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAP5B,gDAQC"}
@@ -1,5 +0,0 @@
1
- import { Entity } from '../../entity';
2
- export declare class TokenNftEscrowPayload extends Entity {
3
- hash: string;
4
- sessionHash?: string;
5
- }
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TokenNftEscrowPayload = void 0;
4
- const entity_1 = require("../../entity");
5
- class TokenNftEscrowPayload extends entity_1.Entity {
6
- }
7
- exports.TokenNftEscrowPayload = TokenNftEscrowPayload;
8
- //# sourceMappingURL=TokenNftEscrowPayload.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TokenNftEscrowPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAIhD;AAJD,sDAIC"}
@@ -1 +0,0 @@
1
- export * from './TokenNftEscrowPayload';
@@ -1,18 +0,0 @@
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("./TokenNftEscrowPayload"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
@@ -1,2 +0,0 @@
1
- export * from './dtos';
2
- export * from './entities';
@@ -1,19 +0,0 @@
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("./dtos"), exports);
18
- __exportStar(require("./entities"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-escrow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}