@aloma.io/integration-sdk 3.0.0-8 → 3.0.0-9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.0.0-8",
3
+ "version": "3.0.0-9",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,9 @@ export default class RuntimeContext {
16
16
  name: `${data.id}/${data.version}`,
17
17
  });
18
18
 
19
- const configuration = connector.configure();
19
+ console.log('setting config', data.config)
20
+
21
+ const configuration = connector.configure().config(data.config || {});
20
22
 
21
23
  const resolvers: any = {};
22
24
  const methods: string[] = [...data.methods, '__endpoint', '__configQuery', '__default'];
@@ -30,7 +32,7 @@ export default class RuntimeContext {
30
32
  });
31
33
 
32
34
  configuration
33
- .config(data.config || {})
35
+
34
36
  .types(data.types)
35
37
  .resolvers(resolvers);
36
38