dashcam 0.5.0 → 0.5.1

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/lib.js +2 -2
  2. package/package.json +1 -1
package/lib.js CHANGED
@@ -47,8 +47,8 @@ const createReplay = async function (options = {}) {
47
47
  ipc.of.dashcam.on(
48
48
  "upload", //any event or message type your server listens for
49
49
  function (data) {
50
- if (options.md && !options.publish) {
51
- resolve(data.replay.markdown);
50
+ if (options.md) {
51
+ resolve(data.replay.gifMarkdown);
52
52
  } else {
53
53
  resolve(data.replay.shareLink);
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dashcam",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Fix bugs, close pulls, and update your team with desktop instant replay.",
5
5
  "main": "index.js",
6
6
  "scripts": {