@locuschain/lib 0.1.19 → 0.1.20
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/constant/index.amd.js +2 -0
- package/dist/constant/index.cjs.cjs +2 -0
- package/dist/constant/index.d.cts +1 -0
- package/dist/constant/index.d.mts +1 -0
- package/dist/constant/index.esm.js +2 -1
- package/dist/index.amd.js +1 -0
- package/dist/index.cjs.cjs +1 -0
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -439,12 +439,14 @@ define(['exports', '../chunks/address-class-Dp7aNQb2', '../chunks/tx-type-BeeK7C
|
|
|
439
439
|
AUTO: 0,
|
|
440
440
|
GRANT_ONLY: 1
|
|
441
441
|
});
|
|
442
|
+
const TimeOrigin = new Date(2019, 3, 1, 0, 0, 0, 0);
|
|
442
443
|
|
|
443
444
|
exports.AddressClass = AddressClass;
|
|
444
445
|
exports.Currency = Currency;
|
|
445
446
|
exports.FeeType = FeeType;
|
|
446
447
|
exports.GRANT_COST_PER_TX = GRANT_COST_PER_TX;
|
|
447
448
|
exports.MaxVMRewardsCount = MaxVMRewardsCount;
|
|
449
|
+
exports.TimeOrigin = TimeOrigin;
|
|
448
450
|
exports.TxType = TxType;
|
|
449
451
|
exports.TxTypes = TxTypes;
|
|
450
452
|
|
|
@@ -442,11 +442,13 @@ const FeeType = Object.freeze({
|
|
|
442
442
|
AUTO: 0,
|
|
443
443
|
GRANT_ONLY: 1
|
|
444
444
|
});
|
|
445
|
+
const TimeOrigin = new Date(2019, 3, 1, 0, 0, 0, 0);
|
|
445
446
|
|
|
446
447
|
exports.AddressClass = AddressClass;
|
|
447
448
|
exports.Currency = Currency;
|
|
448
449
|
exports.FeeType = FeeType;
|
|
449
450
|
exports.GRANT_COST_PER_TX = GRANT_COST_PER_TX;
|
|
450
451
|
exports.MaxVMRewardsCount = MaxVMRewardsCount;
|
|
452
|
+
exports.TimeOrigin = TimeOrigin;
|
|
451
453
|
exports.TxType = TxType;
|
|
452
454
|
exports.TxTypes = TxTypes;
|
|
@@ -501,5 +501,6 @@ export declare const FeeType: Readonly<{
|
|
|
501
501
|
readonly GRANT_ONLY: 1;
|
|
502
502
|
}>;
|
|
503
503
|
export type FeeType = (typeof FeeType)[keyof typeof FeeType];
|
|
504
|
+
export declare const TimeOrigin: Date;
|
|
504
505
|
export * from '../autogen/types/consts/consts.mjs';
|
|
505
506
|
export * from '../autogen/types/consts/tx-types.mjs';
|
|
@@ -501,5 +501,6 @@ export declare const FeeType: Readonly<{
|
|
|
501
501
|
readonly GRANT_ONLY: 1;
|
|
502
502
|
}>;
|
|
503
503
|
export type FeeType = (typeof FeeType)[keyof typeof FeeType];
|
|
504
|
+
export declare const TimeOrigin: Date;
|
|
504
505
|
export * from '../autogen/types/consts/consts.mjs';
|
|
505
506
|
export * from '../autogen/types/consts/tx-types.mjs';
|
|
@@ -440,5 +440,6 @@ const FeeType = Object.freeze({
|
|
|
440
440
|
AUTO: 0,
|
|
441
441
|
GRANT_ONLY: 1
|
|
442
442
|
});
|
|
443
|
+
const TimeOrigin = new Date(2019, 3, 1, 0, 0, 0, 0);
|
|
443
444
|
|
|
444
|
-
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TxType, TxTypes };
|
|
445
|
+
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TimeOrigin, TxType, TxTypes };
|
package/dist/index.amd.js
CHANGED
|
@@ -7,6 +7,7 @@ define(['exports', './constant/index.amd', './utils/index.amd', './web3/index.am
|
|
|
7
7
|
exports.FeeType = constant.FeeType;
|
|
8
8
|
exports.GRANT_COST_PER_TX = constant.GRANT_COST_PER_TX;
|
|
9
9
|
exports.MaxVMRewardsCount = constant.MaxVMRewardsCount;
|
|
10
|
+
exports.TimeOrigin = constant.TimeOrigin;
|
|
10
11
|
exports.TxType = constant.TxType;
|
|
11
12
|
exports.TxTypes = constant.TxTypes;
|
|
12
13
|
exports.checkAddressType = utils.checkAddressType;
|
package/dist/index.cjs.cjs
CHANGED
|
@@ -15,6 +15,7 @@ exports.Currency = constant.Currency;
|
|
|
15
15
|
exports.FeeType = constant.FeeType;
|
|
16
16
|
exports.GRANT_COST_PER_TX = constant.GRANT_COST_PER_TX;
|
|
17
17
|
exports.MaxVMRewardsCount = constant.MaxVMRewardsCount;
|
|
18
|
+
exports.TimeOrigin = constant.TimeOrigin;
|
|
18
19
|
exports.TxType = constant.TxType;
|
|
19
20
|
exports.TxTypes = constant.TxTypes;
|
|
20
21
|
exports.checkAddressType = utils.checkAddressType;
|
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TxType, TxTypes } from './constant/index.esm.js';
|
|
1
|
+
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TimeOrigin, TxType, TxTypes } from './constant/index.esm.js';
|
|
2
2
|
export { checkAddressType, isAccount, isContract, isSystemToken, isToken, loadLocusWasm, txValidator, verifyTxParams } from './utils/index.esm.js';
|
|
3
3
|
export { Account, AccountProvider, HttpRpcProvider, RpcProvider, Web3 } from './web3/index.esm.js';
|
|
4
4
|
export { R as Rpc, T as TX_CREATION_RPC_LIST, c as calculateTxLinkHash, a as compileCoreScript, b as convertAddressToData, d as convertAddressToHex, e as convertBase32ToData, f as convertBase32ToHex, g as convertCurrency, h as convertDataTo, i as convertDataToAddress, j as convertDataToBase32, k as convertDataToHex, l as convertDataToString, m as convertHexToAddress, n as convertHexToBase32, o as convertHexToData, p as convertStringToData, q as convertToData, r as createAccountAndKeystore, s as createMasterKeystore, t as createNormalKey, u as createNormalKeystore, v as decodeTxs, w as deriveKeysFromMnemonic, x as deriveKeysFromMnemonicAndPath, y as disCompileCoreScript, z as encodeTxCurrency, A as encodeTxNumber, B as generateMnemonic, C as generateMnemonicBySeed, D as getDefFromCoreScript, E as getHomeShard, F as getLibraryVersions, G as gzipAndEncode, H as hash, I as isGrantConsumingTx, J as loadMasterKeystore, K as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as testCoreScript, P as verify, Q as verifyByMasterKey, S as verifyMerkleProof, U as verifyTx } from './chunks/rpc-Vhkh1QN3.js';
|