@locuschain/lib 0.1.15 → 0.1.16
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-DOi-T9r1.cjs → rpc-B-oxYRJv.cjs} +7 -8
- package/dist/chunks/{rpc-B-NAr0YS.js → rpc-COK4dpN3.js} +7 -8
- package/dist/chunks/{rpc-B9QRnlfN.js → rpc-SqBwqHbM.js} +8 -8
- package/dist/index.amd.js +1 -2
- package/dist/index.cjs.cjs +1 -2
- package/dist/index.esm.js +2 -2
- 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 +2799 -2848
- package/dist/utils/index.cjs.cjs +2761 -2826
- package/dist/utils/index.d.cts +1 -4
- package/dist/utils/index.d.mts +1 -4
- package/dist/utils/index.esm.js +2762 -2827
- package/dist/utils/lclib.d.mts +0 -1
- package/dist/utils/locus-wasm-bridge.d.mts +1 -1
- 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 +88 -88
package/dist/utils/lclib.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function initCryptoWasm(): Promise<any[]>;
|
package/dist/web3/index.amd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(['exports', '../chunks/rpc-
|
|
1
|
+
define(['exports', '../chunks/rpc-COK4dpN3', '../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-SqBwqHbM.js';
|
|
2
2
|
import { T as TxType } from '../chunks/tx-type-nyLU5xv5.js';
|
|
3
3
|
|
|
4
4
|
class Account {
|
package/package.json
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@locuschain/lib",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"author": "bloomtechnology",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"description": "",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"rollup": "^
|
|
75
|
-
"rollup
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
},
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@locuschain/lib",
|
|
3
|
+
"version": "0.1.16",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"author": "bloomtechnology",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"description": "",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"generate-code": "generate-code.sh",
|
|
10
|
+
"build": "rm -rf dist && rollup -c rollup.config.mjs && node -e \"const fs=require('fs'); const paths=['types','utils','constant','web3','support']; paths.forEach(p => { const base='./dist/'+p+'/index'; if(fs.existsSync(base+'.d.mts')){ fs.copyFileSync(base+'.d.mts', base+'.d.cts'); } })\"",
|
|
11
|
+
"gen-build-publish": "npm run generate-code && npm run build && npm publish --access public"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": "~22.19.0"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist/index.cjs.cjs",
|
|
17
|
+
"module": "./dist/index.amd.js",
|
|
18
|
+
"types": "./dist/index.d.mts",
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": {
|
|
22
|
+
"require": "./dist/index.d.cjs",
|
|
23
|
+
"import": "./dist/index.d.mjs"
|
|
24
|
+
},
|
|
25
|
+
"require": "./dist/index.cjs.cjs",
|
|
26
|
+
"import": "./dist/index.esm.js"
|
|
27
|
+
},
|
|
28
|
+
"./utils": {
|
|
29
|
+
"types": {
|
|
30
|
+
"require": "./dist/utils/index.d.cjs",
|
|
31
|
+
"import": "./dist/utils/index.d.mjs"
|
|
32
|
+
},
|
|
33
|
+
"require": "./dist/utils/index.cjs.cjs",
|
|
34
|
+
"import": "./dist/utils/index.esm.js"
|
|
35
|
+
},
|
|
36
|
+
"./types": {
|
|
37
|
+
"types": {
|
|
38
|
+
"require": "./dist/types/index.d.cjs",
|
|
39
|
+
"import": "./dist/types/index.d.mjs"
|
|
40
|
+
},
|
|
41
|
+
"import": "./dist/types/index.esm.js",
|
|
42
|
+
"require": "./dist/types/index.cjs.cjs"
|
|
43
|
+
},
|
|
44
|
+
"./constant": {
|
|
45
|
+
"types": {
|
|
46
|
+
"require": "./dist/constant/index.d.cjs",
|
|
47
|
+
"import": "./dist/constant/index.d.mjs"
|
|
48
|
+
},
|
|
49
|
+
"import": "./dist/constant/index.esm.js",
|
|
50
|
+
"require": "./dist/constant/index.cjs.cjs"
|
|
51
|
+
},
|
|
52
|
+
"./web3": {
|
|
53
|
+
"types": {
|
|
54
|
+
"require": "./dist/web3/index.d.cjs",
|
|
55
|
+
"import": "./dist/web3/index.d.mjs"
|
|
56
|
+
},
|
|
57
|
+
"import": "./dist/web3/index.esm.js",
|
|
58
|
+
"require": "./dist/web3/index.cjs.cjs"
|
|
59
|
+
},
|
|
60
|
+
"./support": {
|
|
61
|
+
"types": {
|
|
62
|
+
"require": "./dist/support/index.d.cjs",
|
|
63
|
+
"import": "./dist/support/index.d.mjs"
|
|
64
|
+
},
|
|
65
|
+
"import": "./dist/support/index.esm.js",
|
|
66
|
+
"require": "./dist/support/index.cjs.cjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"files": [
|
|
70
|
+
"./dist"
|
|
71
|
+
],
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
74
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
75
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
76
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
77
|
+
"@types/lodash": "^4.17.21",
|
|
78
|
+
"copyfiles": "^2.4.1",
|
|
79
|
+
"rollup": "^4.24.3",
|
|
80
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
81
|
+
"tslib": "^2.8.1"
|
|
82
|
+
},
|
|
83
|
+
"dependencies": {
|
|
84
|
+
"@locuschain/errors": "workspace:*",
|
|
85
|
+
"lodash": "^4.17.21",
|
|
86
|
+
"wasm-opt": "^1.4.0"
|
|
87
|
+
}
|
|
88
|
+
}
|