lucid-extension-sdk 0.0.189 → 0.0.191

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.
@@ -6,7 +6,15 @@ export declare enum TextConditions {
6
6
  TextEmpty = 0,
7
7
  TextNotEmpty = 1,
8
8
  TextContains = 2,
9
- TextDoesNotContain = 3
9
+ TextDoesNotContain = 3,
10
+ GreaterThan = 8,
11
+ GreaterThanOrEqual = 9,
12
+ LessThan = 10,
13
+ LessThanOrEqual = 11,
14
+ Equal = 12,
15
+ NotEqual = 13,
16
+ Between = 14,
17
+ NotBetween = 15
10
18
  }
11
19
  export declare enum ShapeDataConditions {
12
20
  TextEmpty = 0,
@@ -12,6 +12,14 @@ var TextConditions;
12
12
  TextConditions[TextConditions["TextNotEmpty"] = 1] = "TextNotEmpty";
13
13
  TextConditions[TextConditions["TextContains"] = 2] = "TextContains";
14
14
  TextConditions[TextConditions["TextDoesNotContain"] = 3] = "TextDoesNotContain";
15
+ TextConditions[TextConditions["GreaterThan"] = 8] = "GreaterThan";
16
+ TextConditions[TextConditions["GreaterThanOrEqual"] = 9] = "GreaterThanOrEqual";
17
+ TextConditions[TextConditions["LessThan"] = 10] = "LessThan";
18
+ TextConditions[TextConditions["LessThanOrEqual"] = 11] = "LessThanOrEqual";
19
+ TextConditions[TextConditions["Equal"] = 12] = "Equal";
20
+ TextConditions[TextConditions["NotEqual"] = 13] = "NotEqual";
21
+ TextConditions[TextConditions["Between"] = 14] = "Between";
22
+ TextConditions[TextConditions["NotBetween"] = 15] = "NotBetween";
15
23
  })(TextConditions = exports.TextConditions || (exports.TextConditions = {}));
16
24
  var ShapeDataConditions;
17
25
  (function (ShapeDataConditions) {
@@ -3,6 +3,7 @@ import { DataConnector } from './dataconnector';
3
3
  export type ExpressLike = {
4
4
  raw: (a: {
5
5
  type: () => boolean;
6
+ limit: string;
6
7
  }) => unknown;
7
8
  } & (() => ExpressAppLike);
8
9
  /** @ignore */
@@ -5,11 +5,11 @@ const object_1 = require("../core/object");
5
5
  /** @ignore */
6
6
  function routeDebugServer(dataConnector, options) {
7
7
  var _a, _b;
8
- const express = options.express;
8
+ const { express } = options;
9
9
  const app = (_a = options.app) !== null && _a !== void 0 ? _a : options.express();
10
10
  // We can't use Express's JSON parsing because we need to send the string of the request body
11
11
  // directly for the route style flows. Some extensions compute a HMAC of from this data
12
- app.use(express.raw({ type: () => true }));
12
+ app.use(express.raw({ type: () => true, limit: '100mb' }));
13
13
  // CORS
14
14
  app.use((req, res, next) => {
15
15
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.189",
3
+ "version": "0.0.191",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",