@ketch-sdk/ketch-types 1.1.5 → 1.1.6

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.ts CHANGED
@@ -156,6 +156,10 @@ export type ShowPreferenceOptions = {
156
156
  * supportedCountries is the list of supported ISO 3166 ALPHA-2 country codes to show in the rights form
157
157
  */
158
158
  supportedCountries?: string[];
159
+ /**
160
+ * showConsentsTab determines whether the consents tab will show. If undefined, the consents tab is displayed
161
+ */
162
+ showConsentsTab?: boolean;
159
163
  };
160
164
  /**
161
165
  * ExperienceType is the type of experience that will be shown
@@ -744,6 +748,7 @@ export interface RightsTab {
744
748
  bodyTitle?: string;
745
749
  bodyDescription?: string;
746
750
  buttonText: string;
751
+ recaptchaEnabled?: boolean;
747
752
  /**
748
753
  * additional extensions
749
754
  */
@@ -1081,6 +1086,19 @@ export interface Configuration {
1081
1086
  plugins?: {
1082
1087
  [key: string]: any;
1083
1088
  };
1089
+ /**
1090
+ * Recaptcha config
1091
+ */
1092
+ recaptcha?: Recaptcha;
1093
+ }
1094
+ /**
1095
+ * Recaptcha interface defines the Recaptcha config
1096
+ */
1097
+ export interface Recaptcha {
1098
+ /**
1099
+ * siteKey: Recaptcha site/public key used to exchange for a reCaptcha token
1100
+ */
1101
+ siteKey?: string;
1084
1102
  }
1085
1103
  /**
1086
1104
  * Pusher interface defines a type that has a push function like an array
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@ketch-sdk/ketch-types", "version": "1.1.5", "description": "Ketch Types", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "ncc build --minify --license licenses.txt src/index.ts", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "docs": "typedoc --githubPages true --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-types.git"}, "author": "Ketch Kloud, Inc. (https://www.ketch.com/)", "license": "MIT", "homepage": "https://github.com/ketch-sdk/ketch-types", "bugs": {"url": "https://github.com/ketch-sdk/ketch-types/issues"}, "devDependencies": {"@jest/globals": "^29.3.1", "@types/jest": "^29.2.3", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "@vercel/ncc": "^0.34.0", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.6", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "jest-junit": "^15.0.0", "prettier": "^2.8.0", "ts-jest": "^29.0.3", "typedoc": "^0.23.21", "typescript": "^4.9.3"}}
1
+ {"name": "@ketch-sdk/ketch-types", "version": "1.1.6", "description": "Ketch Types", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": {"all": "npm run lint && npm run format-check && npm run test && npm run build && npm run docs", "build": "ncc build --minify --license licenses.txt src/index.ts", "lint": "eslint src/**/*.ts", "test": "jest --runInBand --passWithNoTests", "format": "prettier --write \"**/*.{ts,tsx,yml,yaml}\"", "format-check": "prettier --check '**/*.ts'", "docs": "typedoc --githubPages true --excludeInternal src/index.ts"}, "repository": {"type": "git", "url": "git+https://github.com/ketch-sdk/ketch-types.git"}, "author": "Ketch Kloud, Inc. (https://www.ketch.com/)", "license": "MIT", "homepage": "https://github.com/ketch-sdk/ketch-types", "bugs": {"url": "https://github.com/ketch-sdk/ketch-types/issues"}, "devDependencies": {"@jest/globals": "^29.3.1", "@types/jest": "^29.2.3", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "@vercel/ncc": "^0.34.0", "eslint": "^8.28.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.6", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", "jest-junit": "^15.0.0", "prettier": "^2.8.0", "ts-jest": "^29.0.3", "typedoc": "^0.23.21", "typescript": "^4.9.3"}}
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1670014381753" clover="3.2.0">
3
- <project timestamp="1670014381753" name="All files">
2
+ <coverage generated="1670965987106" clover="3.2.0">
3
+ <project timestamp="1670965987107" name="All files">
4
4
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
5
5
  </project>
6
6
  </coverage>
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2022-12-02T20:53:01.750Z
89
+ at 2022-12-13T21:13:07.103Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,3 +1,3 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="jest tests" tests="0" failures="0" errors="0" time="0.002">
2
+ <testsuites name="jest tests" tests="0" failures="0" errors="0" time="0.003">
3
3
  </testsuites>