@locuschain/lib 0.1.9 → 0.1.10
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/chunks/{rpc-De6lGo23.cjs → rpc-CGaI4dy-.cjs} +1 -1
- package/dist/chunks/{rpc-s81N379s.js → rpc-DfVmqV8B.js} +1 -1
- package/dist/chunks/{rpc-5J5Xlokl.js → rpc-yDRMApre.js} +1 -1
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/support/index.amd.js +1 -1
- package/dist/support/index.cjs.cjs +1 -1
- package/dist/support/index.esm.js +1 -1
- package/dist/utils/index.amd.js +1 -1
- package/dist/utils/index.cjs.cjs +1 -1
- package/dist/utils/index.esm.js +2 -2
- package/dist/web3/index.amd.js +1 -1
- package/dist/web3/index.cjs.cjs +1 -1
- package/dist/web3/index.esm.js +1 -1
- package/package.json +1 -1
|
@@ -626,7 +626,7 @@ var wasm = toUint8Array(wasmJson.Base64);
|
|
|
626
626
|
catch (e) { }
|
|
627
627
|
return false;
|
|
628
628
|
}))();
|
|
629
|
-
const go = new Go();
|
|
629
|
+
const go = new globalThis.Go();
|
|
630
630
|
const LCLIB_SEQ_KEY = '__LCLIB_WASM_SEQ__';
|
|
631
631
|
if (globalThis[LCLIB_SEQ_KEY] === undefined) {
|
|
632
632
|
globalThis[LCLIB_SEQ_KEY] = 0;
|
|
@@ -624,7 +624,7 @@ var wasm = toUint8Array(wasmJson.Base64);
|
|
|
624
624
|
catch (e) { }
|
|
625
625
|
return false;
|
|
626
626
|
}))();
|
|
627
|
-
const go = new Go();
|
|
627
|
+
const go = new globalThis.Go();
|
|
628
628
|
const LCLIB_SEQ_KEY = '__LCLIB_WASM_SEQ__';
|
|
629
629
|
if (globalThis[LCLIB_SEQ_KEY] === undefined) {
|
|
630
630
|
globalThis[LCLIB_SEQ_KEY] = 0;
|
|
@@ -626,7 +626,7 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
626
626
|
catch (e) { }
|
|
627
627
|
return false;
|
|
628
628
|
}))();
|
|
629
|
-
const go = new Go();
|
|
629
|
+
const go = new globalThis.Go();
|
|
630
630
|
const LCLIB_SEQ_KEY = '__LCLIB_WASM_SEQ__';
|
|
631
631
|
if (globalThis[LCLIB_SEQ_KEY] === undefined) {
|
|
632
632
|
globalThis[LCLIB_SEQ_KEY] = 0;
|
package/dist/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './constant/index.amd', './utils/index.amd', './web3/index.amd', './chunks/rpc-
|
|
1
|
+
define(['exports', './constant/index.amd', './utils/index.amd', './web3/index.amd', './chunks/rpc-yDRMApre', './chunks/address-class-Dp7aNQb2', './chunks/tx-type-BeeK7Ci3', 'lodash'], (function (exports, constant, utils, web3, rpc, addressClass, txType, _) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
package/dist/index.cjs.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var constant = require('./constant/index.cjs.cjs');
|
|
4
4
|
var utils = require('./utils/index.cjs.cjs');
|
|
5
5
|
var web3 = require('./web3/index.cjs.cjs');
|
|
6
|
-
var rpc = require('./chunks/rpc-
|
|
6
|
+
var rpc = require('./chunks/rpc-CGaI4dy-.cjs');
|
|
7
7
|
require('./chunks/address-class-Cjy48Uqk.cjs');
|
|
8
8
|
require('./chunks/tx-type-jR5Owltc.cjs');
|
|
9
9
|
require('lodash');
|
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TxType, TxTypes } from './constant/index.esm.js';
|
|
2
2
|
export { checkAddressType, isAccount, isContract, isSystemToken, isToken, loadLocusWasm, loadLocusWasmSync, txValidator, verifyTxParams } from './utils/index.esm.js';
|
|
3
3
|
export { Account, AccountProvider, HttpRpcProvider, RpcProvider, Web3 } from './web3/index.esm.js';
|
|
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 disCompileCoreScript, y as encodeTxCurrency, z as encodeTxNumber, A as generateMnemonic, B as generateMnemonicBySeed, C as getDefFromCoreScript, D as getHomeShard, E as getLibraryVersions, F as gzipAndEncode, G as hash, H as isGrantConsumingTx, I as loadMasterKeystore, J as loadNormalKeystore, K as makeCurrency, L as sign, M as signByMasterKey, N as testCoreScript, O as verify, P as verifyByMasterKey, Q as verifyMerkleProof, S as verifyTx } from './chunks/rpc-
|
|
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 disCompileCoreScript, y as encodeTxCurrency, z as encodeTxNumber, A as generateMnemonic, B as generateMnemonicBySeed, C as getDefFromCoreScript, D as getHomeShard, E as getLibraryVersions, F as gzipAndEncode, G as hash, H as isGrantConsumingTx, I as loadMasterKeystore, J as loadNormalKeystore, K as makeCurrency, L as sign, M as signByMasterKey, N as testCoreScript, O as verify, P as verifyByMasterKey, Q as verifyMerkleProof, S as verifyTx } from './chunks/rpc-DfVmqV8B.js';
|
|
5
5
|
import './chunks/address-class-CHAZYhdZ.js';
|
|
6
6
|
import './chunks/tx-type-nyLU5xv5.js';
|
|
7
7
|
import 'lodash';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../utils/index.amd', '../chunks/rpc-
|
|
1
|
+
define(['exports', '../utils/index.amd', '../chunks/rpc-yDRMApre', 'lodash', '../chunks/address-class-Dp7aNQb2'], (function (exports, utils$2, rpc, _, addressClass) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopNamespaceDefault(e) {
|
|
4
4
|
var n = Object.create(null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../utils/index.esm.js';
|
|
2
|
-
import { k as convertDataToHex, m as convertHexToAddress, d as convertAddressToHex, o as convertHexToData, _ as __awaiter } from '../chunks/rpc-
|
|
2
|
+
import { k as convertDataToHex, m as convertHexToAddress, d as convertAddressToHex, o as convertHexToData, _ as __awaiter } from '../chunks/rpc-DfVmqV8B.js';
|
|
3
3
|
import * as _ from 'lodash';
|
|
4
4
|
import '../chunks/address-class-CHAZYhdZ.js';
|
|
5
5
|
|
package/dist/utils/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/address-class-Dp7aNQb2', '../chunks/rpc-
|
|
1
|
+
define(['exports', '../chunks/address-class-Dp7aNQb2', '../chunks/rpc-yDRMApre', 'lodash'], (function (exports, addressClass, rpc, _) { 'use strict';
|
|
2
2
|
|
|
3
3
|
class TxValidator {
|
|
4
4
|
constructor() {
|
package/dist/utils/index.cjs.cjs
CHANGED
package/dist/utils/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as AddressClass } from '../chunks/address-class-CHAZYhdZ.js';
|
|
2
|
-
import { S as verifyTx, a as compileCoreScript, U as load, V as loadSync, d as convertAddressToHex } from '../chunks/rpc-
|
|
3
|
-
export { R as Rpc, T as TX_CREATION_RPC_LIST, c as calculateTxLinkHash, b as convertAddressToData, 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 disCompileCoreScript, y as encodeTxCurrency, z as encodeTxNumber, A as generateMnemonic, B as generateMnemonicBySeed, C as getDefFromCoreScript, D as getHomeShard, E as getLibraryVersions, F as gzipAndEncode, G as hash, H as isGrantConsumingTx, I as loadMasterKeystore, J as loadNormalKeystore, K as makeCurrency, L as sign, M as signByMasterKey, N as testCoreScript, O as verify, P as verifyByMasterKey, Q as verifyMerkleProof } from '../chunks/rpc-
|
|
2
|
+
import { S as verifyTx, a as compileCoreScript, U as load, V as loadSync, d as convertAddressToHex } from '../chunks/rpc-DfVmqV8B.js';
|
|
3
|
+
export { R as Rpc, T as TX_CREATION_RPC_LIST, c as calculateTxLinkHash, b as convertAddressToData, 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 disCompileCoreScript, y as encodeTxCurrency, z as encodeTxNumber, A as generateMnemonic, B as generateMnemonicBySeed, C as getDefFromCoreScript, D as getHomeShard, E as getLibraryVersions, F as gzipAndEncode, G as hash, H as isGrantConsumingTx, I as loadMasterKeystore, J as loadNormalKeystore, K as makeCurrency, L as sign, M as signByMasterKey, N as testCoreScript, O as verify, P as verifyByMasterKey, Q as verifyMerkleProof } from '../chunks/rpc-DfVmqV8B.js';
|
|
4
4
|
import ___default from 'lodash';
|
|
5
5
|
|
|
6
6
|
class TxValidator {
|
package/dist/web3/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/rpc-
|
|
1
|
+
define(['exports', '../chunks/rpc-yDRMApre', '../chunks/tx-type-BeeK7Ci3'], (function (exports, rpc, txType) { 'use strict';
|
|
2
2
|
|
|
3
3
|
class Account {
|
|
4
4
|
constructor({ address, nsk }) {
|
package/dist/web3/index.cjs.cjs
CHANGED
package/dist/web3/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as sign, _ as __awaiter, R as Rpc, T as TX_CREATION_RPC_LIST } from '../chunks/rpc-
|
|
1
|
+
import { L as sign, _ as __awaiter, R as Rpc, T as TX_CREATION_RPC_LIST } from '../chunks/rpc-DfVmqV8B.js';
|
|
2
2
|
import { T as TxType } from '../chunks/tx-type-nyLU5xv5.js';
|
|
3
3
|
|
|
4
4
|
class Account {
|