@heliofi/common 0.1.348 → 0.1.349
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/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/src/domain/model/affiliate/entities/affiliateDetails.entity.js +0 -8
- package/dist/src/domain/model/affiliate/entities/affiliateDetails.entity.js.map +0 -1
- package/dist/src/domain/model/affiliate/entities/index.d.ts +0 -1
- package/dist/src/domain/model/affiliate/entities/index.js +0 -18
- package/dist/src/domain/model/affiliate/entities/index.js.map +0 -1
- package/dist/src/domain/model/affiliate/index.d.ts +0 -1
- package/dist/src/domain/model/affiliate/index.js +0 -18
- package/dist/src/domain/model/affiliate/index.js.map +0 -1
- package/dist/src/domain/model/affiliates/entities/AffiliateDetailse.entity.d.ts +0 -4
- package/dist/src/domain/model/affiliates/entities/AffiliateDetailse.entity.js +0 -8
- package/dist/src/domain/model/affiliates/entities/AffiliateDetailse.entity.js.map +0 -1
- package/dist/src/domain/model/affiliates/entities/UserAffiliateCodee.entity.d.ts +0 -4
- package/dist/src/domain/model/affiliates/entities/UserAffiliateCodee.entity.js +0 -8
- package/dist/src/domain/model/affiliates/entities/UserAffiliateCodee.entity.js.map +0 -1
- package/dist/src/domain/model/affiliates/entities/affiliateDetails.entity.d.ts +0 -4
- package/dist/src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.d.ts +0 -4
- package/dist/src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.js +0 -27
- package/dist/src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.js.map +0 -1
- package/dist/src/domain/model/discordAuthProperties/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/discordAuthProperties/dtos/index.js +0 -18
- package/dist/src/domain/model/discordAuthProperties/dtos/index.js.map +0 -1
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.d.ts +0 -5
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.js +0 -8
- package/dist/src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.js.map +0 -1
- package/dist/src/domain/model/discordAuthProperties/entities/index.d.ts +0 -1
- package/dist/src/domain/model/discordAuthProperties/entities/index.js +0 -18
- package/dist/src/domain/model/discordAuthProperties/entities/index.js.map +0 -1
- package/dist/src/domain/model/discordAuthProperties/index.d.ts +0 -2
- package/dist/src/domain/model/discordAuthProperties/index.js +0 -19
- package/dist/src/domain/model/discordAuthProperties/index.js.map +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/verifyCollections.dto.d.ts +0 -3
- package/dist/src/domain/model/nft-escrow/dtos/verifyCollections.dto.js +0 -24
- package/dist/src/domain/model/nft-escrow/dtos/verifyCollections.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +0 -12
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +0 -22
- package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +0 -1
- package/dist/src/domain/services/CurrencyService.d.ts +0 -3
- package/dist/src/domain/services/CurrencyService.js +0 -11
- package/dist/src/domain/services/CurrencyService.js.map +0 -1
- /package/dist/src/domain/model/{affiliate/entities/affiliateDetails.entity.d.ts → affiliates/entities/AffiliateDetails.entity.d.ts} +0 -0
- /package/dist/src/domain/model/affiliates/entities/{affiliateDetails.entity.js → AffiliateDetails.entity.js} +0 -0
- /package/dist/src/domain/model/affiliates/entities/{affiliateDetails.entity.js.map → AffiliateDetails.entity.js.map} +0 -0
- /package/dist/src/domain/model/allowlist/dtos/{UploadAllowlistCSV.dto.d.ts → uploadAllowlistCSV.dto.d.ts} +0 -0
- /package/dist/src/domain/model/allowlist/dtos/{UploadAllowlistCSV.dto.js → uploadAllowlistCSV.dto.js} +0 -0
- /package/dist/src/domain/model/allowlist/dtos/{UploadAllowlistCSV.dto.js.map → uploadAllowlistCSV.dto.js.map} +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heliofi/common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.349",
|
|
5
5
|
"description": "Common package",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@heliofi/evm-adapter": "2.0.6",
|
|
17
17
|
"@project-serum/anchor": "^0.25.0",
|
|
18
18
|
"@solana/web3.js": "^1.44.0",
|
|
19
|
-
"bignumber.js": "
|
|
19
|
+
"bignumber.js": "9.1.1",
|
|
20
20
|
"bs58": "^5.0.0",
|
|
21
21
|
"class-transformer": "^0.5.1",
|
|
22
22
|
"class-validator": "^0.14.0",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"ts-loader": "^9.3.1",
|
|
29
29
|
"typescript": "^4.8.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d06e7c89eb4fcc238ab5eb456a91359e984b032d"
|
|
32
32
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AffiliateDetails = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class AffiliateDetails extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.AffiliateDetails = AffiliateDetails;
|
|
8
|
-
//# sourceMappingURL=affiliateDetails.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"affiliateDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/affiliate/entities/affiliateDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,gBAAiB,SAAQ,eAAM;CAE3C;AAFD,4CAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './affiliateDetails.entity';
|
|
@@ -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("./affiliateDetails.entity"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/affiliate/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './entities';
|
|
@@ -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("./entities"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/affiliate/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AffiliateDetails = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class AffiliateDetails extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.AffiliateDetails = AffiliateDetails;
|
|
8
|
-
//# sourceMappingURL=AffiliateDetailse.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AffiliateDetailse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/affiliates/entities/AffiliateDetailse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,gBAAiB,SAAQ,eAAM;CAE3C;AAFD,4CAEC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserAffiliateCode = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class UserAffiliateCode extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.UserAffiliateCode = UserAffiliateCode;
|
|
8
|
-
//# sourceMappingURL=UserAffiliateCodee.entity.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserAffiliateCodee.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/affiliates/entities/UserAffiliateCodee.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,iBAAkB,SAAQ,eAAM;CAE5C;AAFD,8CAEC"}
|
|
@@ -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.DiscordAuthPropertiesDto = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class DiscordAuthPropertiesDto {
|
|
15
|
-
}
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, class_validator_1.IsString)(),
|
|
18
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], DiscordAuthPropertiesDto.prototype, "serverId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsString)(),
|
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], DiscordAuthPropertiesDto.prototype, "roleId", void 0);
|
|
26
|
-
exports.DiscordAuthPropertiesDto = DiscordAuthPropertiesDto;
|
|
27
|
-
//# sourceMappingURL=discordAuthProperties.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"discordAuthProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discordAuthProperties/dtos/discordAuthProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;CAQpC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACE;AAPjB,4DAQC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './discordAuthProperties.dto';
|
|
@@ -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("./discordAuthProperties.dto"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discordAuthProperties/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiscordAuthProperties = void 0;
|
|
4
|
-
const entity_1 = require("../../entity");
|
|
5
|
-
class DiscordAuthProperties extends entity_1.Entity {
|
|
6
|
-
}
|
|
7
|
-
exports.DiscordAuthProperties = DiscordAuthProperties;
|
|
8
|
-
//# sourceMappingURL=DiscordAuthProperties.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DiscordAuthProperties.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discordAuthProperties/entities/DiscordAuthProperties.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAIhD;AAJD,sDAIC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './DiscordAuthProperties';
|
|
@@ -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("./DiscordAuthProperties"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discordAuthProperties/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -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/discordAuthProperties/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
|
|
@@ -1,24 +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.VerifyCollectionsDto = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class VerifyCollectionsDto {
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsArray)(),
|
|
19
|
-
(0, class_transformer_1.Type)(() => String),
|
|
20
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
-
__metadata("design:type", Array)
|
|
22
|
-
], VerifyCollectionsDto.prototype, "collectionMintAddresses", void 0);
|
|
23
|
-
exports.VerifyCollectionsDto = VerifyCollectionsDto;
|
|
24
|
-
//# sourceMappingURL=verifyCollections.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verifyCollections.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/verifyCollections.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAAsD;AAEtD,MAAa,oBAAoB;CAKhC;AAJC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,4BAAU,GAAE;;qEACsB;AAJrC,oDAKC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EventName } from '@heliofi/evm-adapter';
|
|
2
|
-
import { Entity } from '../../entity';
|
|
3
|
-
import { FeeProperties } from '../../fee';
|
|
4
|
-
export declare class TokenTransactionPayload extends Entity {
|
|
5
|
-
finalAmount?: string;
|
|
6
|
-
hash: string;
|
|
7
|
-
paymentRequestId: string;
|
|
8
|
-
feeProperties: FeeProperties;
|
|
9
|
-
sessionHash?: string;
|
|
10
|
-
eventName?: EventName;
|
|
11
|
-
transactionDbId?: string;
|
|
12
|
-
}
|
|
@@ -1,22 +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.TokenTransactionPayload = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const entity_1 = require("../../entity");
|
|
15
|
-
class TokenTransactionPayload extends entity_1.Entity {
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], TokenTransactionPayload.prototype, "finalAmount", void 0);
|
|
21
|
-
exports.TokenTransactionPayload = TokenTransactionPayload;
|
|
22
|
-
//# sourceMappingURL=TokenTransactionPayload.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAelD;AAdC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4DACnB;AAFvB,0DAeC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrencyService = void 0;
|
|
4
|
-
class CurrencyService {
|
|
5
|
-
static fromMinimalUnits(decimals, amount) {
|
|
6
|
-
const decimalsValue = Number.isNaN(decimals) ? 0 : decimals;
|
|
7
|
-
return parseFloat((amount / 10 ** decimalsValue).toFixed(3));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.CurrencyService = CurrencyService;
|
|
11
|
-
//# sourceMappingURL=CurrencyService.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencyService.js","sourceRoot":"","sources":["../../../../src/domain/services/CurrencyService.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;IAC1B,MAAM,CAAC,gBAAgB,CAAC,QAAgB,EAAE,MAAc;QACtD,MAAM,aAAa,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;QAC5D,OAAO,UAAU,CAAC,CAAC,MAAM,GAAG,EAAE,IAAI,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,CAAC;CACF;AALD,0CAKC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|