@locuschain/lib 0.1.39 → 0.1.40
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/accounts/index.amd.js +1 -1
- package/dist/accounts/index.cjs.cjs +2 -2
- package/dist/accounts/index.esm.js +2 -2
- package/dist/autogen/index.amd.js +1 -1
- package/dist/autogen/index.cjs.cjs +2 -2
- package/dist/autogen/index.esm.js +2 -2
- package/dist/chunks/{keystore-BMgBWq6G.js → keystore-B86UzV8A.js} +1 -1
- package/dist/chunks/{keystore-CjcbAa1r.cjs → keystore-BUskzeOs.cjs} +1 -1
- package/dist/chunks/{keystore-D7_ZZNzS.js → keystore-y1JlFTKh.js} +1 -1
- package/dist/chunks/{lclib-DBHaYcY8.js → lclib-Bv86gksL.js} +12 -5
- package/dist/chunks/{lclib-BlnZKIGv.js → lclib-j2x9RvDY.js} +12 -5
- package/dist/chunks/{lclib-xRDGxtgw.cjs → lclib-rGyKpClJ.cjs} +27 -20
- package/dist/chunks/{wasm-D4S52Ifh.cjs → wasm-BYOKRR31.cjs} +1 -1
- package/dist/chunks/{wasm-C4WNl2YQ.js → wasm-CLXJDrJA.js} +1 -1
- package/dist/chunks/{wasm-BCEa0JCQ.js → wasm-CkFW222S.js} +1 -1
- package/dist/clients/index.amd.js +1 -1
- package/dist/clients/index.cjs.cjs +1 -1
- package/dist/clients/index.esm.js +1 -1
- package/dist/contracts/index.amd.js +1 -1
- package/dist/contracts/index.cjs.cjs +2 -2
- package/dist/contracts/index.esm.js +2 -2
- package/dist/index.amd.js +1 -1
- package/dist/index.cjs.cjs +3 -3
- package/dist/index.esm.js +3 -3
- package/dist/utils/index.amd.js +1 -1
- package/dist/utils/index.cjs.cjs +3 -3
- package/dist/utils/index.esm.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-CS4wIUJ8', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/tx-type-CS4wIUJ8', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/wasm-CkFW222S', '../chunks/lclib-Bv86gksL'], (function (exports, tslib_es6, txType, base, account, wasm, lclib) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 메인 서명을 master 키로 생성하는 TX 타입 집합 (signByMasterKey WASM 호출).
|
|
@@ -4,8 +4,8 @@ var tslib_es6 = require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
|
4
4
|
var txType = require('../chunks/tx-type-DI_nKG8B.cjs');
|
|
5
5
|
var base = require('../chunks/base-Cy5SSYLF.cjs');
|
|
6
6
|
var account = require('../chunks/account-BAsiKnSL.cjs');
|
|
7
|
-
var wasm = require('../chunks/wasm-
|
|
8
|
-
require('../chunks/lclib-
|
|
7
|
+
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
8
|
+
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* 메인 서명을 master 키로 생성하는 TX 타입 집합 (signByMasterKey WASM 호출).
|
|
@@ -2,8 +2,8 @@ import { _ as __awaiter } from '../chunks/tslib.es6-WQS2tr1v.js';
|
|
|
2
2
|
import { T as TxType } from '../chunks/tx-type-BPkhMGad.js';
|
|
3
3
|
import { B as BaseError } from '../chunks/base-BQXfRsuw.js';
|
|
4
4
|
import { a as SignKeyBindUnsupportedError, S as SignFailedError, D as DegenerateKeyError } from '../chunks/account-FZT9LH_s.js';
|
|
5
|
-
import { O as signKeyBind, N as signByMasterKey, M as sign, z as deriveKeysFromMnemonicAndPath, y as deriveKeysFromMnemonic } from '../chunks/wasm-
|
|
6
|
-
import '../chunks/lclib-
|
|
5
|
+
import { O as signKeyBind, N as signByMasterKey, M as sign, z as deriveKeysFromMnemonicAndPath, y as deriveKeysFromMnemonic } from '../chunks/wasm-CLXJDrJA.js';
|
|
6
|
+
import '../chunks/lclib-j2x9RvDY.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* 메인 서명을 master 키로 생성하는 TX 타입 집합 (signByMasterKey WASM 호출).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/wasm-CkFW222S', '../chunks/debugWalletActions-BDz-h2tl', '../chunks/lclib-Bv86gksL', '../chunks/tslib.es6-D29rxPkW', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8'], (function (exports, wasm, debugWalletActions, lclib, tslib_es6, rpc, base, account) { 'use strict';
|
|
2
2
|
|
|
3
3
|
// Automatically generated file. DO NOT EDIT.
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var wasm = require('../chunks/wasm-
|
|
3
|
+
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
4
4
|
var debugWalletActions = require('../chunks/debugWalletActions-6qjkZVq9.cjs');
|
|
5
|
-
require('../chunks/lclib-
|
|
5
|
+
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
6
6
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
7
7
|
require('../chunks/rpc-DwWIkUva.cjs');
|
|
8
8
|
require('../chunks/base-Cy5SSYLF.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { b as calculateTxLinkHash, d as compileCoreScript, e as convertAddressToData, f as convertAddressToHex, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof, T as verifyTx } from '../chunks/wasm-
|
|
1
|
+
export { b as calculateTxLinkHash, d as compileCoreScript, e as convertAddressToData, f as convertAddressToHex, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof, T as verifyTx } from '../chunks/wasm-CLXJDrJA.js';
|
|
2
2
|
import { a as allHeights, b as balanceGrantList, c as balanceList, d as callContract, e as createAccount, f as createContract, g as createNode, h as createSynthAccount, i as dumpAllAccounts, j as echo, k as gameChainCmd, l as getAccountsBalances, m as getAccountsHeights, n as getContractLog, o as getGuestsInfo, p as getHomeShard, q as getImportAccount, r as getImportAccountLog, s as getKeys, t as getNodeBlocks, u as getPeerPool, v as getPeersInfo, w as importAccount, x as initReliableNodes, y as noArgsRets, z as nodeCmd, A as postDataToSynthAccount, B as removeHoldTxs, C as requestVme, D as sendRawTransaction, E as setImportAccountTx, F as setReliableNode, G as viewContract } from '../chunks/debugWalletActions-D5-Ds7Hl.js';
|
|
3
3
|
export { H as acceptScript, I as accountHeightsToDownload, J as accountHeightsToUpload, K as becomeGuest, L as becomeHost, M as calculateSpentByExpress, N as changeKey, O as changeVkey, P as clientMessage, Q as closeAccount, R as createAssetObject, S as createToken, T as createVme, U as debugPublicActions, V as debugWalletActions, W as downloadAccountTxs, X as echo, Y as findDuplicateSubscriber, Z as generateLatestStoredDataProof, _ as getAccountAssetList, $ as getAccountAssetObject, a0 as getAccountDetail, a1 as getAccountHistory, a2 as getAccountTokenList, a3 as getConciseNodeStatus, a4 as getGenesisAccount, a5 as getIdentityProof, a6 as getInactiveTxList, a7 as getMontInfoList, a8 as getNodeStatus, a9 as getOwnerBalance, aa as getRoundState, ab as getRoundStatesList, ac as getShardOfAccount, ad as getSyncState, ae as getTx, af as getWorldRoundState, ag as getWorldRoundStatesList, ah as hasSystemToken, ai as lockStake, aj as makeTxProof, ak as openAccount, al as postData, am as provideScript, an as publicActions, ao as queryAddress, ap as readTxListWitness, aq as requestDataTrade, ar as setHost, as as subscribeAddress, at as transferAssetObject, au as transferCoin, av as transferCoinExpress, aw as transferToken, ax as unlockStake, ay as uploadAccountTxs, az as verifyAndSignChallenge, aA as verifyIdentityProof, aB as verifyLatestStoredDataProof, aC as verifyTxListWitness, aD as walletActions } from '../chunks/debugWalletActions-D5-Ds7Hl.js';
|
|
4
|
-
import '../chunks/lclib-
|
|
4
|
+
import '../chunks/lclib-j2x9RvDY.js';
|
|
5
5
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
6
6
|
import '../chunks/rpc-BlPk44QH.js';
|
|
7
7
|
import '../chunks/base-BQXfRsuw.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createAccountAndKeystore, l as loadMasterKeystore, a as loadNormalKeystore } from './wasm-
|
|
1
|
+
import { c as createAccountAndKeystore, l as loadMasterKeystore, a as loadNormalKeystore } from './wasm-CLXJDrJA.js';
|
|
2
2
|
import { B as BaseError } from './base-BQXfRsuw.js';
|
|
3
3
|
import { D as DegenerateKeyError } from './account-FZT9LH_s.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './wasm-
|
|
1
|
+
define(['exports', './wasm-CkFW222S', './base-B_kRRfsf', './account-BSrvZ7S8'], (function (exports, wasm, base, account) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 새 dual-key keystore 를 만들고 결과 JSON array 를 master / normal 두
|
|
@@ -26,7 +26,7 @@ define(['module', 'require', 'exports', './tslib.es6-D29rxPkW'], (function (modu
|
|
|
26
26
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
27
27
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
28
28
|
if (ENVIRONMENT_IS_NODE) {
|
|
29
|
-
const { createRequire } = yield new Promise(function (resolve, reject) { require([
|
|
29
|
+
const { createRequire } = yield ((m)=>(function (t) { return new Promise(function (resolve, reject) { require([t], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }); })(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
30
30
|
var require$1 = createRequire(new URL(module.uri, document.baseURI).href);
|
|
31
31
|
}
|
|
32
32
|
var quit_ = (status, toThrow) => { throw toThrow; };
|
|
@@ -348,7 +348,7 @@ define(['module', 'require', 'exports', './tslib.es6-D29rxPkW'], (function (modu
|
|
|
348
348
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
349
349
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
350
350
|
if (ENVIRONMENT_IS_NODE) {
|
|
351
|
-
const { createRequire } = yield new Promise(function (resolve, reject) { require([
|
|
351
|
+
const { createRequire } = yield ((m)=>(function (t) { return new Promise(function (resolve, reject) { require([t], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }); })(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
352
352
|
var require$1 = createRequire(new URL(module.uri, document.baseURI).href);
|
|
353
353
|
}
|
|
354
354
|
var _scriptName = new URL(module.uri, document.baseURI).href;
|
|
@@ -1654,7 +1654,7 @@ define(['module', 'require', 'exports', './tslib.es6-D29rxPkW'], (function (modu
|
|
|
1654
1654
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
1655
1655
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
1656
1656
|
if (ENVIRONMENT_IS_NODE) {
|
|
1657
|
-
const { createRequire } = yield new Promise(function (resolve, reject) { require([
|
|
1657
|
+
const { createRequire } = yield ((m)=>(function (t) { return new Promise(function (resolve, reject) { require([t], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }); })(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
1658
1658
|
var require$1 = createRequire(new URL(module.uri, document.baseURI).href);
|
|
1659
1659
|
}
|
|
1660
1660
|
var _scriptName = new URL(module.uri, document.baseURI).href;
|
|
@@ -2960,6 +2960,13 @@ define(['module', 'require', 'exports', './tslib.es6-D29rxPkW'], (function (modu
|
|
|
2960
2960
|
// 이 함수의 시그니처 (url: URL) => Promise<Uint8Array> 와 동일하면 된다.
|
|
2961
2961
|
var _a, _b;
|
|
2962
2962
|
const isNode = !!((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node);
|
|
2963
|
+
// node:* 모듈을 동적으로 로드할 때 import 인자를 변수로 우회한다.
|
|
2964
|
+
// 리터럴 dynamic import (`import('node:fs/promises')`) 는 Vite/Rollup 의
|
|
2965
|
+
// 정적 분석에 잡혀 browser 빌드에서 "Module 'node:*' has been externalized
|
|
2966
|
+
// for browser compatibility" 경고를 띄운다. 변수로 인자를 감싸면 정적
|
|
2967
|
+
// 분석을 회피하고, Node 런타임에서는 그대로 동적 import 가 된다.
|
|
2968
|
+
// 이 함수의 isNode 가드 안에서만 호출되므로 browser 런타임에서는 도달하지 않는다.
|
|
2969
|
+
const _dynImport = (m) => (function (t) { return new Promise(function (resolve, reject) { require([t], function (m) { resolve(/*#__PURE__*/_interopNamespaceDefault(m)); }, reject); }); })(/* @vite-ignore */ /* webpackIgnore: true */ m);
|
|
2963
2970
|
/**
|
|
2964
2971
|
* .wasm 바이너리를 Uint8Array 로 가져온다.
|
|
2965
2972
|
* @param {URL | string} input
|
|
@@ -2971,8 +2978,8 @@ define(['module', 'require', 'exports', './tslib.es6-D29rxPkW'], (function (modu
|
|
|
2971
2978
|
// Node 에서 패키지 동봉 파일 (file://) 은 fs 로 직접 읽는 게 가장 빠르고 의존성도 없다.
|
|
2972
2979
|
if (isNode && url.protocol === 'file:') {
|
|
2973
2980
|
const [{ readFile }, { fileURLToPath }] = yield Promise.all([
|
|
2974
|
-
|
|
2975
|
-
|
|
2981
|
+
_dynImport('node:fs/promises'),
|
|
2982
|
+
_dynImport('node:url'),
|
|
2976
2983
|
]);
|
|
2977
2984
|
const buf = yield readFile(fileURLToPath(url));
|
|
2978
2985
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
@@ -9,7 +9,7 @@ function AimerModule() {
|
|
|
9
9
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
10
10
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
11
11
|
if (ENVIRONMENT_IS_NODE) {
|
|
12
|
-
const { createRequire } = yield import(
|
|
12
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
13
13
|
var require = createRequire(import.meta.url);
|
|
14
14
|
}
|
|
15
15
|
var quit_ = (status, toThrow) => { throw toThrow; };
|
|
@@ -331,7 +331,7 @@ function HaetaeModule() {
|
|
|
331
331
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
332
332
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
333
333
|
if (ENVIRONMENT_IS_NODE) {
|
|
334
|
-
const { createRequire } = yield import(
|
|
334
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
335
335
|
var require = createRequire(import.meta.url);
|
|
336
336
|
}
|
|
337
337
|
var _scriptName = import.meta.url;
|
|
@@ -1637,7 +1637,7 @@ function SmaugtModule() {
|
|
|
1637
1637
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
1638
1638
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
1639
1639
|
if (ENVIRONMENT_IS_NODE) {
|
|
1640
|
-
const { createRequire } = yield import(
|
|
1640
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
1641
1641
|
var require = createRequire(import.meta.url);
|
|
1642
1642
|
}
|
|
1643
1643
|
var _scriptName = import.meta.url;
|
|
@@ -2943,6 +2943,13 @@ function SmaugtModule() {
|
|
|
2943
2943
|
// 이 함수의 시그니처 (url: URL) => Promise<Uint8Array> 와 동일하면 된다.
|
|
2944
2944
|
var _a, _b;
|
|
2945
2945
|
const isNode = !!((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node);
|
|
2946
|
+
// node:* 모듈을 동적으로 로드할 때 import 인자를 변수로 우회한다.
|
|
2947
|
+
// 리터럴 dynamic import (`import('node:fs/promises')`) 는 Vite/Rollup 의
|
|
2948
|
+
// 정적 분석에 잡혀 browser 빌드에서 "Module 'node:*' has been externalized
|
|
2949
|
+
// for browser compatibility" 경고를 띄운다. 변수로 인자를 감싸면 정적
|
|
2950
|
+
// 분석을 회피하고, Node 런타임에서는 그대로 동적 import 가 된다.
|
|
2951
|
+
// 이 함수의 isNode 가드 안에서만 호출되므로 browser 런타임에서는 도달하지 않는다.
|
|
2952
|
+
const _dynImport = (m) => import(/* @vite-ignore */ /* webpackIgnore: true */ m);
|
|
2946
2953
|
/**
|
|
2947
2954
|
* .wasm 바이너리를 Uint8Array 로 가져온다.
|
|
2948
2955
|
* @param {URL | string} input
|
|
@@ -2954,8 +2961,8 @@ function fetchWasmBytes(input) {
|
|
|
2954
2961
|
// Node 에서 패키지 동봉 파일 (file://) 은 fs 로 직접 읽는 게 가장 빠르고 의존성도 없다.
|
|
2955
2962
|
if (isNode && url.protocol === 'file:') {
|
|
2956
2963
|
const [{ readFile }, { fileURLToPath }] = yield Promise.all([
|
|
2957
|
-
|
|
2958
|
-
|
|
2964
|
+
_dynImport('node:fs/promises'),
|
|
2965
|
+
_dynImport('node:url'),
|
|
2959
2966
|
]);
|
|
2960
2967
|
const buf = yield readFile(fileURLToPath(url));
|
|
2961
2968
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
@@ -12,11 +12,11 @@ function AimerModule() {
|
|
|
12
12
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
13
13
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
14
14
|
if (ENVIRONMENT_IS_NODE) {
|
|
15
|
-
const { createRequire } = yield import(
|
|
16
|
-
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
15
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
16
|
+
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
17
17
|
}
|
|
18
18
|
var quit_ = (status, toThrow) => { throw toThrow; };
|
|
19
|
-
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
19
|
+
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href));
|
|
20
20
|
var scriptDirectory = "";
|
|
21
21
|
function locateFile(path) { if (Module["locateFile"]) {
|
|
22
22
|
return Module["locateFile"](path, scriptDirectory);
|
|
@@ -83,7 +83,7 @@ function AimerModule() {
|
|
|
83
83
|
var wasmBinaryFile;
|
|
84
84
|
function findWasmBinary() { if (Module["locateFile"]) {
|
|
85
85
|
return locateFile("crypto_aimer.wasm");
|
|
86
|
-
} return new URL("crypto_aimer.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
86
|
+
} return new URL("crypto_aimer.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href))).href; }
|
|
87
87
|
function getBinarySync(file) { if (file == wasmBinaryFile && wasmBinary) {
|
|
88
88
|
return new Uint8Array(wasmBinary);
|
|
89
89
|
} if (readBinary) {
|
|
@@ -334,10 +334,10 @@ function HaetaeModule() {
|
|
|
334
334
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
335
335
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
336
336
|
if (ENVIRONMENT_IS_NODE) {
|
|
337
|
-
const { createRequire } = yield import(
|
|
338
|
-
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
337
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
338
|
+
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
339
339
|
}
|
|
340
|
-
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
340
|
+
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href));
|
|
341
341
|
var scriptDirectory = "";
|
|
342
342
|
function locateFile(path) { if (Module["locateFile"]) {
|
|
343
343
|
return Module["locateFile"](path, scriptDirectory);
|
|
@@ -405,7 +405,7 @@ function HaetaeModule() {
|
|
|
405
405
|
var wasmBinaryFile;
|
|
406
406
|
function findWasmBinary() { if (Module["locateFile"]) {
|
|
407
407
|
return locateFile("crypto_haetae.wasm");
|
|
408
|
-
} return new URL("crypto_haetae.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
408
|
+
} return new URL("crypto_haetae.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href))).href; }
|
|
409
409
|
function getBinarySync(file) { if (file == wasmBinaryFile && wasmBinary) {
|
|
410
410
|
return new Uint8Array(wasmBinary);
|
|
411
411
|
} if (readBinary) {
|
|
@@ -1640,10 +1640,10 @@ function SmaugtModule() {
|
|
|
1640
1640
|
var ENVIRONMENT_IS_WORKER = !!globalThis.WorkerGlobalScope;
|
|
1641
1641
|
var ENVIRONMENT_IS_NODE = ((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node) && ((_c = globalThis.process) === null || _c === void 0 ? void 0 : _c.type) != "renderer";
|
|
1642
1642
|
if (ENVIRONMENT_IS_NODE) {
|
|
1643
|
-
const { createRequire } = yield import(
|
|
1644
|
-
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
1643
|
+
const { createRequire } = yield ((m)=>import(/* @vite-ignore */ /* webpackIgnore: true */ m))("node:module");
|
|
1644
|
+
var require$1 = createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
1645
1645
|
}
|
|
1646
|
-
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
1646
|
+
var _scriptName = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href));
|
|
1647
1647
|
var scriptDirectory = "";
|
|
1648
1648
|
function locateFile(path) { if (Module["locateFile"]) {
|
|
1649
1649
|
return Module["locateFile"](path, scriptDirectory);
|
|
@@ -1711,7 +1711,7 @@ function SmaugtModule() {
|
|
|
1711
1711
|
var wasmBinaryFile;
|
|
1712
1712
|
function findWasmBinary() { if (Module["locateFile"]) {
|
|
1713
1713
|
return locateFile("crypto_smaugt.wasm");
|
|
1714
|
-
} return new URL("crypto_smaugt.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
1714
|
+
} return new URL("crypto_smaugt.wasm", (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href))).href; }
|
|
1715
1715
|
function getBinarySync(file) { if (file == wasmBinaryFile && wasmBinary) {
|
|
1716
1716
|
return new Uint8Array(wasmBinary);
|
|
1717
1717
|
} if (readBinary) {
|
|
@@ -2946,6 +2946,13 @@ function SmaugtModule() {
|
|
|
2946
2946
|
// 이 함수의 시그니처 (url: URL) => Promise<Uint8Array> 와 동일하면 된다.
|
|
2947
2947
|
var _a, _b;
|
|
2948
2948
|
const isNode = !!((_b = (_a = globalThis.process) === null || _a === void 0 ? void 0 : _a.versions) === null || _b === void 0 ? void 0 : _b.node);
|
|
2949
|
+
// node:* 모듈을 동적으로 로드할 때 import 인자를 변수로 우회한다.
|
|
2950
|
+
// 리터럴 dynamic import (`import('node:fs/promises')`) 는 Vite/Rollup 의
|
|
2951
|
+
// 정적 분석에 잡혀 browser 빌드에서 "Module 'node:*' has been externalized
|
|
2952
|
+
// for browser compatibility" 경고를 띄운다. 변수로 인자를 감싸면 정적
|
|
2953
|
+
// 분석을 회피하고, Node 런타임에서는 그대로 동적 import 가 된다.
|
|
2954
|
+
// 이 함수의 isNode 가드 안에서만 호출되므로 browser 런타임에서는 도달하지 않는다.
|
|
2955
|
+
const _dynImport = (m) => import(/* @vite-ignore */ /* webpackIgnore: true */ m);
|
|
2949
2956
|
/**
|
|
2950
2957
|
* .wasm 바이너리를 Uint8Array 로 가져온다.
|
|
2951
2958
|
* @param {URL | string} input
|
|
@@ -2957,8 +2964,8 @@ function fetchWasmBytes(input) {
|
|
|
2957
2964
|
// Node 에서 패키지 동봉 파일 (file://) 은 fs 로 직접 읽는 게 가장 빠르고 의존성도 없다.
|
|
2958
2965
|
if (isNode && url.protocol === 'file:') {
|
|
2959
2966
|
const [{ readFile }, { fileURLToPath }] = yield Promise.all([
|
|
2960
|
-
|
|
2961
|
-
|
|
2967
|
+
_dynImport('node:fs/promises'),
|
|
2968
|
+
_dynImport('node:url'),
|
|
2962
2969
|
]);
|
|
2963
2970
|
const buf = yield readFile(fileURLToPath(url));
|
|
2964
2971
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);
|
|
@@ -3153,9 +3160,9 @@ globalThis.js_haetae_verify = function (sigBuf, msgBuf, pkBuf) {
|
|
|
3153
3160
|
// 정적 리터럴 URL — Vite/Rollup/Webpack5 가 `new URL(<리터럴>, import.meta.url)` 패턴을
|
|
3154
3161
|
// 정적 분석해서 사용자 빌드의 자산 그래프에 wasm 을 자동 등록할 수 있도록 모듈 최상위에서 선언.
|
|
3155
3162
|
// override (baseUrl/urls) 가 없을 때만 사용된다.
|
|
3156
|
-
const DEFAULT_AIMER_URL = new URL('../autogen/wasm/crypto_aimer.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3157
|
-
const DEFAULT_SMAUGT_URL = new URL('../autogen/wasm/crypto_smaugt.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3158
|
-
const DEFAULT_HAETAE_URL = new URL('../autogen/wasm/crypto_haetae.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3163
|
+
const DEFAULT_AIMER_URL = new URL('../autogen/wasm/crypto_aimer.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3164
|
+
const DEFAULT_SMAUGT_URL = new URL('../autogen/wasm/crypto_smaugt.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3165
|
+
const DEFAULT_HAETAE_URL = new URL('../autogen/wasm/crypto_haetae.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3159
3166
|
// AIMER / SMAUGT / HAETAE 의 .wasm 바이너리를 외부에서 받아와 Emscripten 모듈에 주입한다.
|
|
3160
3167
|
// Module({ wasmBinary }) 가 주어지면 글루는 자체 fetch 를 건너뛰고 그 바이트를 사용한다.
|
|
3161
3168
|
//
|
|
@@ -3172,7 +3179,7 @@ function loadCryptoWasm() {
|
|
|
3172
3179
|
if (override) {
|
|
3173
3180
|
const base = opts.baseUrl
|
|
3174
3181
|
? (opts.baseUrl instanceof URL ? opts.baseUrl : new URL(opts.baseUrl))
|
|
3175
|
-
: new URL('../autogen/wasm/', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3182
|
+
: new URL('../autogen/wasm/', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3176
3183
|
return override instanceof URL ? override : new URL(override, base);
|
|
3177
3184
|
}
|
|
3178
3185
|
if (opts.baseUrl) {
|
|
@@ -3783,7 +3790,7 @@ const lclibWasmConfig = { namespace };
|
|
|
3783
3790
|
// 정적 리터럴 URL — Vite/Rollup/Webpack5 가 `new URL(<리터럴>, import.meta.url)` 패턴을
|
|
3784
3791
|
// 정적 분석해서 사용자 빌드의 자산 그래프에 wasm 을 자동 등록할 수 있도록 모듈 최상위에서 선언.
|
|
3785
3792
|
// override (baseUrl/urls) 가 없을 때만 사용된다.
|
|
3786
|
-
const DEFAULT_LCLIB_URL = new URL('../autogen/wasm/lclib.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3793
|
+
const DEFAULT_LCLIB_URL = new URL('../autogen/wasm/lclib.wasm', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3787
3794
|
// .wasm 바이너리 4 개(lclib + AIMER/SMAUGT/HAETAE) 를 외부 파일에서 fetch 해서 로드한다.
|
|
3788
3795
|
//
|
|
3789
3796
|
// opts:
|
|
@@ -3800,7 +3807,7 @@ function load() {
|
|
|
3800
3807
|
if ((_b = opts.urls) === null || _b === void 0 ? void 0 : _b.lclib) {
|
|
3801
3808
|
const base = opts.baseUrl
|
|
3802
3809
|
? (opts.baseUrl instanceof URL ? opts.baseUrl : new URL(opts.baseUrl))
|
|
3803
|
-
: new URL('../autogen/wasm/', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-
|
|
3810
|
+
: new URL('../autogen/wasm/', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('chunks/lclib-rGyKpClJ.cjs', document.baseURI).href)));
|
|
3804
3811
|
lclibUrl = opts.urls.lclib instanceof URL ? opts.urls.lclib : new URL(opts.urls.lclib, base);
|
|
3805
3812
|
}
|
|
3806
3813
|
else if (opts.baseUrl) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/lclib-
|
|
1
|
+
define(['exports', '../chunks/lclib-Bv86gksL', '../chunks/debugWalletActions-BDz-h2tl', '../chunks/tslib.es6-D29rxPkW', '../transports/index.amd', '../chunks/rpc-C4n7t9y0', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/transport-BBAz1kmP'], (function (exports, lclib, debugWalletActions, tslib_es6, transports, rpc, base, account, transport) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function createClient(args) {
|
|
4
4
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunks/lclib-
|
|
3
|
+
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
4
4
|
var debugWalletActions = require('../chunks/debugWalletActions-6qjkZVq9.cjs');
|
|
5
5
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
6
6
|
var transports = require('../transports/index.cjs.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../chunks/lclib-
|
|
1
|
+
import '../chunks/lclib-j2x9RvDY.js';
|
|
2
2
|
import { an as publicActions, U as debugPublicActions, aD as walletActions, V as debugWalletActions } from '../chunks/debugWalletActions-D5-Ds7Hl.js';
|
|
3
3
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|
|
4
4
|
import { http } from '../transports/index.esm.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/tslib.es6-D29rxPkW', '../chunks/wasm-CkFW222S', '../chunks/lclib-Bv86gksL'], (function (exports, tslib_es6, wasm, lclib) { 'use strict';
|
|
2
2
|
|
|
3
3
|
var commonjsGlobal =
|
|
4
4
|
typeof globalThis !== 'undefined'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
4
|
-
var wasm = require('../chunks/wasm-
|
|
5
|
-
require('../chunks/lclib-
|
|
4
|
+
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
5
|
+
require('../chunks/lclib-rGyKpClJ.cjs');
|
|
6
6
|
|
|
7
7
|
var commonjsGlobal =
|
|
8
8
|
typeof globalThis !== 'undefined'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __awaiter } from '../chunks/tslib.es6-WQS2tr1v.js';
|
|
2
|
-
import { r as convertHexToData, n as convertDataToHex } from '../chunks/wasm-
|
|
3
|
-
import '../chunks/lclib-
|
|
2
|
+
import { r as convertHexToData, n as convertDataToHex } from '../chunks/wasm-CLXJDrJA.js';
|
|
3
|
+
import '../chunks/lclib-j2x9RvDY.js';
|
|
4
4
|
|
|
5
5
|
var commonjsGlobal =
|
|
6
6
|
typeof globalThis !== 'undefined'
|
package/dist/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-
|
|
1
|
+
define(['exports', './clients/index.amd', './transports/index.amd', './accounts/index.amd', './chunks/base-B_kRRfsf', './chunks/rpc-C4n7t9y0', './chunks/transport-BBAz1kmP', './chunks/account-BSrvZ7S8', './contracts/index.amd', './constant/index.amd', './chunks/keystore-y1JlFTKh', './chunks/lclib-Bv86gksL', './chunks/tslib.es6-D29rxPkW', './chunks/debugWalletActions-BDz-h2tl', './chunks/tx-type-CS4wIUJ8', './chunks/wasm-CkFW222S', './chunks/address-class-Dp7aNQb2'], (function (exports, clients, transports, accounts, base, rpc, transport, account, contracts, constant, keystore, lclib, tslib_es6, debugWalletActions, txType, wasm, addressClass) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
package/dist/index.cjs.cjs
CHANGED
|
@@ -9,12 +9,12 @@ var transport = require('./chunks/transport-VThNtzck.cjs');
|
|
|
9
9
|
var account = require('./chunks/account-BAsiKnSL.cjs');
|
|
10
10
|
var contracts = require('./contracts/index.cjs.cjs');
|
|
11
11
|
var constant = require('./constant/index.cjs.cjs');
|
|
12
|
-
var keystore = require('./chunks/keystore-
|
|
13
|
-
require('./chunks/lclib-
|
|
12
|
+
var keystore = require('./chunks/keystore-BUskzeOs.cjs');
|
|
13
|
+
require('./chunks/lclib-rGyKpClJ.cjs');
|
|
14
14
|
require('./chunks/tslib.es6-Cfi3-HmA.cjs');
|
|
15
15
|
require('./chunks/debugWalletActions-6qjkZVq9.cjs');
|
|
16
16
|
require('./chunks/tx-type-DI_nKG8B.cjs');
|
|
17
|
-
require('./chunks/wasm-
|
|
17
|
+
require('./chunks/wasm-BYOKRR31.cjs');
|
|
18
18
|
require('./chunks/address-class-Cjy48Uqk.cjs');
|
|
19
19
|
|
|
20
20
|
|
package/dist/index.esm.js
CHANGED
|
@@ -7,10 +7,10 @@ export { A as AbortedError, H as HttpRequestError, T as TimeoutError } from './c
|
|
|
7
7
|
export { A as AccountRequiredError, D as DegenerateKeyError, I as InvalidTxResultError, S as SignFailedError, a as SignKeyBindUnsupportedError } from './chunks/account-FZT9LH_s.js';
|
|
8
8
|
export { erc20Abi, getContract } from './contracts/index.esm.js';
|
|
9
9
|
export { AddressClass, Currency, FeeType, GRANT_COST_PER_TX, MaxVMRewardsCount, TxType, TxTypes } from './constant/index.esm.js';
|
|
10
|
-
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from './chunks/keystore-
|
|
11
|
-
import './chunks/lclib-
|
|
10
|
+
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from './chunks/keystore-B86UzV8A.js';
|
|
11
|
+
import './chunks/lclib-j2x9RvDY.js';
|
|
12
12
|
import './chunks/tslib.es6-WQS2tr1v.js';
|
|
13
13
|
import './chunks/debugWalletActions-D5-Ds7Hl.js';
|
|
14
14
|
import './chunks/tx-type-BPkhMGad.js';
|
|
15
|
-
import './chunks/wasm-
|
|
15
|
+
import './chunks/wasm-CLXJDrJA.js';
|
|
16
16
|
import './chunks/address-class-CHAZYhdZ.js';
|
package/dist/utils/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/address-class-Dp7aNQb2', '../chunks/wasm-
|
|
1
|
+
define(['exports', '../chunks/address-class-Dp7aNQb2', '../chunks/wasm-CkFW222S', '../chunks/keystore-y1JlFTKh', '../chunks/lclib-Bv86gksL', '../chunks/base-B_kRRfsf', '../chunks/account-BSrvZ7S8', '../chunks/tslib.es6-D29rxPkW'], (function (exports, addressClass, wasm, keystore, lclib, base, account, tslib_es6) { 'use strict';
|
|
2
2
|
|
|
3
3
|
class TxValidator {
|
|
4
4
|
constructor() {
|
package/dist/utils/index.cjs.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var addressClass = require('../chunks/address-class-Cjy48Uqk.cjs');
|
|
4
|
-
var wasm = require('../chunks/wasm-
|
|
5
|
-
var keystore = require('../chunks/keystore-
|
|
6
|
-
var lclib = require('../chunks/lclib-
|
|
4
|
+
var wasm = require('../chunks/wasm-BYOKRR31.cjs');
|
|
5
|
+
var keystore = require('../chunks/keystore-BUskzeOs.cjs');
|
|
6
|
+
var lclib = require('../chunks/lclib-rGyKpClJ.cjs');
|
|
7
7
|
require('../chunks/base-Cy5SSYLF.cjs');
|
|
8
8
|
require('../chunks/account-BAsiKnSL.cjs');
|
|
9
9
|
require('../chunks/tslib.es6-Cfi3-HmA.cjs');
|
package/dist/utils/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as AddressClass } from '../chunks/address-class-CHAZYhdZ.js';
|
|
2
|
-
import { T as verifyTx, d as compileCoreScript, f as convertAddressToHex } from '../chunks/wasm-
|
|
3
|
-
export { b as calculateTxLinkHash, e as convertAddressToData, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof } from '../chunks/wasm-
|
|
4
|
-
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from '../chunks/keystore-
|
|
5
|
-
import { l as load } from '../chunks/lclib-
|
|
2
|
+
import { T as verifyTx, d as compileCoreScript, f as convertAddressToHex } from '../chunks/wasm-CLXJDrJA.js';
|
|
3
|
+
export { b as calculateTxLinkHash, e as convertAddressToData, g as convertBase32ToData, h as convertBase32ToHex, i as convertCurrency, j as convertDataTo, k as convertDataToAddress, m as convertDataToBase32, n as convertDataToHex, o as convertDataToString, p as convertHexToAddress, q as convertHexToBase32, r as convertHexToData, s as convertStringToData, t as convertToData, c as createAccountAndKeystore, u as createMasterKeystore, v as createNormalKey, w as createNormalKeystore, x as decodeTxs, y as deriveKeysFromMnemonic, z as deriveKeysFromMnemonicAndPath, A as disCompileCoreScript, B as encodeTxCurrency, C as encodeTxNumber, D as generateMnemonic, E as generateMnemonicBySeed, F as getDefFromCoreScript, G as getHomeShard, H as getLibraryVersions, I as gzipAndEncode, J as hash, K as isGrantConsumingTx, l as loadMasterKeystore, a as loadNormalKeystore, L as makeCurrency, M as sign, N as signByMasterKey, O as signKeyBind, P as testCoreScript, Q as verify, R as verifyByMasterKey, S as verifyMerkleProof } from '../chunks/wasm-CLXJDrJA.js';
|
|
4
|
+
export { c as createKeystoreBundle, s as splitKeystoreBundle, u as unlockKeystoreBundle, a as unlockMasterKeystore, b as unlockNormalKeystore } from '../chunks/keystore-B86UzV8A.js';
|
|
5
|
+
import { l as load } from '../chunks/lclib-j2x9RvDY.js';
|
|
6
6
|
import '../chunks/base-BQXfRsuw.js';
|
|
7
7
|
import '../chunks/account-FZT9LH_s.js';
|
|
8
8
|
import '../chunks/tslib.es6-WQS2tr1v.js';
|