mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
expose both search methods
This commit is contained in:
parent
e1b4293125
commit
1874e24b61
@ -102,4 +102,8 @@ export default class Ocean {
|
||||
public async searchAssets(query: SearchQuery): Promise<any[]> {
|
||||
return AquariusProvider.getAquarius().queryMetadata(query)
|
||||
}
|
||||
|
||||
public async searchAssetsByText(query: SearchQuery): Promise<any[]> {
|
||||
return AquariusProvider.getAquarius().queryMetadataByText(query)
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ import ServiceAgreement from "../../keeper/contracts/ServiceAgreement"
|
||||
import Web3Provider from "../../keeper/Web3Provider"
|
||||
import MethodReflection from "../../models/MethodReflection"
|
||||
import ValuePair from "../../models/ValuePair"
|
||||
import Logger from "../../utils/Logger"
|
||||
import Account from "../Account"
|
||||
import OceanBase from "../OceanBase"
|
||||
import Condition from "./Condition"
|
||||
@ -28,7 +27,6 @@ export default class ServiceAgreementTemplate extends OceanBase {
|
||||
return method.dependency | method.timeout
|
||||
}))
|
||||
|
||||
Logger.log(dependencyMatrix)
|
||||
const serviceAgreement: ServiceAgreement = await ServiceAgreement.getInstance()
|
||||
|
||||
const receipt = await serviceAgreement.setupAgreementTemplate(
|
||||
|
Loading…
Reference in New Issue
Block a user