@oddnetworks/oddworks
Advanced tools
Comparing version 3.9.2 to 3.9.3
@@ -100,10 +100,16 @@ 'use strict'; | ||
function assignObjectMeta(config) { | ||
return { | ||
user: config.user, | ||
features: _.pick(config.features, FEATURES), | ||
maxAge: config.maxAge, | ||
staleWhileRevalidate: config.staleWhileRevalidate, | ||
updatedAt: config.updatedAt, | ||
source: config.source | ||
}; | ||
const features = _.pick(config.features, FEATURES); | ||
const rv = _.omit(config, [ | ||
'active', | ||
'platformType', | ||
'category', | ||
'views', | ||
'type', | ||
'id', | ||
'channel', | ||
'platform' | ||
]); | ||
rv.features = features; | ||
return rv; | ||
} | ||
@@ -110,0 +116,0 @@ |
{ | ||
"name": "@oddnetworks/oddworks", | ||
"version": "3.9.2", | ||
"version": "3.9.3", | ||
"description": "An extensible media platform for OTT devices.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/oddworks.js", |
141915
3147