@socialtip/asset-proxy-url-generator 0.6.2 → 0.7.0

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -217,6 +217,8 @@ function serializeOptions(options) {
217
217
  segments.push(`ct:${options.cut}`);
218
218
  if (options.mute !== undefined)
219
219
  segments.push(`mu:${bool(options.mute)}`);
220
+ if (options.codec !== undefined)
221
+ segments.push(`cdc:${bool(options.codec)}`);
220
222
  if (options.trim) {
221
223
  const parts = [String(options.trim.threshold)];
222
224
  if (options.trim.colour !== undefined ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socialtip/asset-proxy-url-generator",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "Generate asset-proxy-compatible URL paths with optional encryption and signing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",