ethereum-bloom-filters
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -35,2 +35,7 @@ /** | ||
/** | ||
* Checks if its a valid topic | ||
* @param topic encoded hex topic | ||
*/ | ||
export declare function isTopic(topic: string): boolean; | ||
/** | ||
* Is valid address | ||
@@ -37,0 +42,0 @@ * @param address The address |
@@ -139,2 +139,3 @@ "use strict"; | ||
} | ||
exports.isTopic = isTopic; | ||
/** | ||
@@ -141,0 +142,0 @@ * Is valid address |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "ethereum-bloom-filters", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Ability to test bloom filters for ethereum.", | ||
@@ -11,3 +11,3 @@ "main": "dist/index.js", | ||
"publish-sdk": "npm run build && npm publish --access public", | ||
"build-web-scripts": "gulp" | ||
"build-web-scripts": "tsc && gulp" | ||
}, | ||
@@ -14,0 +14,0 @@ "repository": { |
@@ -42,2 +42,3 @@ # ethereum-bloom-filters | ||
isContractAddressInBloom, | ||
isTopic, | ||
isTopicInBloom, | ||
@@ -60,2 +61,3 @@ isInBloom | ||
ethereumBloomFilters.isContractAddressInBloom(...) | ||
ethereumBloomFilters.isTopic(...) | ||
ethereumBloomFilters.isTopicInBloom(...) | ||
@@ -111,2 +113,10 @@ ethereumBloomFilters.isInBloom(...) | ||
### isTopic | ||
```ts | ||
isTopic(topic: string): boolean; | ||
``` | ||
Returns true if the topic is valid | ||
### isTopicInBloom | ||
@@ -113,0 +123,0 @@ |
Sorry, the diff of this file is not supported yet
17865
319
170