@vbyte/btc-dev 1.1.4 → 1.1.5
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/lib/script/index.d.ts +1 -115
- package/dist/lib/script/index.js +1 -5
- package/dist/main.cjs +32 -3
- package/dist/main.cjs.map +1 -1
- package/dist/module.mjs +32 -3
- package/dist/module.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/script.js +8 -8
- package/dist/script.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/script/index.ts +5 -13
package/package.json
CHANGED
package/src/lib/script/index.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OPCODE_MAP } from './words.js'
|
|
2
1
|
import { encode_script } from './encode.js'
|
|
3
2
|
|
|
4
3
|
import {
|
|
@@ -7,22 +6,15 @@ import {
|
|
|
7
6
|
parse_script
|
|
8
7
|
} from './decode.js'
|
|
9
8
|
|
|
10
|
-
import {
|
|
11
|
-
parse_script_pubkeys,
|
|
12
|
-
prefix_script_size
|
|
13
|
-
} from './util.js'
|
|
14
|
-
|
|
15
9
|
export * from './decode.js'
|
|
16
10
|
export * from './encode.js'
|
|
11
|
+
export * from './lock.js'
|
|
17
12
|
export * from './util.js'
|
|
18
13
|
export * from './words.js'
|
|
19
14
|
|
|
20
15
|
export namespace ScriptUtil {
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
24
|
-
export const
|
|
25
|
-
export const is_valid = is_valid_script
|
|
26
|
-
export const get_pubkeys = parse_script_pubkeys
|
|
27
|
-
export const OPCODES = OPCODE_MAP
|
|
16
|
+
export const parse = parse_script
|
|
17
|
+
export const decode = decode_script
|
|
18
|
+
export const encode = encode_script
|
|
19
|
+
export const is_valid = is_valid_script
|
|
28
20
|
}
|