@terraforge/core 0.0.11 → 0.0.13
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/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -93,7 +93,7 @@ type Tag = 'resource' | 'data';
|
|
|
93
93
|
type State = Record<string, any>;
|
|
94
94
|
type Config = {
|
|
95
95
|
/** Specify additional explicit dependencies in addition to the ones in the dependency graph. */
|
|
96
|
-
dependsOn?: Resource
|
|
96
|
+
dependsOn?: Array<Resource | DataSource>;
|
|
97
97
|
/** Pass an ID of an explicitly configured provider, instead of using the default provider. */
|
|
98
98
|
provider?: string;
|
|
99
99
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -227,7 +227,7 @@ const output = (value) => {
|
|
|
227
227
|
};
|
|
228
228
|
const combine = (...inputs) => {
|
|
229
229
|
return new Output(new Set(findInputDeps(inputs)), (resolve$1, reject) => {
|
|
230
|
-
Promise.all(inputs).then((result) => {
|
|
230
|
+
Promise.all(inputs).then(resolveInputs).then((result) => {
|
|
231
231
|
resolve$1(result);
|
|
232
232
|
}, reject);
|
|
233
233
|
});
|