@eppo/js-client-sdk-common
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -95,3 +95,3 @@ import { IAssignmentLogger } from '../assignment-logger'; | ||
private configurationRequestParameters?; | ||
private readonly isObfuscated; | ||
private isObfuscated; | ||
private queuedEvents; | ||
@@ -106,2 +106,3 @@ private assignmentLogger?; | ||
setConfigurationStore(configurationStore: IConfigurationStore<Flag | ObfuscatedFlag>): void; | ||
setIsObfuscated(isObfuscated: boolean): void; | ||
fetchFlagConfigurations(): Promise<void>; | ||
@@ -108,0 +109,0 @@ stopPolling(): void; |
@@ -33,2 +33,5 @@ "use strict"; | ||
} | ||
setIsObfuscated(isObfuscated) { | ||
this.isObfuscated = isObfuscated; | ||
} | ||
async fetchFlagConfigurations() { | ||
@@ -35,0 +38,0 @@ if (!this.configurationRequestParameters) { |
@@ -12,6 +12,6 @@ import { logger } from './application-logger'; | ||
import HttpClient from './http-client'; | ||
import { Flag, VariationType } from './interfaces'; | ||
import { Flag, ObfuscatedFlag, VariationType } from './interfaces'; | ||
import { AttributeType, SubjectAttributes } from './types'; | ||
import * as validation from './validation'; | ||
export { logger as applicationLogger, AbstractAssignmentCache, IAssignmentHooks, IAssignmentLogger, IAssignmentEvent, EppoClient, IEppoClient, constants, FlagConfigRequestor, HttpClient, validation, IConfigurationStore, IAsyncStore, ISyncStore, MemoryStore, HybridConfigurationStore, MemoryOnlyConfigurationStore, AssignmentCacheKey, AssignmentCacheValue, AssignmentCacheEntry, AssignmentCache, AsyncMap, NonExpiringInMemoryAssignmentCache, LRUInMemoryAssignmentCache, assignmentCacheKeyToString, assignmentCacheValueToString, FlagConfigurationRequestParameters, Flag, VariationType, AttributeType, SubjectAttributes, }; | ||
export { logger as applicationLogger, AbstractAssignmentCache, IAssignmentHooks, IAssignmentLogger, IAssignmentEvent, EppoClient, IEppoClient, constants, FlagConfigRequestor, HttpClient, validation, IConfigurationStore, IAsyncStore, ISyncStore, MemoryStore, HybridConfigurationStore, MemoryOnlyConfigurationStore, AssignmentCacheKey, AssignmentCacheValue, AssignmentCacheEntry, AssignmentCache, AsyncMap, NonExpiringInMemoryAssignmentCache, LRUInMemoryAssignmentCache, assignmentCacheKeyToString, assignmentCacheValueToString, FlagConfigurationRequestParameters, Flag, ObfuscatedFlag, VariationType, AttributeType, SubjectAttributes, }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@eppo/js-client-sdk-common", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Eppo SDK for client-side JavaScript applications (base for both web and react native)", | ||
@@ -76,2 +76,2 @@ "main": "dist/index.js", | ||
} | ||
} | ||
} |
@@ -175,3 +175,3 @@ import ApiEndpoints from '../api-endpoints'; | ||
private configurationRequestParameters?: FlagConfigurationRequestParameters, | ||
private readonly isObfuscated = false, | ||
private isObfuscated = false, | ||
) {} | ||
@@ -189,2 +189,6 @@ | ||
public setIsObfuscated(isObfuscated: boolean) { | ||
this.isObfuscated = isObfuscated; | ||
} | ||
public async fetchFlagConfigurations() { | ||
@@ -191,0 +195,0 @@ if (!this.configurationRequestParameters) { |
@@ -27,3 +27,3 @@ import { logger } from './application-logger'; | ||
import HttpClient from './http-client'; | ||
import { Flag, VariationType } from './interfaces'; | ||
import { Flag, ObfuscatedFlag, VariationType } from './interfaces'; | ||
import { AttributeType, SubjectAttributes } from './types'; | ||
@@ -67,2 +67,3 @@ import * as validation from './validation'; | ||
Flag, | ||
ObfuscatedFlag, | ||
VariationType, | ||
@@ -69,0 +70,0 @@ AttributeType, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
588902
4172