@bosonprotocol/core-sdk
Advanced tools
Comparing version 1.3.0-alpha.0 to 1.3.0-alpha.1
@@ -29,2 +29,3 @@ import { Web3LibAdapter, TransactionResponse, MetadataStorage, AnyMetadata, Log } from "@bosonprotocol/common"; | ||
getSellerByOperator(operator: string): Promise<accounts.RawSellerFromSubgraph>; | ||
getSellerByClerk(clerk: string): Promise<accounts.RawSellerFromSubgraph>; | ||
getSellerByAddress(address: string): Promise<accounts.RawSellerFromSubgraph>; | ||
@@ -31,0 +32,0 @@ createSellerAndOffer(sellerToCreate: accounts.CreateSellerArgs, offerToCreate: offers.CreateOfferArgs, overrides?: Partial<{ |
@@ -85,2 +85,7 @@ "use strict"; | ||
} | ||
getSellerByClerk(clerk) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return accounts.subgraph.getSellerByClerk(this._subgraphUrl, clerk); | ||
}); | ||
} | ||
getSellerByAddress(address) { | ||
@@ -87,0 +92,0 @@ return __awaiter(this, void 0, void 0, function* () { |
@@ -29,2 +29,3 @@ import { Web3LibAdapter, TransactionResponse, MetadataStorage, AnyMetadata, Log } from "@bosonprotocol/common"; | ||
getSellerByOperator(operator: string): Promise<accounts.RawSellerFromSubgraph>; | ||
getSellerByClerk(clerk: string): Promise<accounts.RawSellerFromSubgraph>; | ||
getSellerByAddress(address: string): Promise<accounts.RawSellerFromSubgraph>; | ||
@@ -31,0 +32,0 @@ createSellerAndOffer(sellerToCreate: accounts.CreateSellerArgs, offerToCreate: offers.CreateOfferArgs, overrides?: Partial<{ |
@@ -49,2 +49,5 @@ import { getDefaultConfig } from "@bosonprotocol/common"; | ||
} | ||
async getSellerByClerk(clerk) { | ||
return accounts.subgraph.getSellerByClerk(this._subgraphUrl, clerk); | ||
} | ||
async getSellerByAddress(address) { | ||
@@ -51,0 +54,0 @@ return accounts.subgraph.getSellerByAddress(this._subgraphUrl, address); |
{ | ||
"name": "@bosonprotocol/core-sdk", | ||
"version": "1.3.0-alpha.0", | ||
"version": "1.3.0-alpha.1", | ||
"description": "> TODO: description", | ||
@@ -49,3 +49,3 @@ "main": "./dist/cjs/index.js", | ||
}, | ||
"gitHead": "226aa10cbe962316a70c20ec170b4695620f7165" | ||
"gitHead": "984e2213847ca970f7944240ec77e46c5258bd9e" | ||
} |
@@ -83,2 +83,8 @@ import { | ||
public async getSellerByClerk( | ||
clerk: string | ||
): Promise<accounts.RawSellerFromSubgraph> { | ||
return accounts.subgraph.getSellerByClerk(this._subgraphUrl, clerk); | ||
} | ||
public async getSellerByAddress( | ||
@@ -85,0 +91,0 @@ address: string |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
206168
3085