@paybutton/react 5.2.0 → 5.3.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.
@@ -11,21 +11,21 @@ export interface WidgetContainerProps extends Omit<WidgetProps, 'success' | 'set
11
11
  currencyObj?: CurrencyObject;
12
12
  cryptoAmount?: string;
13
13
  price?: number;
14
- setCurrencyObj: Function;
14
+ setCurrencyObj?: Function;
15
15
  randomSatoshis?: boolean | number;
16
16
  hideToasts?: boolean;
17
17
  onSuccess?: (transaction: Transaction) => void;
18
18
  onTransaction?: (transaction: Transaction) => void;
19
19
  sound?: boolean;
20
20
  goalAmount?: number | string;
21
- disabled: boolean;
22
- editable: boolean;
21
+ disabled?: boolean;
22
+ editable?: boolean;
23
23
  wsBaseUrl?: string;
24
24
  apiBaseUrl?: string;
25
25
  successText?: string;
26
26
  disableAltpayment?: boolean;
27
27
  contributionOffset?: number;
28
- setNewTxs: Function;
28
+ setNewTxs?: Function;
29
29
  disableSound?: boolean;
30
30
  transactionText?: string;
31
31
  donationAddress?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paybutton/react",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "The easiest way to accept eCash online",
5
5
  "author": "Blockchain Ventures Corp.",
6
6
  "license": "MIT",
@@ -56,6 +56,7 @@
56
56
  "@vitejs/plugin-react": "^4.6.0",
57
57
  "babel-eslint": "10.1.0",
58
58
  "babel-loader": "8.2.5",
59
+ "canvas": "^3.2.0",
59
60
  "concurrently": "5.3.0",
60
61
  "cross-env": "7.0.3",
61
62
  "currency-formatter": "1.5.9",
@@ -82,7 +83,7 @@
82
83
  "react-scripts": "5.0.1",
83
84
  "storybook": "^7.6.17",
84
85
  "typescript": "^4.8.2",
85
- "vite": "^4.4.5",
86
+ "vite": "^5.4.21",
86
87
  "yarn-run-all": "^3.1.1"
87
88
  },
88
89
  "dependencies": {