@pie-players/pie-calculator 0.3.74 → 0.3.75

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.
@@ -107,6 +107,16 @@ export interface CalculatorProvider {
107
107
  * Provider version
108
108
  */
109
109
  readonly version: string;
110
+ /**
111
+ * Credit the vendor's terms require beside every calculator the provider
112
+ * renders; the calculator surface shows it as a link. A provider whose
113
+ * library draws its own credit inside the calculator, as Desmos's does,
114
+ * declares none.
115
+ */
116
+ readonly attribution?: {
117
+ readonly label: string;
118
+ readonly href: string;
119
+ };
110
120
  /**
111
121
  * Initialize the provider: load the vendor library and authenticate.
112
122
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-calculator",
3
- "version": "0.3.74",
3
+ "version": "0.3.75",
4
4
  "author": "PIE Framework",
5
5
  "repository": {
6
6
  "type": "git",