@heliofi/common 0.1.280 → 0.1.282-alpha
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/constants/platform.d.ts +1 -1
- package/dist/src/domain/constants/platform.js +3 -3
- package/dist/src/domain/constants/platform.js.map +1 -1
- package/dist/src/domain/model/auth/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/auth/dtos/index.js +0 -1
- package/dist/src/domain/model/auth/dtos/index.js.map +1 -1
- package/dist/src/domain/model/auth/entities/AuthUser.d.ts +2 -0
- package/dist/src/domain/model/helio-play/dtos/HelioPlayProperties.dto.js +1 -1
- package/dist/src/domain/model/helio-play/dtos/HelioPlayProperties.dto.js.map +1 -1
- package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.js +1 -1
- package/dist/src/domain/model/invoice-tx/entities/BaseInvoiceTx.js.map +1 -1
- package/dist/src/domain/model/media/entities/MediaProperties.entity.d.ts +1 -1
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js +1 -1
- package/dist/src/domain/model/paystream-tx/entities/BasePaystreamTx.js.map +1 -1
- package/dist/src/domain/model/platform-details/index.d.ts +0 -1
- package/dist/src/domain/model/platform-details/index.js +0 -1
- package/dist/src/domain/model/platform-details/index.js.map +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.d.ts +1 -1
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.js +2 -2
- package/dist/src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.js.map +1 -1
- package/dist/src/domain/model/split-account/entities/SplitAccount.js +1 -1
- package/dist/src/domain/model/split-account/entities/SplitAccount.js.map +1 -1
- package/dist/src/domain/model/user/dtos/createUser.dto.d.ts +0 -2
- package/dist/src/domain/model/user/dtos/createUser.dto.js +0 -8
- package/dist/src/domain/model/user/dtos/createUser.dto.js.map +1 -1
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js.map +1 -1
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.js.map +1 -1
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.js.map +1 -1
- package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.js.map +1 -1
- package/dist/src/domain/services/AddressService.js +1 -1
- package/dist/src/domain/services/AddressService.js.map +1 -1
- package/dist/src/domain/services/TransactionSignService.d.ts +1 -1
- package/dist/src/domain/services/TransactionSignService.js +1 -1
- package/dist/src/domain/services/TransactionSignService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/domain/constants/org.d.ts +0 -5
- package/dist/src/domain/constants/org.js +0 -20
- package/dist/src/domain/constants/org.js.map +0 -1
- package/dist/src/domain/constants/supportedPlatform.d.ts +0 -5
- package/dist/src/domain/constants/supportedPlatform.js +0 -20
- package/dist/src/domain/constants/supportedPlatform.js.map +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.d.ts +0 -3
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js +0 -22
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js.map +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.js +0 -18
- package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.js.map +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.d.ts +0 -4
- package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js +0 -8
- package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js.map +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/entities/index.d.ts +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/entities/index.js +0 -18
- package/dist/src/domain/model/accessCodeAuthProperties/entities/index.js.map +0 -1
- package/dist/src/domain/model/accessCodeAuthProperties/index.d.ts +0 -2
- package/dist/src/domain/model/accessCodeAuthProperties/index.js +0 -19
- package/dist/src/domain/model/accessCodeAuthProperties/index.js.map +0 -1
- package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +0 -7
- package/dist/src/domain/model/attachment/entities/BaseAttachment.js +0 -8
- package/dist/src/domain/model/attachment/entities/BaseAttachment.js.map +0 -1
- package/dist/src/domain/model/auth/dtos/PlatformSignOn.dto.d.ts +0 -4
- package/dist/src/domain/model/auth/dtos/PlatformSignOn.dto.js +0 -23
- package/dist/src/domain/model/auth/dtos/PlatformSignOn.dto.js.map +0 -1
- package/dist/src/domain/model/auth/dtos/orgSignOn.dto.d.ts +0 -3
- package/dist/src/domain/model/auth/dtos/orgSignOn.dto.js +0 -22
- package/dist/src/domain/model/auth/dtos/orgSignOn.dto.js.map +0 -1
- package/dist/src/domain/model/auth/dtos/platformSignOn.dto.d.ts +0 -4
- package/dist/src/domain/model/auth/dtos/platformSignOn.dto.js +0 -23
- package/dist/src/domain/model/auth/dtos/platformSignOn.dto.js.map +0 -1
- package/dist/src/domain/model/auth/entities/CheckoutAuthToken.d.ts +0 -6
- package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js +0 -7
- package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js.map +0 -1
- package/dist/src/domain/model/blockchain/entities/Blockchain.d.ts +0 -6
- package/dist/src/domain/model/blockchain/entities/Blockchain.js +0 -8
- package/dist/src/domain/model/blockchain/entities/Blockchain.js.map +0 -1
- package/dist/src/domain/model/company/entities/BaseCompany.d.ts +0 -13
- package/dist/src/domain/model/company/entities/BaseCompany.js +0 -8
- package/dist/src/domain/model/company/entities/BaseCompany.js.map +0 -1
- package/dist/src/domain/model/company/entities/Company.d.ts +0 -7
- package/dist/src/domain/model/company/entities/Company.js +0 -8
- package/dist/src/domain/model/company/entities/Company.js.map +0 -1
- package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +0 -14
- package/dist/src/domain/model/currency/entities/BaseCurrency.js +0 -8
- package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +0 -1
- package/dist/src/domain/model/currency/entities/Currency.d.ts +0 -5
- package/dist/src/domain/model/currency/entities/Currency.js +0 -8
- package/dist/src/domain/model/currency/entities/Currency.js.map +0 -1
- package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +0 -9
- package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js +0 -8
- package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js.map +0 -1
- package/dist/src/domain/model/funding/entities/Funding.d.ts +0 -6
- package/dist/src/domain/model/funding/entities/Funding.js +0 -22
- package/dist/src/domain/model/funding/entities/Funding.js.map +0 -1
- package/dist/src/domain/model/link-features/entities/LinkFeatures.d.ts +0 -8
- package/dist/src/domain/model/link-features/entities/LinkFeatures.js +0 -8
- package/dist/src/domain/model/link-features/entities/LinkFeatures.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.d.ts +0 -8
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyFindAddress.js.map +0 -1
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.d.ts +0 -13
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js +0 -8
- package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js.map +0 -1
- package/dist/src/domain/model/nft-drop/constants/NftDropState.d.ts +0 -9
- package/dist/src/domain/model/nft-drop/constants/NftDropState.js +0 -14
- package/dist/src/domain/model/nft-drop/constants/NftDropState.js.map +0 -1
- package/dist/src/domain/model/nft-drop/dtos/NftDrop.dto.d.ts +0 -3
- package/dist/src/domain/model/nft-drop/dtos/NftDrop.dto.js +0 -24
- package/dist/src/domain/model/nft-drop/dtos/NftDrop.dto.js.map +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCancel.dto.d.ts +0 -5
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCancel.dto.js +0 -32
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCancel.dto.js.map +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCreate.dto.d.ts +0 -7
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCreate.dto.js +0 -43
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowCreate.dto.js.map +0 -1
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowSubmit.dto.d.ts +0 -6
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowSubmit.dto.js +0 -37
- package/dist/src/domain/model/nft-escrow/dtos/NftEscrowSubmit.dto.js.map +0 -1
- package/dist/src/domain/model/paylink/dtos/uploadAllowlistCSV.dto.d.ts +0 -5
- package/dist/src/domain/model/paylink/dtos/uploadAllowlistCSV.dto.js +0 -22
- package/dist/src/domain/model/paylink/dtos/uploadAllowlistCSV.dto.js.map +0 -1
- package/dist/src/domain/model/paylink/dtos/uploadWhitelistCSV.dto.d.ts +0 -5
- package/dist/src/domain/model/paylink/dtos/uploadWhitelistCSV.dto.js +0 -22
- package/dist/src/domain/model/paylink/dtos/uploadWhitelistCSV.dto.js.map +0 -1
- package/dist/src/domain/model/paylink/entities/AllowlistWallet.d.ts +0 -4
- package/dist/src/domain/model/paylink/entities/AllowlistWallet.js +0 -7
- package/dist/src/domain/model/paylink/entities/AllowlistWallet.js.map +0 -1
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +0 -13
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js +0 -11
- package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js.map +0 -1
- package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +0 -9
- package/dist/src/domain/model/paystream/entities/IntervalType.js +0 -14
- package/dist/src/domain/model/paystream/entities/IntervalType.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -11
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -57
- package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -6
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -36
- package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.d.ts +0 -16
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js +0 -7
- package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js.map +0 -1
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -20
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +0 -37
- package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
- package/dist/src/domain/model/platform/entities/Platform.d.ts +0 -3
- package/dist/src/domain/model/platform/entities/Platform.js +0 -7
- package/dist/src/domain/model/platform/entities/Platform.js.map +0 -1
- package/dist/src/domain/model/platform/entities/index.d.ts +0 -0
- package/dist/src/domain/model/platform/entities/index.js +0 -1
- package/dist/src/domain/model/platform/entities/index.js.map +0 -1
- package/dist/src/domain/model/platform/index.d.ts +0 -0
- package/dist/src/domain/model/platform/index.js +0 -1
- package/dist/src/domain/model/platform/index.js.map +0 -1
- package/dist/src/domain/model/platform-details/dtos/PlatformDetails.dto.d.ts +0 -8
- package/dist/src/domain/model/platform-details/dtos/PlatformDetails.dto.js +0 -43
- package/dist/src/domain/model/platform-details/dtos/PlatformDetails.dto.js.map +0 -1
- package/dist/src/domain/model/platform-details/dtos/index.d.ts +0 -1
- package/dist/src/domain/model/platform-details/dtos/index.js +0 -18
- package/dist/src/domain/model/platform-details/dtos/index.js.map +0 -1
- package/dist/src/domain/model/platform-details/dtos/platformDetails.dto.d.ts +0 -8
- package/dist/src/domain/model/platform-details/dtos/platformDetails.dto.js +0 -43
- package/dist/src/domain/model/platform-details/dtos/platformDetails.dto.js.map +0 -1
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.d.ts +0 -5
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js +0 -8
- package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js.map +0 -1
- package/dist/src/domain/model/prepare-refund/entities/index.d.ts +0 -0
- package/dist/src/domain/model/prepare-refund/entities/index.js +0 -1
- package/dist/src/domain/model/prepare-refund/entities/index.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.d.ts +0 -4
- package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js +0 -8
- package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js.map +0 -1
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +0 -8
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +0 -8
- package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js +0 -7
- package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js.map +0 -1
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.d.ts +0 -5
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js +0 -8
- package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js.map +0 -1
- package/dist/src/domain/model/refund/dtos/refund.dto.d.ts +0 -7
- package/dist/src/domain/model/refund/dtos/refund.dto.js +0 -39
- package/dist/src/domain/model/refund/dtos/refund.dto.js.map +0 -1
- package/dist/src/domain/model/report/entities/ReportItem.d.ts +0 -37
- package/dist/src/domain/model/report/entities/ReportItem.js +0 -7
- package/dist/src/domain/model/report/entities/ReportItem.js.map +0 -1
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.d.ts +0 -4
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js +0 -8
- package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js.map +0 -1
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.d.ts +0 -4
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js +0 -8
- package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js.map +0 -1
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +0 -16
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js +0 -26
- package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js.map +0 -1
- package/dist/src/domain/model/user/dtos/updateUserKyc.dto.d.ts +0 -3
- package/dist/src/domain/model/user/dtos/updateUserKyc.dto.js +0 -22
- package/dist/src/domain/model/user/dtos/updateUserKyc.dto.js.map +0 -1
- package/dist/src/domain/model/user/entities/BaseUser.d.ts +0 -9
- package/dist/src/domain/model/user/entities/BaseUser.js +0 -8
- package/dist/src/domain/model/user/entities/BaseUser.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +0 -5
- package/dist/src/domain/model/wallet/entities/BaseWallet.js +0 -8
- package/dist/src/domain/model/wallet/entities/BaseWallet.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/Wallet.d.ts +0 -7
- package/dist/src/domain/model/wallet/entities/Wallet.js +0 -8
- package/dist/src/domain/model/wallet/entities/Wallet.js.map +0 -1
- package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +0 -4
- package/dist/src/domain/model/wallet/entities/WalletDetails.js +0 -8
- package/dist/src/domain/model/wallet/entities/WalletDetails.js.map +0 -1
|
@@ -4,14 +4,14 @@ exports.toPlatform = exports.Platform = void 0;
|
|
|
4
4
|
var Platform;
|
|
5
5
|
(function (Platform) {
|
|
6
6
|
Platform["HELIO"] = "HELIO";
|
|
7
|
-
Platform["
|
|
7
|
+
Platform["MAGIC_EDEN"] = "MAGIC_EDEN";
|
|
8
8
|
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
9
9
|
const toPlatform = (platform) => {
|
|
10
10
|
switch (platform) {
|
|
11
11
|
case Platform.HELIO:
|
|
12
12
|
return Platform.HELIO;
|
|
13
|
-
case Platform.
|
|
14
|
-
return Platform.
|
|
13
|
+
case Platform.MAGIC_EDEN:
|
|
14
|
+
return Platform.MAGIC_EDEN;
|
|
15
15
|
default:
|
|
16
16
|
throw new Error('Platform not supported');
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../../../src/domain/constants/platform.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../../../src/domain/constants/platform.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,2BAAe,CAAA;IACf,qCAAyB,CAAA;AAC3B,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB;AAEM,MAAM,UAAU,GAAG,CAAC,QAAgB,EAAY,EAAE;IACvD,QAAQ,QAAQ,EAAE;QAChB,KAAK,QAAQ,CAAC,KAAK;YACjB,OAAO,QAAQ,CAAC,KAAK,CAAC;QACxB,KAAK,QAAQ,CAAC,UAAU;YACtB,OAAO,QAAQ,CAAC,UAAU,CAAC;QAC7B;YACE,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;KAC7C;AACH,CAAC,CAAC;AATW,QAAA,UAAU,cASrB"}
|
|
@@ -21,5 +21,4 @@ __exportStar(require("./DiscordAuth.dto"), exports);
|
|
|
21
21
|
__exportStar(require("./AccessCodeAuth.dto"), exports);
|
|
22
22
|
__exportStar(require("./StoreTwitterToken.dto"), exports);
|
|
23
23
|
__exportStar(require("./EVMMessage.dto"), exports);
|
|
24
|
-
__exportStar(require("./PlatformSignOn.dto"), exports);
|
|
25
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,+CAA6B;AAC7B,0DAAwC;AACxC,oDAAkC;AAClC,uDAAqC;AACrC,0DAAwC;AACxC,mDAAiC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RoleType } from '../../role';
|
|
2
2
|
import { Wallet } from '../../wallet';
|
|
3
3
|
import { BetaFeature } from '../../feature-flags';
|
|
4
|
+
import { Platform } from '../../../constants';
|
|
4
5
|
export interface JwtUserRole {
|
|
5
6
|
id: string;
|
|
6
7
|
company: string;
|
|
@@ -15,4 +16,5 @@ export interface AuthUser {
|
|
|
15
16
|
isHelioXUser?: boolean;
|
|
16
17
|
enabledBetaFeatures?: BetaFeature[];
|
|
17
18
|
isCreated?: boolean;
|
|
19
|
+
platform: Platform;
|
|
18
20
|
}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.HelioPlayPropertiesDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const media_1 = require("../../media");
|
|
15
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const media_1 = require("../../media");
|
|
16
16
|
class HelioPlayPropertiesDto {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelioPlayProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/dtos/HelioPlayProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,
|
|
1
|
+
{"version":3,"file":"HelioPlayProperties.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-play/dtos/HelioPlayProperties.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,uCAAiD;AAEjD,MAAa,sBAAsB;CAYlC;AAXC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACU;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACkB;AAE7B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;8BACV,0BAAkB;qDAAC;AAX5B,wDAYC"}
|
|
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.BaseInvoiceTx = void 0;
|
|
13
|
-
const entity_1 = require("../../entity");
|
|
14
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
15
|
class BaseInvoiceTx extends entity_1.Entity {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/BaseInvoiceTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"BaseInvoiceTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/invoice-tx/entities/BaseInvoiceTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,aAAc,SAAQ,eAAM;CASxC;AANC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC3B;AAJf,sCASC"}
|
|
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.BasePaystreamTx = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const entity_1 = require("../../entity");
|
|
14
15
|
const stream_event_1 = require("../../stream-event");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
16
|
class BasePaystreamTx extends entity_1.Entity {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/BasePaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAsC;AACtC,qDAAiD;
|
|
1
|
+
{"version":3,"file":"BasePaystreamTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paystream-tx/entities/BasePaystreamTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAoD;AACpD,yCAAsC;AACtC,qDAAiD;AAGjD,MAAa,eAAgB,SAAQ,eAAM;CAuB1C;AAlBC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACb,0BAAW;kDAAC;AAIvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;8BACZ,0BAAW;mDAAQ;AAE/B;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;gDACxB;AAdlB,0CAuBC"}
|
|
@@ -14,6 +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("./dtos"), exports);
|
|
18
17
|
__exportStar(require("./entities"), exports);
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/platform-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/platform-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PrepareSwapTransactionDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const
|
|
15
|
-
class PrepareSwapTransactionDto extends
|
|
14
|
+
const prepareTransaction_dto_1 = require("./prepareTransaction.dto");
|
|
15
|
+
class PrepareSwapTransactionDto extends prepareTransaction_dto_1.PrepareTransactionDto {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,
|
|
1
|
+
{"version":3,"file":"prepareSwapTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareSwapTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qEAAiE;AAEjE,MAAa,yBAA0B,SAAQ,8CAAqB;CAInE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACU;AAHzB,8DAIC"}
|
|
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.SplitAccount = void 0;
|
|
13
|
-
const entity_1 = require("../../entity");
|
|
14
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const entity_1 = require("../../entity");
|
|
15
15
|
class SplitAccount extends entity_1.Entity {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SplitAccount.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/entities/SplitAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"SplitAccount.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-account/entities/SplitAccount.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAEtC,MAAa,YAAa,SAAQ,eAAM;CAKvC;AAJC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4CACzB;AAFjB,oCAKC"}
|
|
@@ -11,8 +11,6 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateUserDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const platform_details_1 = require("../../platform-details");
|
|
16
14
|
class CreateUserDto {
|
|
17
15
|
}
|
|
18
16
|
__decorate([
|
|
@@ -40,11 +38,5 @@ __decorate([
|
|
|
40
38
|
(0, class_validator_1.IsOptional)(),
|
|
41
39
|
__metadata("design:type", Boolean)
|
|
42
40
|
], CreateUserDto.prototype, "isDisabled", void 0);
|
|
43
|
-
__decorate([
|
|
44
|
-
(0, class_transformer_1.Type)(() => platform_details_1.PlatformDetails),
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
(0, class_validator_1.ValidateNested)(),
|
|
47
|
-
__metadata("design:type", platform_details_1.PlatformDetails)
|
|
48
|
-
], CreateUserDto.prototype, "platformDetails", void 0);
|
|
49
41
|
exports.CreateUserDto = CreateUserDto;
|
|
50
42
|
//# sourceMappingURL=createUser.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/createUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"createUser.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/user/dtos/createUser.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAE3E,MAAa,aAAa;CAoBzB;AAnBC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;4CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACQ;AAnBvB,sCAoBC"}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,qBAAsB,SAAQ,uCAAkB;IAA7D;;QACE,UAAK,GAAG,sDAAsB,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"EndStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/EndStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,qBAAsB,SAAQ,uCAAkB;IAA7D;;QACE,UAAK,GAAG,sDAAsB,CAAC,KAAK,CAAC;IAGvC,CAAC;CAAA;AAJD,sDAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,uBAAwB,SAAQ,uCAAkB;IAA/D;;QACE,UAAK,GAAG,sDAAsB,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StartStreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StartStreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AAEzE,6DAA0D;AAE1D,MAAa,uBAAwB,SAAQ,uCAAkB;IAA/D;;QACE,UAAK,GAAG,sDAAsB,CAAC,OAAO,CAAC;IAGzC,CAAC;CAAA;AAJD,0DAIC"}
|
package/dist/src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAIzC,MAAa,kBAAmB,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"StreamEventPayload.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamEventPayload.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAIzC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreamTransactionHook.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAGzC,MAAa,2BAA4B,SAAQ,eAAM;
|
|
1
|
+
{"version":3,"file":"StreamTransactionHook.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/stream-transaction-hook/entities/StreamTransactionHook.entity.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAGzC,MAAa,2BAA4B,SAAQ,eAAM;CActD;AAdD,kEAcC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AddressService = void 0;
|
|
4
4
|
class AddressService {
|
|
5
5
|
static shortenAddress(address, startShownLength = 6) {
|
|
6
|
-
if (address
|
|
6
|
+
if (address === 'null') {
|
|
7
7
|
return 'N/A';
|
|
8
8
|
}
|
|
9
9
|
return `${address.slice(0, startShownLength)}..${address.slice(-3)}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressService.js","sourceRoot":"","sources":["../../../../src/domain/services/AddressService.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;IACzB,MAAM,CAAC,cAAc,CAAC,OAAe,EAAE,gBAAgB,GAAG,CAAC;QACzD,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"AddressService.js","sourceRoot":"","sources":["../../../../src/domain/services/AddressService.ts"],"names":[],"mappings":";;;AAAA,MAAa,cAAc;IACzB,MAAM,CAAC,cAAc,CAAC,OAAe,EAAE,gBAAgB,GAAG,CAAC;QACzD,IAAI,OAAO,KAAK,MAAM,EAAE;YACtB,OAAO,KAAK,CAAC;SACd;QACD,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACvE,CAAC;CACF;AAPD,wCAOC"}
|
|
@@ -4,5 +4,5 @@ export declare class TransactionSignService {
|
|
|
4
4
|
private readonly keypair;
|
|
5
5
|
constructor(privateKey: string);
|
|
6
6
|
getPublicKey(): PublicKey;
|
|
7
|
-
signTransaction(transactionMessage:
|
|
7
|
+
signTransaction(transactionMessage: string): Promise<Transaction>;
|
|
8
8
|
}
|
|
@@ -18,7 +18,7 @@ class TransactionSignService {
|
|
|
18
18
|
async signTransaction(transactionMessage) {
|
|
19
19
|
const wallet = new anchor_1.Wallet(this.keypair);
|
|
20
20
|
const transaction = web3_js_1.Transaction.populate(web3_js_1.Message.from(Buffer.from(JSON.parse(transactionMessage).data)));
|
|
21
|
-
return
|
|
21
|
+
return wallet.signTransaction(transaction);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.TransactionSignService = TransactionSignService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionSignService.js","sourceRoot":"","sources":["../../../../src/domain/services/TransactionSignService.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA+C;AAC/C,6CAA2E;AAC3E,gDAAwB;AAExB,MAAa,sBAAsB;
|
|
1
|
+
{"version":3,"file":"TransactionSignService.js","sourceRoot":"","sources":["../../../../src/domain/services/TransactionSignService.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA+C;AAC/C,6CAA2E;AAC3E,gDAAwB;AAExB,MAAa,sBAAsB;IAKjC,YAAY,UAAkB;QAC5B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,iBAAO,CAAC,aAAa,CAAC,cAAI,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACrE,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,kBAA0B;QAC9C,MAAM,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAExC,MAAM,WAAW,GAAG,qBAAW,CAAC,QAAQ,CACtC,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,CAAC,CAC/D,CAAC;QAEF,OAAO,MAAM,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IAC7C,CAAC;CACF;AAvBD,wDAuBC"}
|