@openfeature/flagd-web-provider
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -735,2 +735,3 @@ 'use strict'; | ||
baseUrl: `${tls ? 'https' : 'http'}://${host}:${port}/${pathPrefix}`, | ||
interceptors: options.interceptors, | ||
}); | ||
@@ -737,0 +738,0 @@ this._promiseClient = promiseClient ? promiseClient : connect.createPromiseClient(Service, transport); |
@@ -731,2 +731,3 @@ import { createPromiseClient, createCallbackClient } from '@connectrpc/connect'; | ||
baseUrl: `${tls ? 'https' : 'http'}://${host}:${port}/${pathPrefix}`, | ||
interceptors: options.interceptors, | ||
}); | ||
@@ -733,0 +734,0 @@ this._promiseClient = promiseClient ? promiseClient : createPromiseClient(Service, transport); |
{ | ||
"name": "@openfeature/flagd-web-provider", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "publish-if-not-exists": "cp $NPM_CONFIG_USERCONFIG .npmrc && if [ \"$(npm show $npm_package_name@$npm_package_version version)\" = \"$(npm run current-version -s)\" ]; then echo 'already published, skipping'; else npm publish --access public; fi", |
@@ -0,1 +1,2 @@ | ||
import type { Interceptor } from '@connectrpc/connect'; | ||
export interface Options { | ||
@@ -37,2 +38,6 @@ /** | ||
maxRetries: number; | ||
/** | ||
* Connect interceptors applied to all calls. | ||
*/ | ||
interceptors?: Interceptor[]; | ||
} | ||
@@ -39,0 +44,0 @@ export type FlagdProviderOptions = Partial<Options> & Pick<Options, 'host'>; |
152928
3287