@juice789/tf2items 1.0.22 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ const transformEffects = compose(
5
5
  invertObj,
6
6
  map(nth(0)),
7
7
  invert,
8
+ pickBy(Boolean),
8
9
  pickBy(complement(includes)('Attrib_Particle')),
9
10
  map(prop('name')),
10
11
  indexBy(prop('id')),
package/fromEconItem.js CHANGED
@@ -294,7 +294,7 @@ const propsTf2_2 = {
294
294
  }
295
295
 
296
296
  const propsOtherGame = {
297
- sku: market_hash_name,
297
+ sku: ({ appid, market_hash_name }) => `other;${appid};${market_hash_name}`,
298
298
  id,
299
299
  old_id
300
300
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juice789/tf2items",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "tf2 item schema thingys",
5
5
  "main": "app.js",
6
6
  "scripts": {