@taqueria/plugin-contract-types 0.0.0-pr-786-30d7f8b9 → 0.0.0-pr-810-1d40bdfd
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/example/example-usage.ts +2 -2
- package/package.json +1 -1
package/example/example-usage.ts
CHANGED
|
@@ -54,12 +54,12 @@ export const exampleTypedMethods_existingWallet = async () => {
|
|
|
54
54
|
|
|
55
55
|
const contract = await Tezos.wallet.at<TestWallet>(`tz123`);
|
|
56
56
|
|
|
57
|
-
// SendParams are not
|
|
57
|
+
// SendParams are not stictly typed yet
|
|
58
58
|
// const bidSendResult = await contract.methods.bid(tas.nat(0)).send({ amount: tas.mutez(1000000) });
|
|
59
59
|
const bidSendResult = await contract.methods.bid(tas.nat(0)).send({ amount: tas.number(tas.mutez(1000000)) });
|
|
60
60
|
|
|
61
61
|
// Receipt only exists on wallet
|
|
62
|
-
const
|
|
62
|
+
const bidReciptResult = await bidSendResult.receipt();
|
|
63
63
|
const bidConfirmationResult = await bidSendResult.confirmation(10);
|
|
64
64
|
|
|
65
65
|
contract.methods.configure(
|