koilib 2.3.0 → 2.5.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/README.md CHANGED
@@ -112,8 +112,8 @@ a transaction, and read contracts.
112
112
  console.log(`Transaction id ${transaction.id} submitted`);
113
113
 
114
114
  // wait to be mined
115
- const blockId = await transactionResponse.wait();
116
- console.log(`Transaction mined. Block id: ${blockId}`);
115
+ const blockNumber = await transactionResponse.wait();
116
+ console.log(`Transaction mined. Block number: ${blockNumber}`);
117
117
 
118
118
  // read the balance
119
119
  const { result } = await koin.balanceOf(signer.getAddress());
@@ -135,8 +135,8 @@ It's also possible to upload contracts. First, follow the instructions in [koino
135
135
  const contract = new Contract({ signer, provider, bytecode });
136
136
  const { transactionResponse } = await contract.deploy();
137
137
  // wait to be mined
138
- const blockId = await transactionResponse.wait();
139
- console.log(`Contract uploaded in block id ${blockId}`);
138
+ const blockNumber = await transactionResponse.wait();
139
+ console.log(`Contract uploaded in block id ${blockNumber}`);
140
140
  })();
141
141
  ```
142
142