@bitgo-beta/sdk-coin-sui 3.0.3-beta.26 → 3.0.3-beta.260

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +401 -0
  2. package/dist/src/lib/compareTransactionBlocks.d.ts +2 -3
  3. package/dist/src/lib/compareTransactionBlocks.d.ts.map +1 -1
  4. package/dist/src/lib/compareTransactionBlocks.js +1 -1
  5. package/dist/src/lib/customTransaction.d.ts +57 -0
  6. package/dist/src/lib/customTransaction.d.ts.map +1 -0
  7. package/dist/src/lib/customTransaction.js +159 -0
  8. package/dist/src/lib/customTransactionBuilder.d.ts +46 -0
  9. package/dist/src/lib/customTransactionBuilder.d.ts.map +1 -0
  10. package/dist/src/lib/customTransactionBuilder.js +117 -0
  11. package/dist/src/lib/iface.d.ts +21 -4
  12. package/dist/src/lib/iface.d.ts.map +1 -1
  13. package/dist/src/lib/iface.js +14 -1
  14. package/dist/src/lib/index.d.ts +2 -0
  15. package/dist/src/lib/index.d.ts.map +1 -1
  16. package/dist/src/lib/index.js +6 -2
  17. package/dist/src/lib/mystenlab/builder/Inputs.d.ts.map +1 -1
  18. package/dist/src/lib/mystenlab/builder/Inputs.js +1 -1
  19. package/dist/src/lib/mystenlab/builder/TransactionBlock.js +33 -35
  20. package/dist/src/lib/mystenlab/types/events.d.ts +6 -6
  21. package/dist/src/lib/mystenlab/types/sui-bcs.d.ts.map +1 -1
  22. package/dist/src/lib/mystenlab/types/sui-bcs.js +2 -2
  23. package/dist/src/lib/mystenlab/types/transactions.d.ts +28 -28
  24. package/dist/src/lib/stakingBuilder.d.ts +3 -3
  25. package/dist/src/lib/stakingBuilder.d.ts.map +1 -1
  26. package/dist/src/lib/stakingBuilder.js +28 -25
  27. package/dist/src/lib/stakingTransaction.d.ts +1 -0
  28. package/dist/src/lib/stakingTransaction.d.ts.map +1 -1
  29. package/dist/src/lib/stakingTransaction.js +9 -12
  30. package/dist/src/lib/transaction.d.ts +2 -0
  31. package/dist/src/lib/transaction.d.ts.map +1 -1
  32. package/dist/src/lib/transaction.js +19 -2
  33. package/dist/src/lib/transactionBuilderFactory.d.ts +4 -1
  34. package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
  35. package/dist/src/lib/transactionBuilderFactory.js +11 -1
  36. package/dist/src/lib/transferTransaction.d.ts +1 -0
  37. package/dist/src/lib/transferTransaction.d.ts.map +1 -1
  38. package/dist/src/lib/unstakingBuilder.d.ts +4 -0
  39. package/dist/src/lib/unstakingBuilder.d.ts.map +1 -1
  40. package/dist/src/lib/unstakingBuilder.js +62 -5
  41. package/dist/src/lib/unstakingTransaction.d.ts +20 -8
  42. package/dist/src/lib/unstakingTransaction.d.ts.map +1 -1
  43. package/dist/src/lib/unstakingTransaction.js +95 -31
  44. package/dist/src/lib/utils.d.ts +14 -4
  45. package/dist/src/lib/utils.d.ts.map +1 -1
  46. package/dist/src/lib/utils.js +84 -14
  47. package/package.json +9 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,407 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [4.22.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.22.0) (2024-01-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
11
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
12
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
13
+
14
+ ### Features
15
+
16
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
17
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
18
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
19
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
20
+
21
+ # [4.21.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.21.0) (2024-01-26)
22
+
23
+ ### Bug Fixes
24
+
25
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
26
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
27
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
28
+
29
+ ### Features
30
+
31
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
32
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
33
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
34
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
35
+
36
+ # [4.20.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.20.0) (2024-01-26)
37
+
38
+ ### Bug Fixes
39
+
40
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
41
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
42
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
43
+
44
+ ### Features
45
+
46
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
47
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
48
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
49
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
50
+
51
+ # [4.19.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.19.0) (2024-01-25)
52
+
53
+ ### Bug Fixes
54
+
55
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
56
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
57
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
58
+
59
+ ### Features
60
+
61
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
62
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
63
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
64
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
65
+
66
+ # [4.18.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.18.0) (2024-01-22)
67
+
68
+ ### Bug Fixes
69
+
70
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
71
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
72
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
73
+
74
+ ### Features
75
+
76
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
77
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
78
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
79
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
80
+
81
+ # [4.17.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.17.0) (2024-01-09)
82
+
83
+ ### Bug Fixes
84
+
85
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
86
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
87
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
88
+
89
+ ### Features
90
+
91
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
92
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
93
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
94
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
95
+
96
+ # [4.16.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.16.0) (2024-01-03)
97
+
98
+ ### Bug Fixes
99
+
100
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
101
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
102
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
103
+
104
+ ### Features
105
+
106
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
107
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
108
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
109
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
110
+
111
+ # [4.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.15.0) (2023-12-18)
112
+
113
+ ### Bug Fixes
114
+
115
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
116
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
117
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
118
+
119
+ ### Features
120
+
121
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
122
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
123
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
124
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
125
+
126
+ # [4.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.14.0) (2023-12-12)
127
+
128
+ ### Bug Fixes
129
+
130
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
131
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
132
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
133
+
134
+ ### Features
135
+
136
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
137
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
138
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
139
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
140
+
141
+ # [4.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.13.0) (2023-12-09)
142
+
143
+ ### Bug Fixes
144
+
145
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
146
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
147
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
148
+
149
+ ### Features
150
+
151
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
152
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
153
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
154
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
155
+
156
+ # [4.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.12.0) (2023-12-05)
157
+
158
+ ### Bug Fixes
159
+
160
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
161
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
162
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
163
+
164
+ ### Features
165
+
166
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
167
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
168
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
169
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
170
+
171
+ # [4.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.11.0) (2023-11-28)
172
+
173
+ ### Bug Fixes
174
+
175
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
176
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
177
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
178
+
179
+ ### Features
180
+
181
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
182
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
183
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
184
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
185
+
186
+ # [4.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.10.0) (2023-11-24)
187
+
188
+ ### Bug Fixes
189
+
190
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
191
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
192
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
193
+
194
+ ### Features
195
+
196
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
197
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
198
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
199
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
200
+
201
+ # [4.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.9.0) (2023-11-17)
202
+
203
+ ### Bug Fixes
204
+
205
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
206
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
207
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
208
+
209
+ ### Features
210
+
211
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
212
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
213
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
214
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
215
+
216
+ # [4.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.8.0) (2023-11-13)
217
+
218
+ ### Bug Fixes
219
+
220
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
221
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
222
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
223
+
224
+ ### Features
225
+
226
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
227
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
228
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
229
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
230
+
231
+ # [4.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.7.0) (2023-11-13)
232
+
233
+ ### Bug Fixes
234
+
235
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
236
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
237
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
238
+
239
+ ### Features
240
+
241
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
242
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
243
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
244
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
245
+
246
+ # [4.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.6.0) (2023-11-13)
247
+
248
+ ### Bug Fixes
249
+
250
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
251
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
252
+ - **sdk-coin-sui:** parse recipients for custom tx ([0781d50](https://github.com/BitGo/BitGoJS/commit/0781d5090ce4c25a4f7fa9e47bcf858b35990140))
253
+
254
+ ### Features
255
+
256
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
257
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
258
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
259
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
260
+
261
+ # [4.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.5.0) (2023-10-20)
262
+
263
+ ### Bug Fixes
264
+
265
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
266
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
267
+
268
+ ### Features
269
+
270
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
271
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
272
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
273
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
274
+
275
+ # [4.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.4.0) (2023-10-18)
276
+
277
+ ### Bug Fixes
278
+
279
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
280
+ - **sdk-coin-sui:** fix sui tx deserialization type inference bug ([b9e3f5e](https://github.com/BitGo/BitGoJS/commit/b9e3f5e19fa9cfa6f905d9c2af59aa2158af2d49))
281
+
282
+ ### Features
283
+
284
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
285
+ - **sdk-coin-sui:** add more validations for custom tx ([6746f27](https://github.com/BitGo/BitGoJS/commit/6746f27cbc87a58c034c0a1b4b5fc67d34a3b394))
286
+ - **sdk-coin-sui:** add new moveCall function ([c832651](https://github.com/BitGo/BitGoJS/commit/c8326510e8a1a039786408c832311e0faa8ddb0c))
287
+ - **sdk-coin-sui:** export the new custom tx type ([0bd4130](https://github.com/BitGo/BitGoJS/commit/0bd4130afea919174cc29ac0575806096642e0cf))
288
+
289
+ # [4.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.3.0) (2023-09-25)
290
+
291
+ ### Bug Fixes
292
+
293
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
294
+
295
+ ### Features
296
+
297
+ - **sdk-coin-sui:** add custom tx type ([8136220](https://github.com/BitGo/BitGoJS/commit/81362200468f8a2d25b97186f56de5d5729fa0cf))
298
+
299
+ ## [4.2.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.10) (2023-09-09)
300
+
301
+ ### Bug Fixes
302
+
303
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
304
+
305
+ ## [4.2.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.9) (2023-09-09)
306
+
307
+ ### Bug Fixes
308
+
309
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
310
+
311
+ ## [4.2.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.8) (2023-09-07)
312
+
313
+ ### Bug Fixes
314
+
315
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
316
+
317
+ ## [4.2.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.7) (2023-09-05)
318
+
319
+ ### Bug Fixes
320
+
321
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
322
+
323
+ ## [4.2.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.6) (2023-09-01)
324
+
325
+ ### Bug Fixes
326
+
327
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
328
+
329
+ ## [4.2.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.5) (2023-08-29)
330
+
331
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
332
+
333
+ ## [4.2.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.4) (2023-08-25)
334
+
335
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
336
+
337
+ ## [4.2.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.3) (2023-08-24)
338
+
339
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
340
+
341
+ ## [4.2.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.2) (2023-08-16)
342
+
343
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
344
+
345
+ ## [4.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.2.0...@bitgo/sdk-coin-sui@4.2.1) (2023-08-16)
346
+
347
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
348
+
349
+ # [4.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.0.0...@bitgo/sdk-coin-sui@4.2.0) (2023-08-04)
350
+
351
+ ### Features
352
+
353
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
354
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
355
+
356
+ # [4.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@4.0.0...@bitgo/sdk-coin-sui@4.1.0) (2023-07-28)
357
+
358
+ ### Features
359
+
360
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
361
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
362
+
363
+ # [4.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.2.0...@bitgo/sdk-coin-sui@4.0.0) (2023-07-18)
364
+
365
+ ### Features
366
+
367
+ - **sdk-coin-sui:** support stakeMany ([a908565](https://github.com/BitGo/BitGoJS/commit/a908565bf1e1b6d28503836f85ba83fc7472b1cf))
368
+
369
+ ### BREAKING CHANGES
370
+
371
+ - **sdk-coin-sui:** change addStake interface to support stake multiple
372
+ validator
373
+
374
+ # [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.1.2...@bitgo/sdk-coin-sui@3.2.0) (2023-06-21)
375
+
376
+ ### Bug Fixes
377
+
378
+ - **sdk-coin-sui:** add output value for unstaking txs ([9430e60](https://github.com/BitGo/BitGoJS/commit/9430e60d8000bb8d76e3057501c04d403458c1e7))
379
+ - **sdk-coin-sui:** fix method name for parsing reserialized tx pair ([a0e052b](https://github.com/BitGo/BitGoJS/commit/a0e052be7153f38de0d9fce57fd0776ef2f4a7d2))
380
+
381
+ ### Features
382
+
383
+ - **sdk-coin-sui:** double-check reserialized transactions ([dc2d672](https://github.com/BitGo/BitGoJS/commit/dc2d6725ee23767533a05e06990169b990104f7e))
384
+
385
+ ## [3.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.1.1...@bitgo/sdk-coin-sui@3.1.2) (2023-06-14)
386
+
387
+ ### Bug Fixes
388
+
389
+ - **sdk-coin-sui:** fix unstaking again ([ea0345f](https://github.com/BitGo/BitGoJS/commit/ea0345fec578dbb44c4230c9fde520dae1431151))
390
+
391
+ ## [3.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.1.0...@bitgo/sdk-coin-sui@3.1.1) (2023-06-13)
392
+
393
+ **Note:** Version bump only for package @bitgo/sdk-coin-sui
394
+
395
+ # [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.0.7...@bitgo/sdk-coin-sui@3.1.0) (2023-06-07)
396
+
397
+ ### Bug Fixes
398
+
399
+ - **sdk-coin-sui:** add method in RpcClient debug output ([e2541f2](https://github.com/BitGo/BitGoJS/commit/e2541f286ee04eeb96ddf4d9860014a26b47d592))
400
+ - **sdk-coin-sui:** improve unstaking test ([9e63d54](https://github.com/BitGo/BitGoJS/commit/9e63d548036516b3bd71c6527e24a290d5fd6674))
401
+ - **sdk-coin-sui:** remove `spec:` config in mocharc.yml ([4b53e1b](https://github.com/BitGo/BitGoJS/commit/4b53e1b3df47e6f33324a00c01e472f7215dc5ad))
402
+
403
+ ### Features
404
+
405
+ - **sdk-coin-sui:** add support for partial unstaking ([20cdb77](https://github.com/BitGo/BitGoJS/commit/20cdb774159dac7335298f3d4d83f8a29018f3c3))
406
+
6
407
  ## [3.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-sui@3.0.6...@bitgo/sdk-coin-sui@3.0.7) (2023-06-05)
7
408
 
8
409
  ### Bug Fixes
@@ -1,9 +1,8 @@
1
- import { SuiTransaction } from './iface';
2
1
  export declare function assertEqualTransactionBlocks(a: {
3
- inputs: SuiTransaction['tx']['inputs'];
2
+ inputs: unknown[];
4
3
  transactions: unknown[];
5
4
  }, b: {
6
- inputs: SuiTransaction['tx']['inputs'];
5
+ inputs: unknown[];
7
6
  transactions: unknown[];
8
7
  }): void;
9
8
  //# sourceMappingURL=compareTransactionBlocks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compareTransactionBlocks.d.ts","sourceRoot":"","sources":["../../../src/lib/compareTransactionBlocks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,wBAAgB,4BAA4B,CAC1C,CAAC,EAAE;IAAE,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;IAAC,YAAY,EAAE,OAAO,EAAE,CAAA;CAAE,EACtE,CAAC,EAAE;IAAE,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;IAAC,YAAY,EAAE,OAAO,EAAE,CAAA;CAAE,GACrE,IAAI,CAGN"}
1
+ {"version":3,"file":"compareTransactionBlocks.d.ts","sourceRoot":"","sources":["../../../src/lib/compareTransactionBlocks.ts"],"names":[],"mappings":"AAEA,wBAAgB,4BAA4B,CAC1C,CAAC,EAAE;IAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IAAC,YAAY,EAAE,OAAO,EAAE,CAAA;CAAE,EACjD,CAAC,EAAE;IAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IAAC,YAAY,EAAE,OAAO,EAAE,CAAA;CAAE,GAChD,IAAI,CAGN"}
@@ -10,4 +10,4 @@ function assertEqualTransactionBlocks(a, b) {
10
10
  assert_1.default.deepStrictEqual(a.transactions, b.transactions, 'Different transactions');
11
11
  }
12
12
  exports.assertEqualTransactionBlocks = assertEqualTransactionBlocks;
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFyZVRyYW5zYWN0aW9uQmxvY2tzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jb21wYXJlVHJhbnNhY3Rpb25CbG9ja3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsb0RBQTRCO0FBRzVCLFNBQWdCLDRCQUE0QixDQUMxQyxDQUFzRSxFQUN0RSxDQUFzRTtJQUV0RSxnQkFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxNQUFNLEVBQUUsa0JBQWtCLENBQUMsQ0FBQztJQUMvRCxnQkFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQyxZQUFZLEVBQUUsd0JBQXdCLENBQUMsQ0FBQztBQUNuRixDQUFDO0FBTkQsb0VBTUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgYXNzZXJ0IGZyb20gJ2Fzc2VydCc7XG5pbXBvcnQgeyBTdWlUcmFuc2FjdGlvbiB9IGZyb20gJy4vaWZhY2UnO1xuXG5leHBvcnQgZnVuY3Rpb24gYXNzZXJ0RXF1YWxUcmFuc2FjdGlvbkJsb2NrcyhcbiAgYTogeyBpbnB1dHM6IFN1aVRyYW5zYWN0aW9uWyd0eCddWydpbnB1dHMnXTsgdHJhbnNhY3Rpb25zOiB1bmtub3duW10gfSxcbiAgYjogeyBpbnB1dHM6IFN1aVRyYW5zYWN0aW9uWyd0eCddWydpbnB1dHMnXTsgdHJhbnNhY3Rpb25zOiB1bmtub3duW10gfVxuKTogdm9pZCB7XG4gIGFzc2VydC5kZWVwU3RyaWN0RXF1YWwoYS5pbnB1dHMsIGIuaW5wdXRzLCAnRGlmZmVyZW50IGlucHV0cycpO1xuICBhc3NlcnQuZGVlcFN0cmljdEVxdWFsKGEudHJhbnNhY3Rpb25zLCBiLnRyYW5zYWN0aW9ucywgJ0RpZmZlcmVudCB0cmFuc2FjdGlvbnMnKTtcbn1cbiJdfQ==
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFyZVRyYW5zYWN0aW9uQmxvY2tzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jb21wYXJlVHJhbnNhY3Rpb25CbG9ja3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsb0RBQTRCO0FBRTVCLFNBQWdCLDRCQUE0QixDQUMxQyxDQUFpRCxFQUNqRCxDQUFpRDtJQUVqRCxnQkFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQyxNQUFNLEVBQUUsa0JBQWtCLENBQUMsQ0FBQztJQUMvRCxnQkFBTSxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQyxZQUFZLEVBQUUsd0JBQXdCLENBQUMsQ0FBQztBQUNuRixDQUFDO0FBTkQsb0VBTUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgYXNzZXJ0IGZyb20gJ2Fzc2VydCc7XG5cbmV4cG9ydCBmdW5jdGlvbiBhc3NlcnRFcXVhbFRyYW5zYWN0aW9uQmxvY2tzKFxuICBhOiB7IGlucHV0czogdW5rbm93bltdOyB0cmFuc2FjdGlvbnM6IHVua25vd25bXSB9LFxuICBiOiB7IGlucHV0czogdW5rbm93bltdOyB0cmFuc2FjdGlvbnM6IHVua25vd25bXSB9XG4pOiB2b2lkIHtcbiAgYXNzZXJ0LmRlZXBTdHJpY3RFcXVhbChhLmlucHV0cywgYi5pbnB1dHMsICdEaWZmZXJlbnQgaW5wdXRzJyk7XG4gIGFzc2VydC5kZWVwU3RyaWN0RXF1YWwoYS50cmFuc2FjdGlvbnMsIGIudHJhbnNhY3Rpb25zLCAnRGlmZmVyZW50IHRyYW5zYWN0aW9ucycpO1xufVxuIl19
@@ -0,0 +1,57 @@
1
+ import { CustomProgrammableTransaction, TransactionExplanation, TxData } from './iface';
2
+ import { Transaction } from './transaction';
3
+ import { BaseCoin as CoinConfig } from '@bitgo-beta/statics';
4
+ import { BaseKey, Recipient } from '@bitgo-beta/sdk-core';
5
+ export declare class CustomTransaction extends Transaction<CustomProgrammableTransaction> {
6
+ private _rawTransaction;
7
+ private _recipients;
8
+ constructor(_coinConfig: Readonly<CoinConfig>);
9
+ /**
10
+ * @inheritdoc
11
+ * @param rawTransaction
12
+ */
13
+ fromRawTransaction(rawTransaction: string): void;
14
+ /**
15
+ * @inheritdoc
16
+ */
17
+ get id(): string;
18
+ /**
19
+ * @inheritdoc
20
+ */
21
+ canSign(key: BaseKey): boolean;
22
+ /**
23
+ * @inheritdoc
24
+ */
25
+ toBroadcastFormat(): string;
26
+ /**
27
+ * @inheritdoc
28
+ */
29
+ loadInputsAndOutputs(): void;
30
+ /**
31
+ * Get the raw transaction base64 string
32
+ */
33
+ get rawTransaction(): string;
34
+ /**
35
+ * Get the recipients of the transaction if there is any transfers.
36
+ */
37
+ get recipients(): Recipient[];
38
+ /**
39
+ * @inheritdoc
40
+ */
41
+ getTxData(): TxData;
42
+ /**
43
+ * @inheritdoc
44
+ */
45
+ toJson(): TxData;
46
+ /**
47
+ * @inheritdoc
48
+ */
49
+ explainTransaction(): TransactionExplanation;
50
+ /**
51
+ * Returns a complete explanation of the custom transaction
52
+ * @param json
53
+ * @param explanationResult
54
+ */
55
+ private explainCustomTransaction;
56
+ }
57
+ //# sourceMappingURL=customTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customTransaction.d.ts","sourceRoot":"","sources":["../../../src/lib/customTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAG7B,sBAAsB,EACtB,MAAM,EACP,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAE,OAAO,EAA2B,SAAS,EAAyC,MAAM,sBAAsB,CAAC;AAG1H,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,6BAA6B,CAAC;IAC/E,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,WAAW,CAAc;gBAErB,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC;IAI7C;;;OAGG;IACH,kBAAkB,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI;IAgBhD;;OAEG;IACH,IAAI,EAAE,IAAI,MAAM,CAEf;IAED;;OAEG;IACH,OAAO,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO;IAI9B;;OAEG;IACH,iBAAiB,IAAI,MAAM;IAO3B;;OAEG;IACH,oBAAoB,IAAI,IAAI;IAsB5B;;OAEG;IACH,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,SAAS,EAAE,CAE5B;IAED;;OAEG;IACI,SAAS,IAAI,MAAM;IAgB1B;;OAEG;IACI,MAAM,IAAI,MAAM;IAiBvB;;OAEG;IACH,kBAAkB,IAAI,sBAAsB;IAiB5C;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}