@social-mail/social-mail-web-server 1.4.721 → 1.4.723

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.4.721",
3
+ "version": "1.4.723",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -334,7 +334,7 @@ export default class SnapshotService {
334
334
  }
335
335
  const tokens = link.split("/");
336
336
  transform = tokens[3];
337
- paths = await this.getRelativePath(tokens[5], link, srcFileName);
337
+ paths = await this.getRelativePath(tokens[5], originalLink + "\n" + link, srcFileName);
338
338
  if (!paths) {
339
339
  return;
340
340
  }
@@ -392,7 +392,7 @@ export default class SnapshotService {
392
392
  continue;
393
393
  }
394
394
  link = e.getAttribute(attributeName);
395
- link = await this.rewriteLink(link, parentPath);
395
+ link = await this.rewriteLink(link, parentPath, fileName);
396
396
 
397
397
  if (attributeSet) {
398
398
  for (const setName of attributeSet) {