@heliofi/common 0.2.276-alpha.1782835071 → 0.2.276
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/dist/withdraw.d.ts +7 -0
- package/dist/withdraw.js +18 -0
- package/dist/withdraw.js.map +1 -0
- package/package.json +18 -3
- package/withdraw.ts +9 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { BlockchainSymbol } from './src/domain/model/blockchain/constants/BlockchainSymbol';
|
|
2
|
+
export { BlockchainEngineType } from './src/domain/model/blockchainEngine/constants/BlockchainEngineType';
|
|
3
|
+
export { Platform } from './src/domain/constants/platform';
|
|
4
|
+
export { WithdrawalFeature } from './src/domain/model/withdraw/constants/WithdrawalFeature';
|
|
5
|
+
export { WithdrawalState } from './src/domain/model/withdraw/constants/WithdrawalState';
|
|
6
|
+
export { BroadcastAck } from './src/domain/model/withdraw/constants/BroadcastAck';
|
|
7
|
+
export { SignedTransactionKind } from './src/domain/model/broadcast/constants/SignedTransactionKind';
|
package/dist/withdraw.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignedTransactionKind = exports.BroadcastAck = exports.WithdrawalState = exports.WithdrawalFeature = exports.Platform = exports.BlockchainEngineType = exports.BlockchainSymbol = void 0;
|
|
4
|
+
var BlockchainSymbol_1 = require("./src/domain/model/blockchain/constants/BlockchainSymbol");
|
|
5
|
+
Object.defineProperty(exports, "BlockchainSymbol", { enumerable: true, get: function () { return BlockchainSymbol_1.BlockchainSymbol; } });
|
|
6
|
+
var BlockchainEngineType_1 = require("./src/domain/model/blockchainEngine/constants/BlockchainEngineType");
|
|
7
|
+
Object.defineProperty(exports, "BlockchainEngineType", { enumerable: true, get: function () { return BlockchainEngineType_1.BlockchainEngineType; } });
|
|
8
|
+
var platform_1 = require("./src/domain/constants/platform");
|
|
9
|
+
Object.defineProperty(exports, "Platform", { enumerable: true, get: function () { return platform_1.Platform; } });
|
|
10
|
+
var WithdrawalFeature_1 = require("./src/domain/model/withdraw/constants/WithdrawalFeature");
|
|
11
|
+
Object.defineProperty(exports, "WithdrawalFeature", { enumerable: true, get: function () { return WithdrawalFeature_1.WithdrawalFeature; } });
|
|
12
|
+
var WithdrawalState_1 = require("./src/domain/model/withdraw/constants/WithdrawalState");
|
|
13
|
+
Object.defineProperty(exports, "WithdrawalState", { enumerable: true, get: function () { return WithdrawalState_1.WithdrawalState; } });
|
|
14
|
+
var BroadcastAck_1 = require("./src/domain/model/withdraw/constants/BroadcastAck");
|
|
15
|
+
Object.defineProperty(exports, "BroadcastAck", { enumerable: true, get: function () { return BroadcastAck_1.BroadcastAck; } });
|
|
16
|
+
var SignedTransactionKind_1 = require("./src/domain/model/broadcast/constants/SignedTransactionKind");
|
|
17
|
+
Object.defineProperty(exports, "SignedTransactionKind", { enumerable: true, get: function () { return SignedTransactionKind_1.SignedTransactionKind; } });
|
|
18
|
+
//# sourceMappingURL=withdraw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withdraw.js","sourceRoot":"","sources":["../withdraw.ts"],"names":[],"mappings":";;;AAEA,6FAA4F;AAAnF,oHAAA,gBAAgB,OAAA;AACzB,2GAA0G;AAAjG,4HAAA,oBAAoB,OAAA;AAC7B,4DAA2D;AAAlD,oGAAA,QAAQ,OAAA;AACjB,6FAA4F;AAAnF,sHAAA,iBAAiB,OAAA;AAC1B,yFAAwF;AAA/E,kHAAA,eAAe,OAAA;AACxB,mFAAkF;AAAzE,4GAAA,YAAY,OAAA;AACrB,sGAAqG;AAA5F,8HAAA,qBAAqB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heliofi/common",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.276
|
|
4
|
+
"version": "0.2.276",
|
|
5
5
|
"description": "Common package",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./withdraw": {
|
|
14
|
+
"types": "./dist/withdraw.d.ts",
|
|
15
|
+
"default": "./dist/withdraw.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
8
18
|
"scripts": {
|
|
9
19
|
"test": "jest",
|
|
10
20
|
"test:watch": "jest --watch",
|
|
@@ -22,10 +32,15 @@
|
|
|
22
32
|
"class-transformer": "^0.5.1",
|
|
23
33
|
"class-validator": "^0.14.0",
|
|
24
34
|
"js-sha3": "^0.9.3",
|
|
25
|
-
"
|
|
35
|
+
"moment": "^2.29.4",
|
|
36
|
+
"tronweb": "6.1.1",
|
|
37
|
+
"ts-jest": "29.4.9"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"ts-loader": "^9.3.1"
|
|
26
41
|
},
|
|
27
42
|
"peerDependencies": {
|
|
28
43
|
"typescript": "5.*"
|
|
29
44
|
},
|
|
30
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "62f68b825d85a663a5a022bd810dc53648286b68"
|
|
31
46
|
}
|
package/withdraw.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Decorator-free enum exports for the withdraw widgets, so consumers don't pull
|
|
2
|
+
// reflect-metadata via the package barrel.
|
|
3
|
+
export { BlockchainSymbol } from './src/domain/model/blockchain/constants/BlockchainSymbol';
|
|
4
|
+
export { BlockchainEngineType } from './src/domain/model/blockchainEngine/constants/BlockchainEngineType';
|
|
5
|
+
export { Platform } from './src/domain/constants/platform';
|
|
6
|
+
export { WithdrawalFeature } from './src/domain/model/withdraw/constants/WithdrawalFeature';
|
|
7
|
+
export { WithdrawalState } from './src/domain/model/withdraw/constants/WithdrawalState';
|
|
8
|
+
export { BroadcastAck } from './src/domain/model/withdraw/constants/BroadcastAck';
|
|
9
|
+
export { SignedTransactionKind } from './src/domain/model/broadcast/constants/SignedTransactionKind';
|