@xyo-network/react-ethereum-gas-price-payload-plugins 3.0.1 → 3.0.3

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,11 +1,10 @@
1
- import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
1
+ import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
2
2
  export * from '@xyo-network/react-ethereum-gas-price-blocknative-plugin';
3
3
  export * from '@xyo-network/react-ethereum-gas-price-etherchain-plugins';
4
4
  export * from '@xyo-network/react-ethereum-gas-price-ethers-plugin';
5
5
  export * from '@xyo-network/react-ethereum-gas-price-etherscan-plugin';
6
6
  export * from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin';
7
7
  export * from '@xyo-network/react-ethereum-gas-price-plugin';
8
-
9
- declare const EthereumGasPricePayloadPlugins: PayloadRenderPlugin[];
10
-
11
- export { EthereumGasPricePayloadPlugins, EthereumGasPricePayloadPlugins as default };
8
+ export declare const EthereumGasPricePayloadPlugins: PayloadRenderPlugin[];
9
+ export default EthereumGasPricePayloadPlugins;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAE5E,cAAc,0DAA0D,CAAA;AACxE,cAAc,0DAA0D,CAAA;AACxE,cAAc,qDAAqD,CAAA;AACnE,cAAc,wDAAwD,CAAA;AACtE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,8CAA8C,CAAA;AAE5D,eAAO,MAAM,8BAA8B,EAAE,mBAAmB,EAO/D,CAAA;AAED,eAAe,8BAA8B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { EthereumGasPriceBlocknativePlugin } from '@xyo-network/react-ethereum-gas-price-blocknative-plugin'\nimport { EthereumGasPriceEtherchainPlugins } from '@xyo-network/react-ethereum-gas-price-etherchain-plugins'\nimport { EthereumGasPriceEthersPlugin } from '@xyo-network/react-ethereum-gas-price-ethers-plugin'\nimport { EthereumGasPriceEtherscanPlugin } from '@xyo-network/react-ethereum-gas-price-etherscan-plugin'\nimport { EthereumGasPriceEthgasstationPlugin } from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin'\nimport { EthereumGasPricePlugin } from '@xyo-network/react-ethereum-gas-price-plugin'\nimport { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\n\nexport * from '@xyo-network/react-ethereum-gas-price-blocknative-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-etherchain-plugins'\nexport * from '@xyo-network/react-ethereum-gas-price-ethers-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-etherscan-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-plugin'\n\nexport const EthereumGasPricePayloadPlugins: PayloadRenderPlugin[] = [\n EthereumGasPricePlugin,\n EthereumGasPriceEtherscanPlugin,\n EthereumGasPriceEthersPlugin,\n EthereumGasPriceEthgasstationPlugin,\n EthereumGasPriceBlocknativePlugin,\n ...EthereumGasPriceEtherchainPlugins,\n]\n\nexport default EthereumGasPricePayloadPlugins\n"],"mappings":";AAAA,SAASA,yCAAyC;AAClD,SAASC,yCAAyC;AAClD,SAASC,oCAAoC;AAC7C,SAASC,uCAAuC;AAChD,SAASC,2CAA2C;AACpD,SAASC,8BAA8B;AAGvC,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAMC,iCAAwD;EACnED;EACAF;EACAD;EACAE;EACAJ;KACGC;;AAGL,IAAA,cAAeK;","names":["EthereumGasPriceBlocknativePlugin","EthereumGasPriceEtherchainPlugins","EthereumGasPriceEthersPlugin","EthereumGasPriceEtherscanPlugin","EthereumGasPriceEthgasstationPlugin","EthereumGasPricePlugin","EthereumGasPricePayloadPlugins"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { EthereumGasPriceBlocknativePlugin } from '@xyo-network/react-ethereum-gas-price-blocknative-plugin'\nimport { EthereumGasPriceEtherchainPlugins } from '@xyo-network/react-ethereum-gas-price-etherchain-plugins'\nimport { EthereumGasPriceEthersPlugin } from '@xyo-network/react-ethereum-gas-price-ethers-plugin'\nimport { EthereumGasPriceEtherscanPlugin } from '@xyo-network/react-ethereum-gas-price-etherscan-plugin'\nimport { EthereumGasPriceEthgasstationPlugin } from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin'\nimport { EthereumGasPricePlugin } from '@xyo-network/react-ethereum-gas-price-plugin'\nimport type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\n\nexport * from '@xyo-network/react-ethereum-gas-price-blocknative-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-etherchain-plugins'\nexport * from '@xyo-network/react-ethereum-gas-price-ethers-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-etherscan-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin'\nexport * from '@xyo-network/react-ethereum-gas-price-plugin'\n\nexport const EthereumGasPricePayloadPlugins: PayloadRenderPlugin[] = [\n EthereumGasPricePlugin,\n EthereumGasPriceEtherscanPlugin,\n EthereumGasPriceEthersPlugin,\n EthereumGasPriceEthgasstationPlugin,\n EthereumGasPriceBlocknativePlugin,\n ...EthereumGasPriceEtherchainPlugins,\n]\n\nexport default EthereumGasPricePayloadPlugins\n"],"mappings":";AAAA,SAASA,yCAAyC;AAClD,SAASC,yCAAyC;AAClD,SAASC,oCAAoC;AAC7C,SAASC,uCAAuC;AAChD,SAASC,2CAA2C;AACpD,SAASC,8BAA8B;AAGvC,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEP,IAAMC,iCAAwD;EACnED;EACAF;EACAD;EACAE;EACAJ;KACGC;;AAGL,IAAA,cAAeK;","names":["EthereumGasPriceBlocknativePlugin","EthereumGasPriceEtherchainPlugins","EthereumGasPriceEthersPlugin","EthereumGasPriceEtherscanPlugin","EthereumGasPriceEthgasstationPlugin","EthereumGasPricePlugin","EthereumGasPricePayloadPlugins"]}
package/package.json CHANGED
@@ -1,25 +1,65 @@
1
1
  {
2
2
  "name": "@xyo-network/react-ethereum-gas-price-payload-plugins",
3
+ "version": "3.0.3",
4
+ "description": "Common React library for all XYO projects that use React",
5
+ "keywords": [
6
+ "xyo",
7
+ "utility",
8
+ "typescript",
9
+ "react"
10
+ ],
11
+ "homepage": "https://xyo.network",
12
+ "bugs": {
13
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues",
14
+ "email": "support@xyo.network"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
19
+ },
20
+ "license": "LGPL-3.0-only",
3
21
  "author": {
4
- "email": "support@xyo.network",
5
22
  "name": "XYO Development Team",
23
+ "email": "support@xyo.network",
6
24
  "url": "https://xyo.network"
7
25
  },
8
- "bugs": {
9
- "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
26
+ "sideEffects": false,
27
+ "type": "module",
28
+ "exports": {
29
+ ".": {
30
+ "import": {
31
+ "types": "./dist/browser/index.d.ts",
32
+ "default": "./dist/browser/index.mjs"
33
+ },
34
+ "types": "./dist/browser/index.d.ts",
35
+ "default": "./dist/browser/index.mjs"
36
+ },
37
+ "./package.json": "./package.json"
38
+ },
39
+ "module": "dist/browser/index.mjs",
40
+ "types": "dist/browser/index.d.ts",
41
+ "scripts": {
42
+ "license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\"",
43
+ "lint-pkg": "npmPkgJsonLint ."
11
44
  },
12
45
  "dependencies": {
13
- "@xyo-network/react-ethereum-gas-price-blocknative-plugin": "^3.0.1",
14
- "@xyo-network/react-ethereum-gas-price-etherchain-plugins": "^3.0.1",
15
- "@xyo-network/react-ethereum-gas-price-ethers-plugin": "^3.0.1",
16
- "@xyo-network/react-ethereum-gas-price-etherscan-plugin": "^3.0.1",
17
- "@xyo-network/react-ethereum-gas-price-ethgasstation-plugin": "^3.0.1",
18
- "@xyo-network/react-ethereum-gas-price-plugin": "^3.0.1",
19
- "@xyo-network/react-payload-plugin": "^3.0.1"
46
+ "@xyo-network/react-ethereum-gas-price-blocknative-plugin": "^3.0.3",
47
+ "@xyo-network/react-ethereum-gas-price-etherchain-plugins": "^3.0.3",
48
+ "@xyo-network/react-ethereum-gas-price-ethers-plugin": "^3.0.3",
49
+ "@xyo-network/react-ethereum-gas-price-etherscan-plugin": "^3.0.3",
50
+ "@xyo-network/react-ethereum-gas-price-ethgasstation-plugin": "^3.0.3",
51
+ "@xyo-network/react-ethereum-gas-price-plugin": "^3.0.3",
52
+ "@xyo-network/react-payload-plugin": "^3.0.3"
20
53
  },
21
54
  "devDependencies": {
22
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
55
+ "@emotion/react": "^11.13.3",
56
+ "@emotion/styled": "^11.13.0",
57
+ "@mui/icons-material": "^5.16.7",
58
+ "@mui/material": "^5.16.7",
59
+ "@mui/styles": "^5.16.7",
60
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
61
+ "react": "^18.3.1",
62
+ "react-dom": "^18.3.1",
23
63
  "typescript": "^5.5.4"
24
64
  },
25
65
  "peerDependencies": {
@@ -31,41 +71,8 @@
31
71
  "react": "^18",
32
72
  "react-dom": "^18"
33
73
  },
34
- "description": "Common React library for all XYO projects that use React",
35
- "docs": "dist/docs.json",
36
- "exports": {
37
- ".": {
38
- "import": {
39
- "types": "./dist/browser/index.d.ts",
40
- "default": "./dist/browser/index.mjs"
41
- },
42
- "types": "./dist/browser/index.d.ts",
43
- "default": "./dist/browser/index.mjs"
44
- },
45
- "./package.json": "./package.json"
46
- },
47
- "module": "dist/browser/index.mjs",
48
- "homepage": "https://xyo.network",
49
- "keywords": [
50
- "xyo",
51
- "utility",
52
- "typescript",
53
- "react"
54
- ],
55
- "license": "LGPL-3.0-only",
56
74
  "publishConfig": {
57
75
  "access": "public"
58
76
  },
59
- "repository": {
60
- "type": "git",
61
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
62
- },
63
- "scripts": {
64
- "lint-pkg": "npmPkgJsonLint .",
65
- "license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
66
- },
67
- "sideEffects": false,
68
- "types": "dist/browser/index.d.ts",
69
- "version": "3.0.1",
70
- "type": "module"
77
+ "docs": "dist/docs.json"
71
78
  }
package/src/index.ts CHANGED
@@ -4,7 +4,7 @@ import { EthereumGasPriceEthersPlugin } from '@xyo-network/react-ethereum-gas-pr
4
4
  import { EthereumGasPriceEtherscanPlugin } from '@xyo-network/react-ethereum-gas-price-etherscan-plugin'
5
5
  import { EthereumGasPriceEthgasstationPlugin } from '@xyo-network/react-ethereum-gas-price-ethgasstation-plugin'
6
6
  import { EthereumGasPricePlugin } from '@xyo-network/react-ethereum-gas-price-plugin'
7
- import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
7
+ import type { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
8
8
 
9
9
  export * from '@xyo-network/react-ethereum-gas-price-blocknative-plugin'
10
10
  export * from '@xyo-network/react-ethereum-gas-price-etherchain-plugins'
package/xy.config.ts CHANGED
@@ -1,9 +1,7 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
- browser: {
5
- src: true,
6
- },
4
+ browser: { src: true },
7
5
  node: {},
8
6
  neutral: {},
9
7
  },