@wharfkit/contract
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -216,3 +216,3 @@ import { ABI, APIClient, API, ABIDef, NameType, Name, PermissionLevelType, BytesType, ABISerializableObject, Action, Blob } from '@wharfkit/antelope'; | ||
hasTable(name: NameType): boolean; | ||
table<RowType = any>(name: NameType, scope?: NameType, rowType?: any): Table<RowType>; | ||
table<RowType>(name: NameType, scope?: NameType, rowType?: any): Table<RowType | any>; | ||
get actionNames(): string[]; | ||
@@ -219,0 +219,0 @@ hasAction(name: NameType): boolean; |
{ | ||
"name": "@wharfkit/contract", | ||
"description": "ContractKit for Wharf", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"homepage": "https://github.com/wharfkit/contract", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -75,3 +75,3 @@ import { | ||
public table<RowType = any>(name: NameType, scope?: NameType, rowType?): Table<RowType> { | ||
public table<RowType>(name: NameType, scope?: NameType, rowType?): Table<RowType | any> { | ||
if (!this.hasTable(name)) { | ||
@@ -78,0 +78,0 @@ throw new Error(`Contract (${this.account}) does not have a table named (${name})`) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
101130