Socket
Socket
Sign inDemoInstall

ethereum-bloom-filters

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

5

dist/index.d.ts

@@ -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

1

dist/index.js

@@ -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";

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc