Skip to content

Commit

Permalink
feat(packages): websocket connector
Browse files Browse the repository at this point in the history
Signed-off-by: sam bacha <sam@manifoldfinance.com>
  • Loading branch information
sambacha committed Sep 28, 2021
1 parent 4a281b1 commit 4d4e376
Show file tree
Hide file tree
Showing 11 changed files with 398 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'
allow:
# only production dependencies get updates
- dependency-type: "production"
- dependency-type: 'production'
commit-message:
# Prefix all commit messages with "npm"
prefix: "npm"
include: "scope"
prefix: 'npm'
include: 'scope'
labels:
- 'dependency'
# Add default Kodiak `merge.automerge_label`
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# @openmev/sdk

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c4566fcdc50a49eba6e07264443bd5c0)](https://www.codacy.com/gh/manifoldfinance/openmev-sdk/dashboard?utm_source=github.com&utm_medium=referral&utm_content=manifoldfinance/openmev-sdk&utm_campaign=Badge_Grade) [![nodejs](https://github.com/manifoldfinance/openmev-sdk/workflows/nodejs/badge.svg)](https://github.com/manifoldfinance/openmev-sdk/actions?query=workflow:"nodejs")
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c4566fcdc50a49eba6e07264443bd5c0)](https://www.codacy.com/gh/manifoldfinance/openmev-sdk/dashboard?utm_source=github.com&utm_medium=referral&utm_content=manifoldfinance/openmev-sdk&utm_campaign=Badge_Grade)
[![nodejs](https://github.com/manifoldfinance/openmev-sdk/workflows/nodejs/badge.svg)](https://github.com/manifoldfinance/openmev-sdk/actions?query=workflow:"nodejs")
[![GitHub tag](https://img.shields.io/github/tag/manifoldfinance/openmev-sdk?include_prereleases=&sort=semver)](https://github.com/manifoldfinance/openmev-sdk/releases/)
[![License](https://img.shields.io/badge/spdx-apache--2.0-informational)](#license)
[![issues - openmev-sdk](https://img.shields.io/github/issues/manifoldfinance/openmev-sdk)](https://github.com/manifoldfinance/openmev-sdk/issues)


> [docs.openmev.org](https://docs.openmev.org)
## Overview
Expand Down Expand Up @@ -76,7 +76,8 @@ This file does something and its purpose is to do abc.

## License

Released under [MIT](/LICENSE) by [@manifoldfinance](https://github.com/manifoldfinance).
Released under [MIT](/LICENSE) by
[@manifoldfinance](https://github.com/manifoldfinance).

SPDX-License-Identifier: Apache-2.0

Expand Down
1 change: 0 additions & 1 deletion api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

Expand Down
4 changes: 1 addition & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
"version": "4.8.8",
"npmClient": "npm",
"useWorkspaces": true,
"packages": [
"packages/*"
]
"packages": ["packages/*"]
}
9 changes: 9 additions & 0 deletions packages/sdk-connect/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
node_modules
*.log
*.tgz
*.tar.gz
cache/
.cache
build/
dist/
11 changes: 11 additions & 0 deletions packages/sdk-connect/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# `sdk-connect`

> TODO: description
## Usage

```
const sdkConnect = require('sdk-connect');
// TODO: DEMONSTRATE API
```
7 changes: 7 additions & 0 deletions packages/sdk-connect/__tests__/sdk-connect.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict';

const sdkConnect = require('..');

describe('sdk-connect', () => {
it('needs tests');
});
46 changes: 46 additions & 0 deletions packages/sdk-connect/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "@openmev/sdk-connect",
"version": "0.0.0",
"description": "OpenMEV RPC Connection Module for Multiple RPC Endpoints",
"keywords": [
"mev",
"flashbots",
"ethers",
"web3",
"ethereum"
],
"author": "Contributors <janitor@manifoldfinance.com>",
"homepage": "https://openmev.org",
"license": "Apache-2.0",
"main": "src/index.ts",
"directories": {
"src": "src",
"test": "__tests__"
},
"files": [
"lib",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/manifoldfinance/openmev-sdk.git"
},
"scripts": {
"test": "npx tsdx test",
"build": "npx tsdx build",
"prepublishOnly": "npx tsdx build"
},
"bugs": {
"url": "https://github.com/manifoldfinance/openmev-sdk/issues"
},
"dependencies": {
"@ethersproject/bignumber": "^5.4.2",
"socket.io-client": "^4.2.0"
},
"devDependencies": {
"@types/node": "^14",
"ts-node-dev": "^1.1.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1"
}
}
Loading

0 comments on commit 4d4e376

Please sign in to comment.