@bsv/sdk 1.6.11 → 1.6.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsv/sdk",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "type": "module",
5
5
  "description": "BSV Blockchain Software Development Kit",
6
6
  "main": "dist/cjs/mod.js",
@@ -278,6 +278,7 @@ export default class WalletClient implements WalletInterface {
278
278
  counterparty?: PubKeyHex | 'self' | 'anyone'
279
279
  privileged?: BooleanDefaultFalse
280
280
  }): Promise<{ plaintext: Byte[] }> {
281
+ await this.connectToSubstrate()
281
282
  return await (this.substrate as WalletInterface).decrypt(
282
283
  args,
283
284
  this.originator