UNPKG
@lock-dev/geo-block
Version:
latest (0.1.0)
0.1.0
Geographic blocking module for lock.dev security framework
@lock-dev/geo-block
/
dist
/
providers
/
index.d.ts
7 lines
(6 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
GeoLookupProvider
,
GeoBlockConfig
}
from
'../types'
;
/** * Create a geo lookup provider based on configuration *
@param
config Geo-blocking configuration */
export
declare
function
createProvider
(
config: GeoBlockConfig
):
GeoLookupProvider
;