@@ -285,56 +285,6 @@ export const DECISION_MESSAGES = {
285
285
VARIABLE_VALUE_INVALID : 'Variable value for key "%s" is invalid or wrong type.' ,
286
286
} ;
287
287
288
- /*
289
- * Notification types for use with NotificationCenter
290
- * Format is EVENT: <list of parameters to callback>
291
- *
292
- * SDK consumers can use these to register callbacks with the notification center.
293
- *
294
- * @deprecated since 3.1.0
295
- * ACTIVATE: An impression event will be sent to Optimizely
296
- * Callbacks will receive an object argument with the following properties:
297
- * - experiment {Object}
298
- * - userId {string}
299
- * - attributes {Object|undefined}
300
- * - variation {Object}
301
- * - logEvent {Object}
302
- *
303
- * DECISION: A decision is made in the system. i.e. user activation,
304
- * feature access or feature-variable value retrieval
305
- * Callbacks will receive an object argument with the following properties:
306
- * - type {string}
307
- * - userId {string}
308
- * - attributes {Object|undefined}
309
- * - decisionInfo {Object|undefined}
310
- *
311
- * LOG_EVENT: A batch of events, which could contain impressions and/or conversions,
312
- * will be sent to Optimizely
313
- * Callbacks will receive an object argument with the following properties:
314
- * - url {string}
315
- * - httpVerb {string}
316
- * - params {Object}
317
- *
318
- * OPTIMIZELY_CONFIG_UPDATE: This Optimizely instance has been updated with a new
319
- * config
320
- *
321
- * TRACK: A conversion event will be sent to Optimizely
322
- * Callbacks will receive the an object argument with the following properties:
323
- * - eventKey {string}
324
- * - userId {string}
325
- * - attributes {Object|undefined}
326
- * - eventTags {Object|undefined}
327
- * - logEvent {Object}
328
- *
329
- */
330
- // export enum NOTIFICATION_TYPES {
331
- // ACTIVATE = 'ACTIVATE:experiment, user_id,attributes, variation, event',
332
- // DECISION = 'DECISION:type, userId, attributes, decisionInfo',
333
- // LOG_EVENT = 'LOG_EVENT:logEvent',
334
- // OPTIMIZELY_CONFIG_UPDATE = 'OPTIMIZELY_CONFIG_UPDATE',
335
- // TRACK = 'TRACK:event_key, user_id, attributes, event_tags, event',
336
- // }
337
-
338
288
export { NOTIFICATION_TYPES } from '../../notification_center/type' ;
339
289
340
290
/**
0 commit comments