polotno-node 2.2.0 → 2.3.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.
package/README.md CHANGED
@@ -295,16 +295,10 @@ Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","er
295
295
 
296
296
  It may mean that Polotno Client Editor was not loaded in `puppeteer` instance. It is possible that you are missing required files in `node_modules` folder. I got this error when I was trying to run `polotno-node` on Vercel. To fix the issue you need to add this config into `vercel.json`:
297
297
 
298
- ```
299
-
298
+ ```json
300
299
  "functions": {
301
- "api/render.js": { // remember to replace this line with your function name
302
- "includeFiles": "node_modules/polotno-node/\*\*"
303
- },
300
+ "api/render.js": { // remember to replace this line with your function name
301
+ "includeFiles": "node_modules/polotno-node/\*\*"
302
+ },
304
303
  }
305
-
306
- ```
307
-
308
- ```
309
-
310
304
  ```