@odus/checkout 1.9.0 → 1.9.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.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Reads the readable text out of an API error body. The API declares `message`
3
+ * as a string, but a validation failure answers with an array of them, so both
4
+ * shapes reach here and neither may be indexed blindly.
5
+ */
6
+ export declare const readApiMessage: (body: unknown) => string | undefined;
7
+ //# sourceMappingURL=readApiMessage.util.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readApiMessage.util.d.ts","sourceRoot":"","sources":["../../../src/utils/helpers/readApiMessage.util.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,OAAO,KAAG,MAAM,GAAG,SAYvD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odus/checkout",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "displayName": "Odus Checkout SDK",
5
5
  "keywords": [
6
6
  "odus",
@@ -43,6 +43,7 @@
43
43
  },
44
44
  "test": {
45
45
  "cache": true,
46
+ "// inputs": "`GITHUB_ACTIONS` is an input because vitest.config.ts enables coverage only when it is set. Without it a local run and a CI run hash identically, so Nx could replay a cached result carrying no coverage report and the ratchet in ci.yaml would find no coverage-summary.json — see #4390.",
46
47
  "inputs": [
47
48
  "default",
48
49
  "^production",
@@ -50,6 +51,9 @@
50
51
  "externalDependencies": [
51
52
  "vitest"
52
53
  ]
54
+ },
55
+ {
56
+ "env": "GITHUB_ACTIONS"
53
57
  }
54
58
  ],
55
59
  "outputs": [
@@ -129,6 +133,6 @@
129
133
  "@types/applepayjs": "^14.0.9",
130
134
  "@vgs/collect-js": "^0.8.0",
131
135
  "jsencrypt": "^3.5.4",
132
- "libphonenumber-js": "^1.13.10"
136
+ "libphonenumber-js": "^1.13.12"
133
137
  }
134
138
  }