@xyo-network/react-storybook 2.40.32 → 2.40.34
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/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sampleEthereumGasDivinerPayload.d.ts +24 -0
- package/dist/cjs/sampleEthereumGasDivinerPayload.d.ts.map +1 -0
- package/dist/cjs/sampleEthereumGasDivinerPayload.js +27 -0
- package/dist/cjs/sampleEthereumGasDivinerPayload.js.map +1 -0
- package/dist/docs.json +795 -272
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/sampleEthereumGasDivinerPayload.d.ts +24 -0
- package/dist/esm/sampleEthereumGasDivinerPayload.d.ts.map +1 -0
- package/dist/esm/sampleEthereumGasDivinerPayload.js +24 -0
- package/dist/esm/sampleEthereumGasDivinerPayload.js.map +1 -0
- package/package.json +8 -8
- package/src/index.ts +1 -0
- package/src/sampleEthereumGasDivinerPayload.ts +24 -0
package/dist/esm/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './DeprecateStory';
|
|
|
4
4
|
export * from './sampleAddressHistory';
|
|
5
5
|
export * from './sampleBlock';
|
|
6
6
|
export * from './sampleCoinGeckoPayload';
|
|
7
|
+
export * from './sampleEthereumGasDivinerPayload';
|
|
7
8
|
export * from './samplePayload';
|
|
8
9
|
export * from './sampleUniswapPayload';
|
|
9
10
|
export * from './useAppThemeDecorator';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
package/dist/esm/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * from './DeprecateStory';
|
|
|
4
4
|
export * from './sampleAddressHistory';
|
|
5
5
|
export * from './sampleBlock';
|
|
6
6
|
export * from './sampleCoinGeckoPayload';
|
|
7
|
+
export * from './sampleEthereumGasDivinerPayload';
|
|
7
8
|
export * from './samplePayload';
|
|
8
9
|
export * from './sampleUniswapPayload';
|
|
9
10
|
export * from './useAppThemeDecorator';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const sampleEthereumGasDivinerPayload: {
|
|
2
|
+
baseFee: number;
|
|
3
|
+
feePerGas: {
|
|
4
|
+
high: number;
|
|
5
|
+
low: number;
|
|
6
|
+
medium: number;
|
|
7
|
+
veryHigh: number;
|
|
8
|
+
};
|
|
9
|
+
priorityFeePerGas: {
|
|
10
|
+
high: number;
|
|
11
|
+
low: number;
|
|
12
|
+
medium: number;
|
|
13
|
+
veryHigh: number;
|
|
14
|
+
};
|
|
15
|
+
schema: string;
|
|
16
|
+
timestamp: number;
|
|
17
|
+
};
|
|
18
|
+
export declare const sampleEthereumGasDivinerPayloadMissingFees: {
|
|
19
|
+
feePerGas: {};
|
|
20
|
+
priorityFeePerGas: {};
|
|
21
|
+
schema: string;
|
|
22
|
+
timestamp: number;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=sampleEthereumGasDivinerPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleEthereumGasDivinerPayload.d.ts","sourceRoot":"","sources":["../../src/sampleEthereumGasDivinerPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;CAgB3C,CAAA;AAED,eAAO,MAAM,0CAA0C;;;;;CAKtD,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const sampleEthereumGasDivinerPayload = {
|
|
2
|
+
baseFee: 13.3646505198,
|
|
3
|
+
feePerGas: {
|
|
4
|
+
high: 17.3060964302,
|
|
5
|
+
low: 12.155000000000001,
|
|
6
|
+
medium: 12.5625,
|
|
7
|
+
veryHigh: 16.5462485885,
|
|
8
|
+
},
|
|
9
|
+
priorityFeePerGas: {
|
|
10
|
+
high: 1.075,
|
|
11
|
+
low: 0.7466666666666667,
|
|
12
|
+
medium: 0.8566666666666668,
|
|
13
|
+
veryHigh: 1.2766666666666666,
|
|
14
|
+
},
|
|
15
|
+
schema: 'network.xyo.blockchain.ethereum.gas',
|
|
16
|
+
timestamp: 1669819808305,
|
|
17
|
+
};
|
|
18
|
+
export const sampleEthereumGasDivinerPayloadMissingFees = {
|
|
19
|
+
feePerGas: {},
|
|
20
|
+
priorityFeePerGas: {},
|
|
21
|
+
schema: 'network.xyo.blockchain.ethereum.gas',
|
|
22
|
+
timestamp: 1659071465718,
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=sampleEthereumGasDivinerPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleEthereumGasDivinerPayload.js","sourceRoot":"","sources":["../../src/sampleEthereumGasDivinerPayload.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE;QACT,IAAI,EAAE,aAAa;QACnB,GAAG,EAAE,kBAAkB;QACvB,MAAM,EAAE,OAAO;QACf,QAAQ,EAAE,aAAa;KACxB;IACD,iBAAiB,EAAE;QACjB,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,kBAAkB;QACvB,MAAM,EAAE,kBAAkB;QAC1B,QAAQ,EAAE,kBAAkB;KAC7B;IACD,MAAM,EAAE,qCAAqC;IAC7C,SAAS,EAAE,aAAa;CACzB,CAAA;AAED,MAAM,CAAC,MAAM,0CAA0C,GAAG;IACxD,SAAS,EAAE,EAAE;IACb,iBAAiB,EAAE,EAAE;IACrB,MAAM,EAAE,qCAAqC;IAC7C,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@storybook/react": "^6.5.
|
|
13
|
+
"@storybook/react": "^6.5.14",
|
|
14
14
|
"@xylabs/react-flexbox": "^2.15.2",
|
|
15
15
|
"@xylabs/react-invertable-theme": "^2.15.2",
|
|
16
16
|
"@xylabs/react-shared": "^2.15.2",
|
|
17
|
-
"@xyo-network/react-api": "^2.40.
|
|
18
|
-
"@xyo-network/react-auth": "^2.40.
|
|
19
|
-
"@xyo-network/react-map": "^2.40.
|
|
20
|
-
"@xyo-network/react-theme": "^2.40.
|
|
21
|
-
"@xyo-network/react-wallet-service": "^2.40.
|
|
17
|
+
"@xyo-network/react-api": "^2.40.34",
|
|
18
|
+
"@xyo-network/react-auth": "^2.40.34",
|
|
19
|
+
"@xyo-network/react-map": "^2.40.34",
|
|
20
|
+
"@xyo-network/react-theme": "^2.40.34",
|
|
21
|
+
"@xyo-network/react-wallet-service": "^2.40.34",
|
|
22
22
|
"lodash": "^4.17.21",
|
|
23
23
|
"require-from-string": "^2.0.2",
|
|
24
24
|
"storybook-dark-mode": "^1.1.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"description": "Common React library for all XYO projects that use React",
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@types/lodash": "^4.14.
|
|
57
|
+
"@types/lodash": "^4.14.191"
|
|
58
58
|
},
|
|
59
59
|
"browser": "dist/esm/index.js",
|
|
60
60
|
"docs": "dist/docs.json",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
},
|
|
99
99
|
"sideEffects": false,
|
|
100
100
|
"types": "dist/esm/index.d.ts",
|
|
101
|
-
"version": "2.40.
|
|
101
|
+
"version": "2.40.34"
|
|
102
102
|
}
|
package/src/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './DeprecateStory'
|
|
|
4
4
|
export * from './sampleAddressHistory'
|
|
5
5
|
export * from './sampleBlock'
|
|
6
6
|
export * from './sampleCoinGeckoPayload'
|
|
7
|
+
export * from './sampleEthereumGasDivinerPayload'
|
|
7
8
|
export * from './samplePayload'
|
|
8
9
|
export * from './sampleUniswapPayload'
|
|
9
10
|
export * from './useAppThemeDecorator'
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const sampleEthereumGasDivinerPayload = {
|
|
2
|
+
baseFee: 13.3646505198,
|
|
3
|
+
feePerGas: {
|
|
4
|
+
high: 17.3060964302,
|
|
5
|
+
low: 12.155000000000001,
|
|
6
|
+
medium: 12.5625,
|
|
7
|
+
veryHigh: 16.5462485885,
|
|
8
|
+
},
|
|
9
|
+
priorityFeePerGas: {
|
|
10
|
+
high: 1.075,
|
|
11
|
+
low: 0.7466666666666667,
|
|
12
|
+
medium: 0.8566666666666668,
|
|
13
|
+
veryHigh: 1.2766666666666666,
|
|
14
|
+
},
|
|
15
|
+
schema: 'network.xyo.blockchain.ethereum.gas',
|
|
16
|
+
timestamp: 1669819808305,
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const sampleEthereumGasDivinerPayloadMissingFees = {
|
|
20
|
+
feePerGas: {},
|
|
21
|
+
priorityFeePerGas: {},
|
|
22
|
+
schema: 'network.xyo.blockchain.ethereum.gas',
|
|
23
|
+
timestamp: 1659071465718,
|
|
24
|
+
}
|