@trunkrs/common 1.6.11 → 1.6.12

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": "@trunkrs/common",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "description": "Common standards library for development in Trunkrs",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/Trunkrs/common.git",
@@ -13,10 +13,12 @@ class StepFunctionsClient {
13
13
  }
14
14
  async startStateMachine(input) {
15
15
  const requestInput = input ? JSON.stringify(input) : undefined;
16
- await this.client.startExecution({
16
+ await this.client
17
+ .startExecution({
17
18
  stateMachineArn: this.stateMachineArn,
18
19
  input: requestInput,
19
- });
20
+ })
21
+ .promise();
20
22
  }
21
23
  }
22
24
  exports.default = StepFunctionsClient;
@@ -1 +1 @@
1
- {"version":3,"file":"StepFunctionsClient.js","sourceRoot":"","sources":["../../../services/state-machine/StepFunctionsClient.ts"],"names":[],"mappings":";;;;;AAAA,gEAA+B;AAC/B,sDAAyB;AAGzB,MAAM,EAAE,aAAa,EAAE,GAAG,sBAAI,CAAC,UAAU,CAAC,iBAAG,CAAC,CAAA;AAE9C,MAAM,mBAAmB;IAGvB,YAAoC,eAAuB;QAAvB,oBAAe,GAAf,eAAe,CAAQ;QAF1C,WAAM,GAAG,IAAI,aAAa,EAAE,CAAA;IAEiB,CAAC;IAExD,KAAK,CAAC,iBAAiB,CAC5B,KAAc;QAEd,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAE9D,MAAM,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;YAC/B,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,KAAK,EAAE,YAAY;SACpB,CAAC,CAAA;IACJ,CAAC;CACF;AAED,kBAAe,mBAAmB,CAAA"}
1
+ {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