@devcycle/js-client-sdk
Advanced tools
Comparing version 1.28.2 to 1.28.3
@@ -667,3 +667,3 @@ 'use strict'; | ||
var name = "@devcycle/js-client-sdk"; | ||
var version = "1.28.2"; | ||
var version = "1.28.3"; | ||
var description = "The Javascript Client SDK for DevCycle"; | ||
@@ -670,0 +670,0 @@ var author = "DevCycle <support@devcycle.com>"; |
@@ -656,3 +656,3 @@ import fetchWithRetry from 'fetch-retry'; | ||
var name = "@devcycle/js-client-sdk"; | ||
var version = "1.28.2"; | ||
var version = "1.28.3"; | ||
var description = "The Javascript Client SDK for DevCycle"; | ||
@@ -659,0 +659,0 @@ var author = "DevCycle <support@devcycle.com>"; |
{ | ||
"name": "@devcycle/js-client-sdk", | ||
"version": "1.28.2", | ||
"version": "1.28.3", | ||
"description": "The Javascript Client SDK for DevCycle", | ||
@@ -5,0 +5,0 @@ "author": "DevCycle <support@devcycle.com>", |
@@ -192,3 +192,3 @@ import type { DVCLogger, DVCDefaultLogLevel, VariableTypeAlias, VariableValue, DVCJSON, DVCCustomDataJSON, BucketedUserConfig } from '@devcycle/types'; | ||
*/ | ||
onUpdate(callback: (value: DVCVariableValue) => void): DVCVariable<T>; | ||
onUpdate(callback: (value: VariableTypeAlias<T>) => void): DVCVariable<T>; | ||
} | ||
@@ -195,0 +195,0 @@ export interface DevCycleEvent { |
@@ -12,3 +12,3 @@ import { DVCVariable as Variable, DVCVariableValue } from './types'; | ||
value: VariableTypeAlias<T>; | ||
callback?: (value: T) => void; | ||
callback?: (value: VariableTypeAlias<T>) => void; | ||
readonly defaultValue: T; | ||
@@ -18,3 +18,3 @@ isDefaulted: boolean; | ||
constructor(variable: DVCVariableOptions<T>); | ||
onUpdate(callback: (value: T) => void): DVCVariable<T>; | ||
onUpdate(callback: (value: VariableTypeAlias<T>) => void): DVCVariable<T>; | ||
} |
@@ -192,3 +192,3 @@ import { DVCLogger, DVCDefaultLogLevel, VariableTypeAlias, VariableValue, DVCJSON, DVCCustomDataJSON, BucketedUserConfig } from '@devcycle/types'; | ||
*/ | ||
onUpdate(callback: (value: DVCVariableValue) => void): DVCVariable<T>; | ||
onUpdate(callback: (value: VariableTypeAlias<T>) => void): DVCVariable<T>; | ||
} | ||
@@ -195,0 +195,0 @@ export interface DevCycleEvent { |
@@ -12,3 +12,3 @@ import { DVCVariable as Variable, DVCVariableValue } from './types'; | ||
value: VariableTypeAlias<T>; | ||
callback?: (value: T) => void; | ||
callback?: (value: VariableTypeAlias<T>) => void; | ||
readonly defaultValue: T; | ||
@@ -18,3 +18,3 @@ isDefaulted: boolean; | ||
constructor(variable: DVCVariableOptions<T>); | ||
onUpdate(callback: (value: T) => void): DVCVariable<T>; | ||
onUpdate(callback: (value: VariableTypeAlias<T>) => void): DVCVariable<T>; | ||
} |
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
184196