@alephium/web3 0.5.4 → 0.6.0

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": "@alephium/web3",
3
- "version": "0.5.4",
3
+ "version": "0.6.0",
4
4
  "description": "A JS/TS library to interact with the Alephium platform",
5
5
  "license": "GPL",
6
6
  "main": "dist/src/index.js",
@@ -39,7 +39,8 @@ export abstract class TransactionBuilder {
39
39
  static from(nodeProvider: NodeProvider): TransactionBuilder
40
40
  static from(baseUrl: string, apiKey?: string, customFetch?: typeof fetch): TransactionBuilder
41
41
  static from(param0: string | NodeProvider, param1?: string, customFetch?: typeof fetch): TransactionBuilder {
42
- const nodeProvider = typeof param0 === 'string' ? new NodeProvider(param0, param1, customFetch) : (param0 as NodeProvider)
42
+ const nodeProvider =
43
+ typeof param0 === 'string' ? new NodeProvider(param0, param1, customFetch) : (param0 as NodeProvider)
43
44
  return new (class extends TransactionBuilder {
44
45
  get nodeProvider(): NodeProvider {
45
46
  return nodeProvider