@paybutton/react 1.2.0 → 1.2.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.
@@ -1,15 +1,15 @@
1
- export declare const getAddressDetails: (address: string, rootUrl?: string) => Promise<AddressDetails>;
2
- export declare const getSatoshiBalance: (address: string, rootUrl?: string) => Promise<{
1
+ export declare const getAddressDetails: (address: string, rootUrl?: string | undefined) => Promise<AddressDetails>;
2
+ export declare const getSatoshiBalance: (address: string, rootUrl?: string | undefined) => Promise<{
3
3
  satoshis: number;
4
4
  }>;
5
- export declare const getUTXOs: (address: string, rootUrl?: string) => Promise<UtxoDetails>;
5
+ export declare const getUTXOs: (address: string, rootUrl?: string | undefined) => Promise<UtxoDetails>;
6
6
  export declare const getFiatPrice: (currency: currency) => Promise<PriceData>;
7
7
  export declare const getTransactionDetails: (txid: string, rootUrl?: string) => Promise<TransactionDetails>;
8
8
  declare const _default: {
9
- getAddressDetails: (address: string, rootUrl?: string) => Promise<AddressDetails>;
9
+ getAddressDetails: (address: string, rootUrl?: string | undefined) => Promise<AddressDetails>;
10
10
  getTransactionDetails: (txid: string, rootUrl?: string) => Promise<TransactionDetails>;
11
11
  getFiatPrice: (currency: currency) => Promise<PriceData>;
12
- getSatoshiBalance: (address: string, rootUrl?: string) => Promise<{
12
+ getSatoshiBalance: (address: string, rootUrl?: string | undefined) => Promise<{
13
13
  satoshis: number;
14
14
  }>;
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paybutton/react",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "The easiest way to accept Bitcoin Cash online",
5
5
  "author": "poldridge",
6
6
  "license": "MIT",
@@ -23,67 +23,67 @@
23
23
  "watch": "microbundle watch --jsx React.createElement --no-compress --format modern,cjs"
24
24
  },
25
25
  "peerDependencies": {
26
- "react": "^16.13.1",
27
- "react-dom": "^16.13.1"
26
+ "react": "16.14.0",
27
+ "react-dom": "16.14.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@babel/core": "^7.11.6",
31
- "@popperjs/core": "^2.7.2",
32
- "@storybook/addon-a11y": "^6.1.18",
33
- "@storybook/addon-actions": "^6.1.18",
34
- "@storybook/addon-essentials": "^6.1.18",
35
- "@storybook/addon-links": "^6.1.18",
36
- "@storybook/node-logger": "^6.1.18",
37
- "@storybook/preset-create-react-app": "^3.1.6",
38
- "@storybook/react": "^6.1.18",
39
- "@types/currency-formatter": "^1.3.0",
40
- "@types/lodash": "^4.14.157",
41
- "@types/node": "^12.12.38",
42
- "@types/qrcode.react": "^1.0.1",
43
- "@types/react": "^16.9.27",
44
- "@types/react-dom": "^16.9.7",
45
- "@typescript-eslint/eslint-plugin": "^2.26.0",
46
- "@typescript-eslint/parser": "^2.26.0",
47
- "babel-eslint": "^10.0.3",
48
- "babel-loader": "^8.1.0",
49
- "concurrently": "^5.3.0",
50
- "cross-env": "^7.0.2",
51
- "currency-formatter": "^1.5.6",
52
- "eslint": "^6.8.0",
53
- "eslint-config-prettier": "^6.7.0",
54
- "eslint-config-standard": "^14.1.0",
55
- "eslint-config-standard-react": "^9.2.0",
56
- "eslint-plugin-import": "^2.18.2",
57
- "eslint-plugin-node": "^11.0.0",
58
- "eslint-plugin-prettier": "^3.1.1",
59
- "eslint-plugin-promise": "^4.2.1",
60
- "eslint-plugin-react": "^7.17.0",
61
- "eslint-plugin-react-hooks": "^4.1.2",
62
- "eslint-plugin-standard": "^4.0.1",
63
- "husky": "^4.3.0",
64
- "lint-staged": "^10.4.0",
65
- "microbundle": "^0.12.4",
66
- "npm-run-all": "^4.1.5",
67
- "prettier": "^2.1.2",
68
- "react-is": "^16.13.1",
69
- "react-scripts": "^3.4.3",
70
- "typescript": "^3.7.5"
30
+ "@babel/core": "7.18.9",
31
+ "@popperjs/core": "2.11.5",
32
+ "@storybook/addon-a11y": "6.5.9",
33
+ "@storybook/addon-actions": "6.5.9",
34
+ "@storybook/addon-essentials": "6.5.9",
35
+ "@storybook/addon-links": "6.5.9",
36
+ "@storybook/node-logger": "6.5.9",
37
+ "@storybook/preset-create-react-app": "3.2.0",
38
+ "@storybook/react": "6.5.9",
39
+ "@types/currency-formatter": "1.5.1",
40
+ "@types/lodash": "4.14.182",
41
+ "@types/node": "12.20.55",
42
+ "@types/qrcode.react": "1.0.2",
43
+ "@types/react": "16.14.28",
44
+ "@types/react-dom": "16.9.16",
45
+ "@typescript-eslint/eslint-plugin": "2.34.0",
46
+ "@typescript-eslint/parser": "2.34.0",
47
+ "babel-eslint": "10.1.0",
48
+ "babel-loader": "8.2.5",
49
+ "concurrently": "5.3.0",
50
+ "cross-env": "7.0.3",
51
+ "currency-formatter": "1.5.9",
52
+ "eslint": "6.8.0",
53
+ "eslint-config-prettier": "6.15.0",
54
+ "eslint-config-standard": "14.1.1",
55
+ "eslint-config-standard-react": "9.2.0",
56
+ "eslint-plugin-import": "2.26.0",
57
+ "eslint-plugin-node": "11.1.0",
58
+ "eslint-plugin-prettier": "3.4.1",
59
+ "eslint-plugin-promise": "4.3.1",
60
+ "eslint-plugin-react": "7.30.1",
61
+ "eslint-plugin-react-hooks": "4.6.0",
62
+ "eslint-plugin-standard": "4.1.0",
63
+ "husky": "4.3.8",
64
+ "lint-staged": "10.5.4",
65
+ "microbundle": "0.12.4",
66
+ "npm-run-all": "4.1.5",
67
+ "prettier": "2.7.1",
68
+ "react-is": "16.13.1",
69
+ "react-scripts": "3.4.4",
70
+ "typescript": "3.9.10"
71
71
  },
72
72
  "files": [
73
73
  "dist"
74
74
  ],
75
75
  "dependencies": {
76
- "@bitauth/libauth": "^1.18.0",
77
- "@material-ui/core": "^4.11.0",
78
- "@material-ui/lab": "^4.0.0-alpha.56",
79
- "@material-ui/styles": "^4.10.0",
80
- "axios": "^0.21.1",
81
- "bignumber.js": "^9.0.1",
82
- "copy-to-clipboard": "^3.3.1",
83
- "lodash": "^4.17.20",
84
- "notistack": "^1.0.0",
85
- "qrcode.react": "^1.0.0",
86
- "react-jss": "^10.3.0"
76
+ "@bitauth/libauth": "1.19.1",
77
+ "@material-ui/core": "4.12.4",
78
+ "@material-ui/lab": "4.0.0-alpha.61",
79
+ "@material-ui/styles": "4.11.5",
80
+ "axios": "0.21.4",
81
+ "bignumber.js": "9.0.2",
82
+ "copy-to-clipboard": "3.3.1",
83
+ "lodash": "4.17.21",
84
+ "notistack": "1.0.10",
85
+ "qrcode.react": "1.0.1",
86
+ "react-jss": "10.9.0"
87
87
  },
88
88
  "husky": {
89
89
  "hooks": {