@ecency/render-helper 2.3.3 → 2.3.4

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/lib/index.d.ts CHANGED
@@ -4,4 +4,5 @@ import { getPostBodySummary as postBodySummary } from './post-body-summary';
4
4
  import { setProxyBase, proxifyImageSrc } from './proxify-image-src';
5
5
  import { setCacheSize } from './cache';
6
6
  import { SECTION_LIST } from './consts';
7
- export { renderPostBody, catchPostImage, postBodySummary, proxifyImageSrc, setProxyBase, setCacheSize, SECTION_LIST };
7
+ import { isValidPermlink } from "./helper";
8
+ export { renderPostBody, catchPostImage, postBodySummary, proxifyImageSrc, setProxyBase, setCacheSize, SECTION_LIST, isValidPermlink };
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SECTION_LIST = exports.setCacheSize = exports.setProxyBase = exports.proxifyImageSrc = exports.postBodySummary = exports.catchPostImage = exports.renderPostBody = void 0;
3
+ exports.isValidPermlink = exports.SECTION_LIST = exports.setCacheSize = exports.setProxyBase = exports.proxifyImageSrc = exports.postBodySummary = exports.catchPostImage = exports.renderPostBody = void 0;
4
4
  var markdown_2_html_1 = require("./markdown-2-html");
5
5
  Object.defineProperty(exports, "renderPostBody", { enumerable: true, get: function () { return markdown_2_html_1.markdown2Html; } });
6
6
  var catch_post_image_1 = require("./catch-post-image");
@@ -14,4 +14,6 @@ var cache_1 = require("./cache");
14
14
  Object.defineProperty(exports, "setCacheSize", { enumerable: true, get: function () { return cache_1.setCacheSize; } });
15
15
  var consts_1 = require("./consts");
16
16
  Object.defineProperty(exports, "SECTION_LIST", { enumerable: true, get: function () { return consts_1.SECTION_LIST; } });
17
+ var helper_1 = require("./helper");
18
+ Object.defineProperty(exports, "isValidPermlink", { enumerable: true, get: function () { return helper_1.isValidPermlink; } });
17
19
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmE;AAQjE,+FARwB,+BAAc,OAQxB;AAPhB,uDAAmD;AAQjD,+FARO,iCAAc,OAQP;AAPhB,yDAA2E;AAQzE,gGAR6B,sCAAe,OAQ7B;AAPjB,yDAAmE;AASjE,6FATO,gCAAY,OASP;AADZ,gGARqB,mCAAe,OAQrB;AAPjB,iCAAsC;AASpC,6FATO,oBAAY,OASP;AARd,mCAAuC;AASrC,6FATO,qBAAY,OASP"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmE;AASjE,+FATwB,+BAAc,OASxB;AARhB,uDAAmD;AASjD,+FATO,iCAAc,OASP;AARhB,yDAA2E;AASzE,gGAT6B,sCAAe,OAS7B;AARjB,yDAAmE;AAUjE,6FAVO,gCAAY,OAUP;AADZ,gGATqB,mCAAe,OASrB;AARjB,iCAAsC;AAUpC,6FAVO,oBAAY,OAUP;AATd,mCAAuC;AAUrC,6FAVO,qBAAY,OAUP;AATd,mCAA2C;AAUzC,gGAVO,wBAAe,OAUP"}