@lowdefy/api 4.0.0-rc.4 → 4.0.0-rc.6

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.
@@ -12,7 +12,7 @@
12
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
- */ import { NodeParser } from '@lowdefy/operators';
15
+ */ import { ServerParser } from '@lowdefy/operators';
16
16
  import { getSecretsFromEnv } from '@lowdefy/node-utils';
17
17
  import { _secret } from '@lowdefy/operators-js/operators/server';
18
18
  import createAdapter from './createAdapter.js';
@@ -25,7 +25,7 @@ function getNextAuthConfig(context, { authJson , plugins }) {
25
25
  if (initialized) return nextAuthConfig;
26
26
  const secrets = getSecretsFromEnv();
27
27
  // TODO: Add logger
28
- const operatorsParser = new NodeParser({
28
+ const operatorsParser = new ServerParser({
29
29
  operators: {
30
30
  _secret
31
31
  },
@@ -12,10 +12,10 @@
12
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
- */ import { NodeParser } from '@lowdefy/operators';
15
+ */ import { ServerParser } from '@lowdefy/operators';
16
16
  import { RequestError } from '../../context/errors.js';
17
17
  function evaluateOperators({ operators , secrets , user }, { connectionConfig , payload , requestConfig }) {
18
- const operatorsParser = new NodeParser({
18
+ const operatorsParser = new ServerParser({
19
19
  operators,
20
20
  payload,
21
21
  secrets,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/api",
3
- "version": "4.0.0-rc.4",
3
+ "version": "4.0.0-rc.6",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -40,12 +40,12 @@
40
40
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
41
41
  },
42
42
  "dependencies": {
43
- "@lowdefy/ajv": "4.0.0-rc.4",
44
- "@lowdefy/helpers": "4.0.0-rc.4",
45
- "@lowdefy/node-utils": "4.0.0-rc.4",
46
- "@lowdefy/nunjucks": "4.0.0-rc.4",
47
- "@lowdefy/operators": "4.0.0-rc.4",
48
- "@lowdefy/operators-js": "4.0.0-rc.4"
43
+ "@lowdefy/ajv": "4.0.0-rc.6",
44
+ "@lowdefy/helpers": "4.0.0-rc.6",
45
+ "@lowdefy/node-utils": "4.0.0-rc.6",
46
+ "@lowdefy/nunjucks": "4.0.0-rc.6",
47
+ "@lowdefy/operators": "4.0.0-rc.6",
48
+ "@lowdefy/operators-js": "4.0.0-rc.6"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@jest/globals": "28.1.0",
@@ -57,5 +57,5 @@
57
57
  "publishConfig": {
58
58
  "access": "public"
59
59
  },
60
- "gitHead": "64ac69e424c881ee15a5333b75bd22156bd58ccb"
60
+ "gitHead": "8238145a9eb26c6f3dc48661ab6eca6e3aca4f83"
61
61
  }