@rebilly/instruments 9.79.0 → 9.80.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [9.79.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.78.1...instruments/core-v9.79.0) (2024-09-10)
1
+ ## [9.80.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.79.0...instruments/core-v9.80.0) (2024-09-12)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#7432](https://github.com/Rebilly/rebilly/issues/7432)) ([aa30e82](https://github.com/Rebilly/rebilly/commit/aa30e82c8fce87c89090158c72384485c4d1cfb2))
6
+ * **instruments:** Allow custom consent check box ([#7318](https://github.com/Rebilly/rebilly/issues/7318)) ([f966501](https://github.com/Rebilly/rebilly/commit/f966501cc9cd71130a236a11cd9ddbcb3b1e459d))
package/dist/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export interface I18n {
40
40
  [key: string]: {
41
41
  summary?: object;
42
42
  form?: object;
43
+ consentCheck?: object;
43
44
  confirmation?: object;
44
45
  result?: object;
45
46
  validations?: object;
package/dist/index.js CHANGED
@@ -6220,7 +6220,7 @@ function C$1({ options: e2 }) {
6220
6220
  }
6221
6221
  function o2() {
6222
6222
  const i = {
6223
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@aa30e82`
6223
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@f966501`
6224
6224
  };
6225
6225
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
6226
6226
  }
@@ -24429,6 +24429,7 @@ const i18nSchema = {
24429
24429
  summary: optional({ type: "object" }),
24430
24430
  form: optional({ type: "object" }),
24431
24431
  confirmation: optional({ type: "object" }),
24432
+ consentCheck: optional({ type: "object" }),
24432
24433
  result: optional({ type: "object" }),
24433
24434
  validations: optional({ type: "object" }),
24434
24435
  paymentMethods: optional({ type: "object" })
@@ -25125,6 +25126,13 @@ const featuresSchema = {
25125
25126
  hideZeroAmountSummaryItems: optional({
25126
25127
  type: "boolean",
25127
25128
  default: false
25129
+ }),
25130
+ showConsentCheck: optional({
25131
+ type: "array",
25132
+ items: {
25133
+ type: "string",
25134
+ enum: ["form", "confirmation"]
25135
+ }
25128
25136
  })
25129
25137
  },
25130
25138
  default: {}