koilib 5.5.4 → 5.5.5
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/lib/Contract.d.ts +1 -1
- package/lib/browser/Contract.d.ts +1 -1
- package/package.json +1 -1
- package/src/Contract.ts +2 -2
package/lib/Contract.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export declare class Contract {
|
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
97
|
functions: {
|
|
98
|
-
[x: string]: <T = Record<string,
|
|
98
|
+
[x: string]: <T = Record<string, any>>(args?: any, opts?: CallContractOptions) => Promise<{
|
|
99
99
|
operation: OperationJson;
|
|
100
100
|
transaction?: TransactionJsonWait;
|
|
101
101
|
result?: T;
|
|
@@ -95,7 +95,7 @@ export declare class Contract {
|
|
|
95
95
|
* ```
|
|
96
96
|
*/
|
|
97
97
|
functions: {
|
|
98
|
-
[x: string]: <T = Record<string,
|
|
98
|
+
[x: string]: <T = Record<string, any>>(args?: any, opts?: CallContractOptions) => Promise<{
|
|
99
99
|
operation: OperationJson;
|
|
100
100
|
transaction?: TransactionJsonWait;
|
|
101
101
|
result?: T;
|
package/package.json
CHANGED
package/src/Contract.ts
CHANGED
|
@@ -109,8 +109,8 @@ export class Contract {
|
|
|
109
109
|
* ```
|
|
110
110
|
*/
|
|
111
111
|
functions: {
|
|
112
|
-
[x: string]: <T = Record<string,
|
|
113
|
-
args?:
|
|
112
|
+
[x: string]: <T = Record<string, any>>(
|
|
113
|
+
args?: any,
|
|
114
114
|
opts?: CallContractOptions
|
|
115
115
|
) => Promise<{
|
|
116
116
|
operation: OperationJson;
|