turing-wallet-provider 1.4.6 → 1.4.7

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 (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -182,12 +182,12 @@ interface Output {
182
182
  }
183
183
 
184
184
  interface SignAssociatedTransactionRequestData {
185
- mode: 'sequential' | 'fromSource';//sequential:连续父子交易,fromSource:使用源头交易的所有输出 默认为sequential
185
+ mode?: 'sequential' | 'fromSource';//sequential:连续父子交易,fromSource:使用源头交易的所有输出 默认为sequential
186
186
  sourceTxraw: string;
187
187
  sourceUtxos: Input[];
188
- inputs: Input[][];
189
- outputs: Output[][];
190
- autoChange: boolean;//默认为true true则子交易最后一个输出由钱包设置为找零输出
188
+ inputs?: Input[][];
189
+ outputs?: Output[][];
190
+ autoChange?: boolean;//默认为true true则子交易最后一个输出由钱包设置为找零输出
191
191
  }
192
192
 
193
193
  //p2pkh示例参数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turing-wallet-provider",
3
- "version": "1.4.6",
3
+ "version": "1.4.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [