@koraidv/core 1.8.0 → 1.8.2

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 CHANGED
@@ -147,6 +147,16 @@ interface Verification {
147
147
  updatedAt: Date;
148
148
  /** Completion timestamp */
149
149
  completedAt?: Date;
150
+ /**
151
+ * Integrator + SDK-supplied metadata persisted on the verification.
152
+ * The Web SDK sets `source: 'web'` here so the backend's source-
153
+ * aware threshold tuning (v1.8.0) and the SDK's source-aware
154
+ * display thresholds (v1.8.1) can both line up — without this
155
+ * round-trip, the SDK can't tell which thresholds the backend
156
+ * used and the ResultScreen "REVIEW" badge disagrees with the
157
+ * actual backend approval.
158
+ */
159
+ metadata?: Record<string, unknown>;
150
160
  }
151
161
  /**
152
162
  * Verification status
package/dist/index.d.ts CHANGED
@@ -147,6 +147,16 @@ interface Verification {
147
147
  updatedAt: Date;
148
148
  /** Completion timestamp */
149
149
  completedAt?: Date;
150
+ /**
151
+ * Integrator + SDK-supplied metadata persisted on the verification.
152
+ * The Web SDK sets `source: 'web'` here so the backend's source-
153
+ * aware threshold tuning (v1.8.0) and the SDK's source-aware
154
+ * display thresholds (v1.8.1) can both line up — without this
155
+ * round-trip, the SDK can't tell which thresholds the backend
156
+ * used and the ResultScreen "REVIEW" badge disagrees with the
157
+ * actual backend approval.
158
+ */
159
+ metadata?: Record<string, unknown>;
150
160
  }
151
161
  /**
152
162
  * Verification status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koraidv/core",
3
- "version": "1.8.0",
3
+ "version": "1.8.2",
4
4
  "description": "Kora IDV Core SDK - API Client and Utilities",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",