@heliofi/launchpad-common 1.6.5 → 1.6.6

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.
@@ -18,7 +18,7 @@ class BoostPriorityDto {
18
18
  __decorate([
19
19
  (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
20
  (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_validator_1.Validate)(validations_1.MinBigInt),
21
+ (0, class_validator_1.Validate)(validations_1.MinPriorityFee),
22
22
  __metadata("design:type", String)
23
23
  ], BoostPriorityDto.prototype, "tipAmount", void 0);
24
24
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"BoostPriority.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,sDAAiD;AAEjD,MAAa,gBAAgB;CAS5B;AARC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;mDACF;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACoB;AARnC,4CASC"}
1
+ {"version":3,"file":"BoostPriority.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/boost/dtos/BoostPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,sDAAsD;AAEtD,MAAa,gBAAgB;CAS5B;AARC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,4BAAc,CAAC;;mDACP;AAElB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACoB;AARnC,4CASC"}
@@ -13,5 +13,8 @@ export declare class FunTokensListEntity extends Entity {
13
13
  progressPercent: number;
14
14
  mintAddress: string;
15
15
  profileId: string;
16
+ migrationDex: string;
17
+ curveType: string;
18
+ marketcap: string;
16
19
  }
17
20
  export declare type FunTokensListResponseEntity = FunTokensListEntity[];
@@ -1 +1 @@
1
- {"version":3,"file":"FunTokensList.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fun/entities/FunTokensList.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CA0B9C;AA1BD,kDA0BC"}
1
+ {"version":3,"file":"FunTokensList.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fun/entities/FunTokensList.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CAgC9C;AAhCD,kDAgCC"}
@@ -18,7 +18,7 @@ class TxPriorityDto {
18
18
  __decorate([
19
19
  (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
20
  (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_validator_1.Validate)(validations_1.MinBigInt),
21
+ (0, class_validator_1.Validate)(validations_1.MinPriorityFee),
22
22
  __metadata("design:type", String)
23
23
  ], TxPriorityDto.prototype, "priorityTipAmount", void 0);
24
24
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"TxPriority.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/tx/prepare/dtos/TxPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,yDAAoD;AAEpD,MAAa,aAAa;CA6BzB;AA5BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,uBAAS,CAAC;;wDACM;AAO1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACoB;AAKjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACY;AAMzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACW;AA5B1B,sCA6BC"}
1
+ {"version":3,"file":"TxPriority.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/tx/prepare/dtos/TxPriority.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA8E;AAC9E,yDAAyD;AAEzD,MAAa,aAAa;CA6BzB;AA5BC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,4BAAc,CAAC;;wDACC;AAO1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACoB;AAKjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACY;AAMzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oDACW;AA5B1B,sCA6BC"}
@@ -0,0 +1,6 @@
1
+ export declare class MinPriorityFee {
2
+ private field;
3
+ constructor(field: string);
4
+ validate(value: string): boolean;
5
+ defaultMessage(): string;
6
+ }
@@ -0,0 +1,31 @@
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.MinPriorityFee = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const MIN_PRIO_FEE = 1000n;
15
+ let MinPriorityFee = class MinPriorityFee {
16
+ constructor(field) {
17
+ this.field = field;
18
+ }
19
+ validate(value) {
20
+ return BigInt(value) >= MIN_PRIO_FEE;
21
+ }
22
+ defaultMessage() {
23
+ return `Priority fee should be greater than ${MIN_PRIO_FEE}`;
24
+ }
25
+ };
26
+ MinPriorityFee = __decorate([
27
+ (0, class_validator_1.ValidatorConstraint)({ async: false }),
28
+ __metadata("design:paramtypes", [String])
29
+ ], MinPriorityFee);
30
+ exports.MinPriorityFee = MinPriorityFee;
31
+ //# sourceMappingURL=MinPriorityFee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MinPriorityFee.js","sourceRoot":"","sources":["../../../../src/domain/validations/MinPriorityFee.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsD;AAEtD,MAAM,YAAY,GAAG,KAAM,CAAC;AAErB,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAAoB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IAAG,CAAC;IAErC,QAAQ,CAAC,KAAa;QACpB,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,YAAY,CAAC;IACvC,CAAC;IAED,cAAc;QACZ,OAAO,uCAAuC,YAAY,EAAE,CAAC;IAC/D,CAAC;CACF,CAAA;AAVY,cAAc;IAD1B,IAAA,qCAAmB,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;;GACzB,cAAc,CAU1B;AAVY,wCAAc"}
@@ -1,3 +1,4 @@
1
1
  export * from './MinBigInt';
2
2
  export * from './UrlPattern';
3
3
  export * from './SanitizeRegex';
4
+ export * from './MinPriorityFee';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./MinBigInt"), exports);
18
18
  __exportStar(require("./UrlPattern"), exports);
19
19
  __exportStar(require("./SanitizeRegex"), exports);
20
+ __exportStar(require("./MinPriorityFee"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,mDAAiC"}