draply-dev 1.5.7 → 1.5.8

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/bin/cli.js +2 -2
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -134,7 +134,7 @@ const MARKER = 'data-ps-done="1"';
134
134
  function injectOverlay(html) {
135
135
  if (html.includes(MARKER)) return html;
136
136
 
137
- let isPro = true; // Forced to true temporarily for dev
137
+ let isPro = false;
138
138
  const cfg = loadConfig();
139
139
  if (cfg.draplyToken) {
140
140
  try {
@@ -143,7 +143,7 @@ function injectOverlay(html) {
143
143
  const payloadBase64 = payloadBase64Url.replace(/-/g, '+').replace(/_/g, '/');
144
144
  const payloadJson = Buffer.from(payloadBase64, 'base64').toString('utf8');
145
145
  const payload = JSON.parse(payloadJson);
146
- // isPro = payload.isPro === true;
146
+ isPro = payload.isPro === true;
147
147
  }
148
148
  } catch(e) {}
149
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "draply-dev",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Visual overlay for any frontend project — move, resize, restyle live in the browser, save to CSS",
5
5
  "author": "Arman",
6
6
  "type": "commonjs",