@caravan/psbt 1.0.0 → 1.0.1

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.
@@ -1,20 +1,19 @@
1
-
2
- 
3
- > @caravan/psbt@0.0.0 build
4
- > tsup src/index.ts --format cjs,esm --dts
5
-
6
- CLI Building entry: src/index.ts
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v7.2.0
9
- CLI Using tsup config: /Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/tsup.config.ts
10
- CLI Target: esnext
11
- CJS Build start
12
- ESM Build start
13
- CJS dist/index.js 30.56 KB
14
- CJS ⚡️ Build success in 44ms
15
- ESM dist/index.mjs 28.77 KB
16
- ESM ⚡️ Build success in 45ms
17
- DTS Build start
18
- DTS ⚡️ Build success in 962ms
19
- DTS dist/index.d.ts 6.07 KB
20
- DTS dist/index.d.mts 6.07 KB
1
+
2
+ > @caravan/psbt@1.0.1 build
3
+ > tsup src/index.ts --format cjs,esm --dts
4
+
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v7.2.0
8
+ CLI Using tsup config: /home/runner/work/caravan/caravan/packages/caravan-psbt/tsup.config.ts
9
+ CLI Target: esnext
10
+ CJS Build start
11
+ ESM Build start
12
+ ESM dist/index.mjs 29.75 KB
13
+ ESM ⚡️ Build success in 38ms
14
+ CJS dist/index.js 31.42 KB
15
+ CJS ⚡️ Build success in 38ms
16
+ DTS Build start
17
+ DTS ⚡️ Build success in 2270ms
18
+ DTS dist/index.d.ts 9.90 KB
19
+ DTS dist/index.d.mts 9.90 KB
@@ -1,49 +1,49 @@
1
-
2
- 
3
- > @caravan/psbt@0.0.0 lint
4
- > eslint src
5
-
6
- 
7
- /Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbt.ts
8
-  43:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
-  113:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
10
-  268:7 warning 'localPSBT' is never reassigned. Use 'const' instead prefer-const
11
-  376:7 warning 'psbt' is never reassigned. Use 'const' instead prefer-const
12
-  415:7 warning 'psbt' is never reassigned. Use 'const' instead prefer-const
13
-  430:13 warning 'signature' is never reassigned. Use 'const' instead prefer-const
14
- 
15
- /Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbtv2.test.ts
16
-  1025:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
17
-  1025:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
18
-  1082:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
19
-  1082:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
20
- 
21
- /Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbtv2.ts
22
-  47:3 warning Duplicate enum member value 01 @typescript-eslint/no-duplicate-enum-values
23
-  48:3 warning Duplicate enum member value 02 @typescript-eslint/no-duplicate-enum-values
24
-  49:3 warning Duplicate enum member value 03 @typescript-eslint/no-duplicate-enum-values
25
-  50:3 warning Duplicate enum member value 04 @typescript-eslint/no-duplicate-enum-values
26
-  51:3 warning Duplicate enum member value 05 @typescript-eslint/no-duplicate-enum-values
27
-  52:3 warning Duplicate enum member value 06 @typescript-eslint/no-duplicate-enum-values
28
-  71:3 warning Duplicate enum member value fc @typescript-eslint/no-duplicate-enum-values
29
-  73:3 warning Duplicate enum member value 00 @typescript-eslint/no-duplicate-enum-values
30
-  74:3 warning Duplicate enum member value 01 @typescript-eslint/no-duplicate-enum-values
31
-  75:3 warning Duplicate enum member value 02 @typescript-eslint/no-duplicate-enum-values
32
-  76:3 warning Duplicate enum member value 03 @typescript-eslint/no-duplicate-enum-values
33
-  77:3 warning Duplicate enum member value 04 @typescript-eslint/no-duplicate-enum-values
34
-  78:3 warning Duplicate enum member value 05 @typescript-eslint/no-duplicate-enum-values
35
-  79:3 warning Duplicate enum member value 06 @typescript-eslint/no-duplicate-enum-values
36
-  80:3 warning Duplicate enum member value 07 @typescript-eslint/no-duplicate-enum-values
37
-  81:3 warning Duplicate enum member value fc @typescript-eslint/no-duplicate-enum-values
38
-  296:9 warning 'bw' is never reassigned. Use 'const' instead prefer-const
39
-  438:9 warning 'modifiable' is never reassigned. Use 'const' instead prefer-const
40
-  781:9 warning 'heights' is never reassigned. Use 'const' instead prefer-const
41
-  782:9 warning 'times' is never reassigned. Use 'const' instead prefer-const
42
-  1225:9 warning 'txInputs' is never reassigned. Use 'const' instead prefer-const
43
-  1225:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
44
-  1247:9 warning 'txOutputs' is never reassigned. Use 'const' instead prefer-const
45
-  1247:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
46
- 
47
- 34 problems (0 errors, 34 warnings)
48
-  0 errors and 10 warnings potentially fixable with the `--fix` option.
49
- 
1
+
2
+ > @caravan/psbt@1.0.1 lint
3
+ > eslint src
4
+
5
+
6
+ /home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbt.ts
7
+ 43:54 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
8
+ 113:23 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
9
+ 268:7 warning 'localPSBT' is never reassigned. Use 'const' instead prefer-const
10
+ 376:7 warning 'psbt' is never reassigned. Use 'const' instead prefer-const
11
+ 415:7 warning 'psbt' is never reassigned. Use 'const' instead prefer-const
12
+ 430:13 warning 'signature' is never reassigned. Use 'const' instead prefer-const
13
+
14
+ /home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/psbtv2.test.ts
15
+ 1025:42 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
16
+ 1025:53 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
17
+ 1082:45 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
18
+ 1082:56 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
19
+
20
+ /home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/psbtv2.ts
21
+ 129:9 warning 'modifiable' is never reassigned. Use 'const' instead prefer-const
22
+ 476:9 warning 'heights' is never reassigned. Use 'const' instead prefer-const
23
+ 477:9 warning 'times' is never reassigned. Use 'const' instead prefer-const
24
+ 945:9 warning 'txInputs' is never reassigned. Use 'const' instead prefer-const
25
+ 945:19 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
26
+ 967:9 warning 'txOutputs' is never reassigned. Use 'const' instead prefer-const
27
+ 967:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
28
+
29
+ /home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/types.ts
30
+ 32:3 warning Duplicate enum member value 01 @typescript-eslint/no-duplicate-enum-values
31
+ 33:3 warning Duplicate enum member value 02 @typescript-eslint/no-duplicate-enum-values
32
+ 34:3 warning Duplicate enum member value 03 @typescript-eslint/no-duplicate-enum-values
33
+ 35:3 warning Duplicate enum member value 04 @typescript-eslint/no-duplicate-enum-values
34
+ 36:3 warning Duplicate enum member value 05 @typescript-eslint/no-duplicate-enum-values
35
+ 37:3 warning Duplicate enum member value 06 @typescript-eslint/no-duplicate-enum-values
36
+ 56:3 warning Duplicate enum member value fc @typescript-eslint/no-duplicate-enum-values
37
+ 58:3 warning Duplicate enum member value 00 @typescript-eslint/no-duplicate-enum-values
38
+ 59:3 warning Duplicate enum member value 01 @typescript-eslint/no-duplicate-enum-values
39
+ 60:3 warning Duplicate enum member value 02 @typescript-eslint/no-duplicate-enum-values
40
+ 61:3 warning Duplicate enum member value 03 @typescript-eslint/no-duplicate-enum-values
41
+ 62:3 warning Duplicate enum member value 04 @typescript-eslint/no-duplicate-enum-values
42
+ 63:3 warning Duplicate enum member value 05 @typescript-eslint/no-duplicate-enum-values
43
+ 64:3 warning Duplicate enum member value 06 @typescript-eslint/no-duplicate-enum-values
44
+ 65:3 warning Duplicate enum member value 07 @typescript-eslint/no-duplicate-enum-values
45
+ 66:3 warning Duplicate enum member value fc @typescript-eslint/no-duplicate-enum-values
46
+
47
+ 33 problems (0 errors, 33 warnings)
48
+ 0 errors and 9 warnings potentially fixable with the `--fix` option.
49
+
@@ -1,196 +1,99 @@
1
-
2
- 
3
- > @caravan/psbt@0.0.0 test
4
- > jest src
5
-
6
- Determining test suites to run...
7
-
8
- Test Suites: 0 of 2 total
9
- Tests: 0 total
10
- Snapshots: 0 total
11
- Time: 0 s, estimated 5 s
12
- ████████████████████████████████████████
13
-  RUNS  src/psbtv2.test.ts
14
-  RUNS  src/psbt.test.ts
15
-
16
- Test Suites: 0 of 2 total
17
- Tests: 0 total
18
- Snapshots: 0 total
19
- Time: 0 s, estimated 5 s
20
- ████████████████████████████████████████
21
-  RUNS  src/psbtv2.test.ts
22
-  RUNS  src/psbt.test.ts
23
-
24
- Test Suites: 0 of 2 total
25
- Tests: 0 total
26
- Snapshots: 0 total
27
- Time: 1 s, estimated 5 s
28
- ████████████████████████████████████████
29
-  RUNS  src/psbtv2.test.ts
30
-  RUNS  src/psbt.test.ts
31
-
32
- Test Suites: 0 of 2 total
33
- Tests: 0 total
34
- Snapshots: 0 total
35
- Time: 2 s, estimated 5 s
36
- ████████████████████████████████████████
37
-  RUNS  src/psbtv2.test.ts
38
-  RUNS  src/psbt.test.ts
39
-
40
- Test Suites: 0 of 2 total
41
- Tests: 0 total
42
- Snapshots: 0 total
43
- Time: 3 s, estimated 5 s
44
- ████████████████████████████████████████
45
-  RUNS  src/psbtv2.test.ts
46
-  RUNS  src/psbt.test.ts
47
-
48
- Test Suites: 0 of 2 total
49
- Tests: 67 passed, 67 total
50
- Snapshots: 0 total
51
- Time: 3 s, estimated 5 s
52
- ████████████████████████████████████████
53
-
54
-  RUNS  src/psbtv2.test.ts
55
-  RUNS  src/psbt.test.ts
56
-
57
- Test Suites: 0 of 2 total
58
- Tests: 67 passed, 67 total
59
- Snapshots: 0 total
60
- Time: 3 s, estimated 5 s
61
- ████████████████████████████████████████
62
-  RUNS  src/psbtv2.test.ts
63
-  RUNS  src/psbt.test.ts
64
-
65
- Test Suites: 0 of 2 total
66
- Tests: 67 passed, 67 total
67
- Snapshots: 0 total
68
- Time: 3 s, estimated 5 s
69
- ████████████████████████████████████████
70
-  RUNS  src/psbtv2.test.ts
71
-
72
- Test Suites: 1 passed, 1 of 2 total
73
- Tests: 134 passed, 134 total
74
- Snapshots: 0 total
75
- Time: 3 s, estimated 5 s
76
- ████████████████████████████████████████
77
-  RUNS  src/psbtv2.test.ts
78
-
79
- Test Suites: 1 passed, 1 of 2 total
80
- Tests: 156 passed, 156 total
81
- Snapshots: 0 total
82
- Time: 3 s, estimated 5 s
83
- ████████████████████████████████████████
84
-
85
-  RUNS  src/psbtv2.test.ts
86
-
87
- Test Suites: 1 passed, 1 of 2 total
88
- Tests: 156 passed, 156 total
89
- Snapshots: 0 total
90
- Time: 3 s, estimated 5 s
91
- ████████████████████████████████████████
92
-
93
- console.warn
94
-  Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
95
- 
96
-    892 | // lifecycle defined for PsbtV2.
97
-    893 | public dangerouslySetGlobalTxVersion1() {
98
-  > 894 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
99
-    | ^
100
-    895 | const bw = new BufferWriter();
101
-    896 | bw.writeI32(1);
102
-    897 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
103
- 
104
-  at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2.ts:894:13)
105
-  at Function.FromV0 (src/psbtv2.ts:1208:14)
106
-  at t (src/psbtv2.test.ts:947:34)
107
-  at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:74:11)
108
-  at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)
109
-  at src/psbtv2.test.ts:948:25
110
-
111
- console.warn
112
-  Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
113
- 
114
-    892 | // lifecycle defined for PsbtV2.
115
-    893 | public dangerouslySetGlobalTxVersion1() {
116
-  > 894 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
117
-    | ^
118
-    895 | const bw = new BufferWriter();
119
-    896 | bw.writeI32(1);
120
-    897 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
121
- 
122
-  at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2.ts:894:13)
123
-  at Function.FromV0 (src/psbtv2.ts:1208:14)
124
-  at t (src/psbtv2.test.ts:947:34)
125
-  at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:74:11)
126
-  at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)
127
-  at src/psbtv2.test.ts:948:25
128
-
129
- console.warn
130
-  Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
131
- 
132
-    892 | // lifecycle defined for PsbtV2.
133
-    893 | public dangerouslySetGlobalTxVersion1() {
134
-  > 894 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
135
-    | ^
136
-    895 | const bw = new BufferWriter();
137
-    896 | bw.writeI32(1);
138
-    897 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
139
- 
140
-  at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2.ts:894:13)
141
-  at Function.FromV0 (src/psbtv2.ts:1208:14)
142
-  at src/psbtv2.test.ts:959:25
143
-
144
- console.error
145
-  Error: 
146
-  at PsbtV2.<anonymous> (/Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbtv2.test.ts:1044:13)
147
-  at /Users/atreides/repos/caravan-monorepo/node_modules/jest-mock/build/index.js:397:39
148
-  at PsbtV2.<anonymous> (/Users/atreides/repos/caravan-monorepo/node_modules/jest-mock/build/index.js:404:13)
149
-  at PsbtV2.mockConstructor [as handleSighashType] (/Users/atreides/repos/caravan-monorepo/node_modules/jest-mock/build/index.js:148:19)
150
-  at PsbtV2.addPartialSig (/Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbtv2.ts:1120:12)
151
-  at Object.<anonymous> (/Users/atreides/repos/caravan-monorepo/packages/caravan-psbt/src/psbtv2.test.ts:1049:10)
152
-  at Promise.then.completed (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/utils.js:298:28)
153
-  at new Promise (<anonymous>)
154
-  at callAsyncCircusFn (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/utils.js:231:10)
155
-  at _callCircusTest (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/run.js:316:40)
156
-  at processTicksAndRejections (node:internal/process/task_queues:95:5)
157
-  at _runTest (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/run.js:252:3)
158
-  at _runTestsForDescribeBlock (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/run.js:126:9)
159
-  at _runTestsForDescribeBlock (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/run.js:121:9)
160
-  at run (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/run.js:71:3)
161
-  at runAndTransformResultsToJestFormat (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
162
-  at jestAdapter (/Users/atreides/repos/caravan-monorepo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
163
-  at runTestInternal (/Users/atreides/repos/caravan-monorepo/node_modules/jest-runner/build/runTest.js:367:16)
164
-  at runTest (/Users/atreides/repos/caravan-monorepo/node_modules/jest-runner/build/runTest.js:444:34)
165
-  at Object.worker (/Users/atreides/repos/caravan-monorepo/node_modules/jest-runner/build/testWorker.js:106:12)
166
- 
167
-    1120 | this.handleSighashType(sig);
168
-    1121 | } catch (err) {
169
-  > 1122 | console.error(err);
170
-    | ^
171
-    1123 | // To remain atomic, attempt to reset everything to the way it was.
172
-    1124 | this.inputMaps[inputIndex].delete(key);
173
-    1125 | this.PSBT_GLOBAL_TX_MODIFIABLE = modBackup;
174
- 
175
-  at PsbtV2.addPartialSig (src/psbtv2.ts:1122:15)
176
-  at Object.<anonymous> (src/psbtv2.test.ts:1049:10)
177
-
178
-
179
-  RUNS  src/psbtv2.test.ts
180
-
181
- Test Suites: 1 passed, 1 of 2 total
182
- Tests: 156 passed, 156 total
183
- Snapshots: 0 total
184
- Time: 3 s, estimated 5 s
185
- ████████████████████████████████████████
186
-
187
- Test Suites: 2 passed, 2 total
188
- Tests: 177 passed, 177 total
189
- Snapshots: 0 total
190
- Time: 3 s, estimated 5 s
191
- ████████████████████████████████████████
192
- Test Suites: 2 passed, 2 total
193
- Tests: 177 passed, 177 total
194
- Snapshots: 0 total
195
- Time: 3.973 s, estimated 5 s
196
- Ran all test suites matching /src/i.
1
+
2
+ > @caravan/psbt@1.0.1 test
3
+ > jest src
4
+
5
+ PASS src/psbt.test.ts
6
+ PASS src/psbtv2/psbtv2.test.ts
7
+ ● Console
8
+
9
+ console.warn
10
+ Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
11
+
12
+ 592 | */
13
+ 593 | public dangerouslySetGlobalTxVersion1() {
14
+ > 594 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
15
+ | ^
16
+ 595 | const bw = new BufferWriter();
17
+ 596 | bw.writeI32(1);
18
+ 597 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
19
+
20
+ at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2/psbtv2.ts:594:13)
21
+ at Function.FromV0 (src/psbtv2/psbtv2.ts:928:14)
22
+ at t (src/psbtv2/psbtv2.test.ts:947:34)
23
+ at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:74:11)
24
+ at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)
25
+ at src/psbtv2/psbtv2.test.ts:948:25
26
+
27
+ console.warn
28
+ Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
29
+
30
+ 592 | */
31
+ 593 | public dangerouslySetGlobalTxVersion1() {
32
+ > 594 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
33
+ | ^
34
+ 595 | const bw = new BufferWriter();
35
+ 596 | bw.writeI32(1);
36
+ 597 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
37
+
38
+ at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2/psbtv2.ts:594:13)
39
+ at Function.FromV0 (src/psbtv2/psbtv2.ts:928:14)
40
+ at t (src/psbtv2/psbtv2.test.ts:947:34)
41
+ at Object.<anonymous> (../../node_modules/expect/build/toThrowMatchers.js:74:11)
42
+ at Object.throwingMatcher [as toThrow] (../../node_modules/expect/build/index.js:320:21)
43
+ at src/psbtv2/psbtv2.test.ts:948:25
44
+
45
+ console.warn
46
+ Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!
47
+
48
+ 592 | */
49
+ 593 | public dangerouslySetGlobalTxVersion1() {
50
+ > 594 | console.warn("Dangerously setting PsbtV2.PSBT_GLOBAL_TX_VERSION to 1!");
51
+ | ^
52
+ 595 | const bw = new BufferWriter();
53
+ 596 | bw.writeI32(1);
54
+ 597 | this.globalMap.set(KeyType.PSBT_GLOBAL_TX_VERSION, bw.render());
55
+
56
+ at PsbtV2.dangerouslySetGlobalTxVersion1 (src/psbtv2/psbtv2.ts:594:13)
57
+ at Function.FromV0 (src/psbtv2/psbtv2.ts:928:14)
58
+ at src/psbtv2/psbtv2.test.ts:959:25
59
+
60
+ console.error
61
+ Error:
62
+ at PsbtV2.<anonymous> (/home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/psbtv2.test.ts:1044:13)
63
+ at /home/runner/work/caravan/caravan/node_modules/jest-mock/build/index.js:397:39
64
+ at PsbtV2.<anonymous> (/home/runner/work/caravan/caravan/node_modules/jest-mock/build/index.js:404:13)
65
+ at PsbtV2.mockConstructor [as handleSighashType] (/home/runner/work/caravan/caravan/node_modules/jest-mock/build/index.js:148:19)
66
+ at PsbtV2.addPartialSig (/home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/psbtv2.ts:833:12)
67
+ at Object.<anonymous> (/home/runner/work/caravan/caravan/packages/caravan-psbt/src/psbtv2/psbtv2.test.ts:1049:10)
68
+ at Promise.then.completed (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/utils.js:298:28)
69
+ at new Promise (<anonymous>)
70
+ at callAsyncCircusFn (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/utils.js:231:10)
71
+ at _callCircusTest (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/run.js:316:40)
72
+ at processTicksAndRejections (node:internal/process/task_queues:95:5)
73
+ at _runTest (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/run.js:252:3)
74
+ at _runTestsForDescribeBlock (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/run.js:126:9)
75
+ at _runTestsForDescribeBlock (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/run.js:121:9)
76
+ at run (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/run.js:71:3)
77
+ at runAndTransformResultsToJestFormat (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
78
+ at jestAdapter (/home/runner/work/caravan/caravan/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
79
+ at runTestInternal (/home/runner/work/caravan/caravan/node_modules/jest-runner/build/runTest.js:367:16)
80
+ at runTest (/home/runner/work/caravan/caravan/node_modules/jest-runner/build/runTest.js:444:34)
81
+ at Object.worker (/home/runner/work/caravan/caravan/node_modules/jest-runner/build/testWorker.js:106:12)
82
+
83
+ 833 | this.handleSighashType(sig);
84
+ 834 | } catch (err) {
85
+ > 835 | console.error(err);
86
+ | ^
87
+ 836 | // To remain atomic, attempt to reset everything to the way it was.
88
+ 837 | this.inputMaps[inputIndex].delete(key);
89
+ 838 | this.PSBT_GLOBAL_TX_MODIFIABLE = modBackup;
90
+
91
+ at PsbtV2.addPartialSig (src/psbtv2/psbtv2.ts:835:15)
92
+ at Object.<anonymous> (src/psbtv2/psbtv2.test.ts:1049:10)
93
+
94
+
95
+ Test Suites: 2 passed, 2 total
96
+ Tests: 177 passed, 177 total
97
+ Snapshots: 0 total
98
+ Time: 5.102 s
99
+ Ran all test suites matching /src/i.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @caravan/psbt
2
2
 
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#57](https://github.com/caravan-bitcoin/caravan/pull/57) [`0c6e919`](https://github.com/caravan-bitcoin/caravan/commit/0c6e91936724fa76651d0baf16f5a4e52d375718) Thanks [@Shadouts](https://github.com/Shadouts)! - psbtv2 module directory added and many types have been split into their own module files.
8
+
3
9
  ## 0.0.0
4
10
 
5
11
  ### Patch Changes