@atlaskit/feature-gate-js-client
Advanced tools
Comparing version 4.17.1 to 4.17.2
# @atlaskit/feature-gate-js-client | ||
## 4.17.2 | ||
### Patch Changes | ||
- [#103967](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103967) | ||
[`52eed0e32c8b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52eed0e32c8b) - | ||
Refactored some code to support lower ECMAScript versions | ||
## 4.17.1 | ||
@@ -4,0 +12,0 @@ |
@@ -7,2 +7,2 @@ "use strict"; | ||
exports.CLIENT_VERSION = void 0; | ||
var CLIENT_VERSION = exports.CLIENT_VERSION = "4.17.1"; | ||
var CLIENT_VERSION = exports.CLIENT_VERSION = "4.17.2"; |
import { FeatureGateEnvironment, PerimeterType } from '../types'; | ||
import { CLIENT_VERSION } from '../version'; | ||
import { ResponseError } from './errors'; | ||
const DEFAULT_REQUEST_TIMEOUT_MS = 5_000; | ||
const DEFAULT_REQUEST_TIMEOUT_MS = 5000; | ||
const PROD_BASE_URL = 'https://api.atlassian.com/flags'; | ||
@@ -6,0 +6,0 @@ const STAGING_BASE_URL = 'https://api.stg.atlassian.com/flags'; |
@@ -1,1 +0,1 @@ | ||
export const CLIENT_VERSION = "4.17.1"; | ||
export const CLIENT_VERSION = "4.17.2"; |
@@ -1,1 +0,1 @@ | ||
export var CLIENT_VERSION = "4.17.1"; | ||
export var CLIENT_VERSION = "4.17.2"; |
@@ -1,3 +0,3 @@ | ||
import { ClientOptions, CustomAttributes, Identifiers } from '../types'; | ||
import { FrontendClientSdkKeyResponse, FrontendExperimentsResponse } from './types'; | ||
import { type ClientOptions, type CustomAttributes, type Identifiers } from '../types'; | ||
import { type FrontendClientSdkKeyResponse, type FrontendExperimentsResponse } from './types'; | ||
export declare const DEV_BASE_URL = "https://api.dev.atlassian.com/flags"; | ||
@@ -4,0 +4,0 @@ export declare const FEDM_STAGING_BASE_URL = "https://api.stg.atlassian-us-gov-mod.com/flags"; |
@@ -1,2 +0,2 @@ | ||
import { CustomAttributes, Identifiers } from '../index'; | ||
import { type CustomAttributes, type Identifiers } from '../index'; | ||
export interface FrontendExperimentsRequest { | ||
@@ -3,0 +3,0 @@ identifiers: Identifiers; |
@@ -1,4 +0,4 @@ | ||
import { DynamicConfig, LocalOverrides } from 'statsig-js-lite'; | ||
import { FetcherOptions } from './fetcher'; | ||
import { CheckGateOptions, ClientOptions, CustomAttributes, FromValuesClientOptions, GetExperimentOptions, GetExperimentValueOptions, Identifiers } from './types'; | ||
import { DynamicConfig, type LocalOverrides } from 'statsig-js-lite'; | ||
import { type FetcherOptions } from './fetcher'; | ||
import { type CheckGateOptions, type ClientOptions, type CustomAttributes, type FromValuesClientOptions, type GetExperimentOptions, type GetExperimentValueOptions, type Identifiers } from './types'; | ||
export type { EvaluationDetails, LocalOverrides } from 'statsig-js-lite'; | ||
@@ -5,0 +5,0 @@ export { DynamicConfig, EvaluationReason } from 'statsig-js-lite'; |
@@ -1,2 +0,2 @@ | ||
import { StatsigOptions } from 'statsig-js-lite'; | ||
import { type StatsigOptions } from 'statsig-js-lite'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The identifiers for the user. Options are restricted to the set that is currently supported. |
@@ -1,3 +0,3 @@ | ||
import { ClientOptions, CustomAttributes, Identifiers } from '../types'; | ||
import { FrontendClientSdkKeyResponse, FrontendExperimentsResponse } from './types'; | ||
import { type ClientOptions, type CustomAttributes, type Identifiers } from '../types'; | ||
import { type FrontendClientSdkKeyResponse, type FrontendExperimentsResponse } from './types'; | ||
export declare const DEV_BASE_URL = "https://api.dev.atlassian.com/flags"; | ||
@@ -4,0 +4,0 @@ export declare const FEDM_STAGING_BASE_URL = "https://api.stg.atlassian-us-gov-mod.com/flags"; |
@@ -1,2 +0,2 @@ | ||
import { CustomAttributes, Identifiers } from '../index'; | ||
import { type CustomAttributes, type Identifiers } from '../index'; | ||
export interface FrontendExperimentsRequest { | ||
@@ -3,0 +3,0 @@ identifiers: Identifiers; |
@@ -1,4 +0,4 @@ | ||
import { DynamicConfig, LocalOverrides } from 'statsig-js-lite'; | ||
import { FetcherOptions } from './fetcher'; | ||
import { CheckGateOptions, ClientOptions, CustomAttributes, FromValuesClientOptions, GetExperimentOptions, GetExperimentValueOptions, Identifiers } from './types'; | ||
import { DynamicConfig, type LocalOverrides } from 'statsig-js-lite'; | ||
import { type FetcherOptions } from './fetcher'; | ||
import { type CheckGateOptions, type ClientOptions, type CustomAttributes, type FromValuesClientOptions, type GetExperimentOptions, type GetExperimentValueOptions, type Identifiers } from './types'; | ||
export type { EvaluationDetails, LocalOverrides } from 'statsig-js-lite'; | ||
@@ -5,0 +5,0 @@ export { DynamicConfig, EvaluationReason } from 'statsig-js-lite'; |
@@ -1,2 +0,2 @@ | ||
import { StatsigOptions } from 'statsig-js-lite'; | ||
import { type StatsigOptions } from 'statsig-js-lite'; | ||
/** | ||
@@ -3,0 +3,0 @@ * The identifiers for the user. Options are restricted to the set that is currently supported. |
{ | ||
"name": "@atlaskit/feature-gate-js-client", | ||
"version": "4.17.1", | ||
"version": "4.17.2", | ||
"description": "Atlassians wrapper for the Statsig js-lite client.", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd", |
223887