@everymatrix/cashier-verifications 1.43.3 → 1.44.0

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": "@everymatrix/cashier-verifications",
3
- "version": "1.43.3",
3
+ "version": "1.44.0",
4
4
  "main": "index.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "4723f5370b2d6fc913a8cf6770f9f492038e54e8"
38
+ "gitHead": "701410f2b76dfe1ee4038f799b1e8e340c85cdb5"
39
39
  }
@@ -162,7 +162,10 @@
162
162
 
163
163
  const getCalculatedStatus = (verifications) => {
164
164
  if (!verifications || !verifications.length) {
165
- return { VerificationSummaryStatus: CustomerVerificationStatus.Unverified }
165
+ return {
166
+ VerificationSummaryStatus: CustomerVerificationStatus.Unverified,
167
+ VerificationStatuses: []
168
+ }
166
169
  }
167
170
  const verificationsInProgress = getVerificationInProgress(verifications);
168
171
  if (verificationsInProgress && verificationsInProgress.length) {