@lowdefy/api 4.0.0-alpha.34 → 4.0.0-alpha.35

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.
@@ -14,11 +14,10 @@
14
14
  limitations under the License.
15
15
  */ import createAuthorize from './createAuthorize.js';
16
16
  import createReadConfigFile from './createReadConfigFile.js';
17
- async function createApiContext({ buildDirectory , connections , logger , operators , secrets , session , }) {
17
+ function createApiContext({ buildDirectory , config , connections , logger , operators , secrets , session , }) {
18
18
  const readConfigFile = createReadConfigFile({
19
19
  buildDirectory
20
20
  });
21
- const config = await readConfigFile('config.json');
22
21
  return {
23
22
  authorize: createAuthorize({
24
23
  session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/api",
3
- "version": "4.0.0-alpha.34",
3
+ "version": "4.0.0-alpha.35",
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-alpha.34",
44
- "@lowdefy/helpers": "4.0.0-alpha.34",
45
- "@lowdefy/node-utils": "4.0.0-alpha.34",
46
- "@lowdefy/nunjucks": "4.0.0-alpha.34",
47
- "@lowdefy/operators": "4.0.0-alpha.34",
48
- "@lowdefy/operators-js": "4.0.0-alpha.34"
43
+ "@lowdefy/ajv": "4.0.0-alpha.35",
44
+ "@lowdefy/helpers": "4.0.0-alpha.35",
45
+ "@lowdefy/node-utils": "4.0.0-alpha.35",
46
+ "@lowdefy/nunjucks": "4.0.0-alpha.35",
47
+ "@lowdefy/operators": "4.0.0-alpha.35",
48
+ "@lowdefy/operators-js": "4.0.0-alpha.35"
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": "5e801532cef950b947c0069a5ba1a8f5ed6bb66f"
60
+ "gitHead": "d1cfcdb0b425ca9eb1259bdabe9cdf51df7f900c"
61
61
  }