liquid-sdk 1.3.1 → 1.3.2

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.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  // src/client.ts
2
2
  import {
3
+ createPublicClient,
4
+ http,
3
5
  decodeEventLog,
4
6
  encodeAbiParameters as encodeAbiParameters2,
5
7
  encodePacked,
@@ -1023,7 +1025,10 @@ var LiquidSDK = class {
1023
1025
  publicClient;
1024
1026
  walletClient;
1025
1027
  constructor(config) {
1026
- this.publicClient = config.publicClient;
1028
+ this.publicClient = config.publicClient ?? createPublicClient({
1029
+ chain: base2,
1030
+ transport: http()
1031
+ });
1027
1032
  this.walletClient = config.walletClient;
1028
1033
  }
1029
1034
  // ── Dev Buy Helper ───────────────────────────────────────────────