edge-core-js
Advanced tools
Comparing version 1.4.0 to 1.4.1
# edge-core-js | ||
## v1.4.1 (2023-08-16) | ||
- changed: Reduced YAOB throttle to 50ms and apply throttle to return bridge calls | ||
## v1.4.0 (2023-08-08) | ||
- added: canBePartial and maxFulfillmentSeconds to EdgeSwapQuote | ||
- added: skipBlockHeight config option | ||
@@ -7,0 +12,0 @@ ## v1.3.7 (2023-08-03) |
@@ -54,1 +54,4 @@ | ||
// Throttle YAOB updates | ||
export const YAOB_THROTTLE_MS = 50 |
@@ -25,4 +25,4 @@ function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }import './polyfills' | ||
import { makeNativeBridge } from './native-bridge' | ||
import { YAOB_THROTTLE_MS } from './react-native-types' | ||
// Only try CORS proxy/bridge techniques up to 5 times | ||
@@ -52,3 +52,3 @@ const MAX_CORS_FAILURE_COUNT = 5 | ||
}, | ||
throttleMs: 500 | ||
throttleMs: YAOB_THROTTLE_MS | ||
}) | ||
@@ -69,3 +69,3 @@ ] | ||
}, | ||
throttleMs: 500 | ||
throttleMs: YAOB_THROTTLE_MS | ||
}) | ||
@@ -72,0 +72,0 @@ ] |
@@ -7,4 +7,7 @@ import '../../client-side' | ||
import { hideProperties } from '../hidden-properties' | ||
import { | ||
YAOB_THROTTLE_MS | ||
} from './react-native-types' | ||
@@ -15,2 +18,3 @@ | ||
/** | ||
@@ -81,3 +85,4 @@ * Sets up a YAOB bridge for use with a React Native WebView. | ||
) | ||
} | ||
}, | ||
throttleMs: YAOB_THROTTLE_MS | ||
}) | ||
@@ -84,0 +89,0 @@ |
{ | ||
"name": "edge-core-js", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Edge account & wallet management library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
3436689
32124