Skip to content

Commit

Permalink
Merge pull request #224 from blocknative/release/4.6.4
Browse files Browse the repository at this point in the history
Release 4.6.4
  • Loading branch information
lnbc1QWFyb24 authored Jan 10, 2023
2 parents e915763 + a9a2af7 commit fc0f4f3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bnc-sdk",
"version": "4.6.3",
"version": "4.6.4",
"description": "SDK to connect to the blocknative backend via a websocket connection",
"keywords": [
"ethereum",
Expand Down
4 changes: 1 addition & 3 deletions src/defaults.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
export const networks: { [key: string]: { [key: string]: string } } = {
ethereum: {
'1': 'main',
'3': 'ropsten',
'4': 'rinkeby',
'5': 'goerli',
'100': 'xdai',
'137': 'matic-main',
'80001': 'matic-mumbai'
}
}

export const DEPRECATED_NETWORK_IDS = [2, 42, 56, 250]
export const DEPRECATED_NETWORK_IDS = [2, 3, 4, 42, 56, 250]

export const DEFAULT_RATE_LIMIT_RULES = {
points: 150,
Expand Down
7 changes: 3 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface EthereumTransactionData extends CommonTransactionData {
from: string
gas: number
gasPrice?: string
gasUsed?: string
gasUsed?: number
input: string
nonce: number
v: string
Expand Down Expand Up @@ -115,8 +115,6 @@ export type System = 'ethereum'

export type Network =
| 'main'
| 'ropsten'
| 'rinkeby'
| 'goerli'
| 'xdai'
| 'matic-main'
Expand All @@ -130,7 +128,8 @@ export type Status =
| 'cancel'
| 'failed'
| 'dropped'
| 'simulated'
| 'pending-simulation'
| 'stuck'

export interface InputOutput {
address: string
Expand Down
19 changes: 6 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1346,9 +1346,9 @@ debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
ms "^2.1.1"

decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
version "0.2.2"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==

deep-is@^0.1.3:
version "0.1.3"
Expand Down Expand Up @@ -2072,11 +2072,9 @@ json-stable-stringify-without-jsonify@^1.0.1:
integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=

json5@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.1.2.tgz#43ef1f0af9835dd624751a6b7fa48874fb2d608e"
integrity sha512-MoUOQ4WdiN3yxhm7NEVJSJrieAo5hNSLQ5sj05OTRHPL9HOBy8u4Bu88jsC1jvqAdN+E1bJmsUcZH+1HQxliqQ==
dependencies:
minimist "^1.2.5"
version "2.2.3"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==

jsonfile@^4.0.0:
version "4.0.0"
Expand Down Expand Up @@ -2221,11 +2219,6 @@ minimatch@^3.0.4:
dependencies:
brace-expansion "^1.1.7"

minimist@^1.2.5:
version "1.2.6"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==

mixin-deep@^1.2.0:
version "1.3.2"
resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
Expand Down

0 comments on commit fc0f4f3

Please sign in to comment.