@parity/product-sdk-tx 0.1.0 → 0.2.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.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -1235
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/batch.ts +2 -2
- package/src/index.ts +12 -0
- package/src/submit.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -166,8 +166,8 @@ type TxEvent = {
|
|
|
166
166
|
*
|
|
167
167
|
* @param tx - A transaction object with `signSubmitAndWatch`. Works with raw PAPI
|
|
168
168
|
* transactions and Ink SDK `AsyncTransaction` wrappers (resolved automatically).
|
|
169
|
-
* @param signer - The signer to use. Can come from
|
|
170
|
-
* (`getProductAccountSigner`)
|
|
169
|
+
* @param signer - The signer to use. Can come from the Host API
|
|
170
|
+
* (`getProductAccountSigner`) or {@link createDevSigner}.
|
|
171
171
|
* @param options - Submission options (waitFor, timeout, mortality, status callback).
|
|
172
172
|
* @returns The transaction result once included/finalized.
|
|
173
173
|
*
|
|
@@ -189,8 +189,8 @@ declare function submitAndWatch(tx: SubmittableTransaction, signer: PolkadotSign
|
|
|
189
189
|
* chain that has the Utility pallet — no chain-specific imports required.
|
|
190
190
|
* **All calls must target the same chain as this API.** Do not mix decoded calls
|
|
191
191
|
* from different chains (e.g., Asset Hub and Bulletin) in a single batch.
|
|
192
|
-
* @param signer - The signer to use. Can come from
|
|
193
|
-
* (`getProductAccountSigner`)
|
|
192
|
+
* @param signer - The signer to use. Can come from the Host API
|
|
193
|
+
* (`getProductAccountSigner`) or {@link createDevSigner}.
|
|
194
194
|
* @param options - Optional {@link BatchSubmitOptions} (extends `SubmitOptions` with `mode`).
|
|
195
195
|
* @returns The transaction result from the batch submission.
|
|
196
196
|
*
|