@xyo-network/react-storybook 4.4.3 → 4.4.4
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/browser/index.d.ts +299 -11
- package/package.json +5 -5
- package/dist/browser/DeprecateStory.d.ts +0 -5
- package/dist/browser/DeprecateStory.d.ts.map +0 -1
- package/dist/browser/WithRefDecorator.d.ts +0 -3
- package/dist/browser/WithRefDecorator.d.ts.map +0 -1
- package/dist/browser/defaultSeedPhrase.d.ts +0 -2
- package/dist/browser/defaultSeedPhrase.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/sampleAddressHistory.d.ts +0 -4
- package/dist/browser/sampleAddressHistory.d.ts.map +0 -1
- package/dist/browser/sampleBlock.d.ts +0 -4
- package/dist/browser/sampleBlock.d.ts.map +0 -1
- package/dist/browser/sampleCoinGeckoPayload.d.ts +0 -73
- package/dist/browser/sampleCoinGeckoPayload.d.ts.map +0 -1
- package/dist/browser/sampleEthereumGasDivinerPayload.d.ts +0 -24
- package/dist/browser/sampleEthereumGasDivinerPayload.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/blocknative.d.ts +0 -68
- package/dist/browser/sampleGasPricePayloads/blocknative.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethGasStation.d.ts +0 -19
- package/dist/browser/sampleGasPricePayloads/ethGasStation.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV1.d.ts +0 -11
- package/dist/browser/sampleGasPricePayloads/etherchainV1.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV2.d.ts +0 -14
- package/dist/browser/sampleGasPricePayloads/etherchainV2.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethers.d.ts +0 -9
- package/dist/browser/sampleGasPricePayloads/ethers.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherscan.d.ts +0 -15
- package/dist/browser/sampleGasPricePayloads/etherscan.d.ts.map +0 -1
- package/dist/browser/sampleGasPricePayloads/index.d.ts +0 -7
- package/dist/browser/sampleGasPricePayloads/index.d.ts.map +0 -1
- package/dist/browser/samplePayload.d.ts +0 -30
- package/dist/browser/samplePayload.d.ts.map +0 -1
- package/dist/browser/sampleUniswapPayload.d.ts +0 -17
- package/dist/browser/sampleUniswapPayload.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,11 +1,299 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
3
|
+
import { Decorator } from '@storybook/react';
|
|
4
|
+
|
|
5
|
+
declare const DefaultSeedPhrase = "later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief";
|
|
6
|
+
|
|
7
|
+
declare const DeprecateStory: React.FC<{
|
|
8
|
+
message?: string;
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
declare const sampleAddressHistory: BoundWitness[];
|
|
12
|
+
declare const randomizedSampleAddressHistory: BoundWitness[];
|
|
13
|
+
|
|
14
|
+
declare const sampleBlock: BoundWitness;
|
|
15
|
+
declare const sampleBlockWithBoundWitnessPayload: BoundWitness;
|
|
16
|
+
|
|
17
|
+
declare const sampleCoinGeckoPayload: {
|
|
18
|
+
assets: {
|
|
19
|
+
ada: {
|
|
20
|
+
btc: number;
|
|
21
|
+
eth: number;
|
|
22
|
+
eur: number;
|
|
23
|
+
usd: number;
|
|
24
|
+
};
|
|
25
|
+
btc: {
|
|
26
|
+
btc: number;
|
|
27
|
+
eth: number;
|
|
28
|
+
eur: number;
|
|
29
|
+
usd: number;
|
|
30
|
+
};
|
|
31
|
+
busd: {
|
|
32
|
+
btc: number;
|
|
33
|
+
eth: number;
|
|
34
|
+
eur: number;
|
|
35
|
+
usd: number;
|
|
36
|
+
};
|
|
37
|
+
doge: {
|
|
38
|
+
btc: number;
|
|
39
|
+
eth: number;
|
|
40
|
+
eur: number;
|
|
41
|
+
usd: number;
|
|
42
|
+
};
|
|
43
|
+
dot: {
|
|
44
|
+
btc: number;
|
|
45
|
+
eth: number;
|
|
46
|
+
eur: number;
|
|
47
|
+
usd: number;
|
|
48
|
+
};
|
|
49
|
+
eth: {
|
|
50
|
+
btc: number;
|
|
51
|
+
eth: number;
|
|
52
|
+
eur: number;
|
|
53
|
+
usd: number;
|
|
54
|
+
};
|
|
55
|
+
sol: {
|
|
56
|
+
btc: number;
|
|
57
|
+
eth: number;
|
|
58
|
+
eur: number;
|
|
59
|
+
usd: number;
|
|
60
|
+
};
|
|
61
|
+
usdc: {
|
|
62
|
+
btc: number;
|
|
63
|
+
eth: number;
|
|
64
|
+
eur: number;
|
|
65
|
+
usd: number;
|
|
66
|
+
};
|
|
67
|
+
usdt: {
|
|
68
|
+
btc: number;
|
|
69
|
+
eth: number;
|
|
70
|
+
eur: number;
|
|
71
|
+
usd: number;
|
|
72
|
+
};
|
|
73
|
+
wbtc: {
|
|
74
|
+
btc: number;
|
|
75
|
+
eth: number;
|
|
76
|
+
eur: number;
|
|
77
|
+
usd: number;
|
|
78
|
+
};
|
|
79
|
+
xyo: {
|
|
80
|
+
btc: number;
|
|
81
|
+
eth: number;
|
|
82
|
+
eur: number;
|
|
83
|
+
usd: number;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
schema: string;
|
|
87
|
+
timestamp: number;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
declare const sampleEthereumGasDivinerPayload: {
|
|
91
|
+
baseFee: number;
|
|
92
|
+
feePerGas: {
|
|
93
|
+
high: number;
|
|
94
|
+
low: number;
|
|
95
|
+
medium: number;
|
|
96
|
+
veryHigh: number;
|
|
97
|
+
};
|
|
98
|
+
priorityFeePerGas: {
|
|
99
|
+
high: number;
|
|
100
|
+
low: number;
|
|
101
|
+
medium: number;
|
|
102
|
+
veryHigh: number;
|
|
103
|
+
};
|
|
104
|
+
schema: string;
|
|
105
|
+
timestamp: number;
|
|
106
|
+
};
|
|
107
|
+
declare const sampleEthereumGasDivinerPayloadMissingFees: {
|
|
108
|
+
feePerGas: {};
|
|
109
|
+
priorityFeePerGas: {};
|
|
110
|
+
schema: string;
|
|
111
|
+
timestamp: number;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
declare const sampleBlocknativeGasPricePayload: {
|
|
115
|
+
blockPrices: {
|
|
116
|
+
baseFeePerGas: number;
|
|
117
|
+
blockNumber: number;
|
|
118
|
+
estimatedPrices: {
|
|
119
|
+
confidence: number;
|
|
120
|
+
maxFeePerGas: number;
|
|
121
|
+
maxPriorityFeePerGas: number;
|
|
122
|
+
price: number;
|
|
123
|
+
}[];
|
|
124
|
+
estimatedTransactionCount: number;
|
|
125
|
+
}[];
|
|
126
|
+
currentBlockNumber: number;
|
|
127
|
+
estimatedBaseFees: ({
|
|
128
|
+
'pending+1': {
|
|
129
|
+
baseFee: number;
|
|
130
|
+
confidence: number;
|
|
131
|
+
}[];
|
|
132
|
+
'pending+2'?: undefined;
|
|
133
|
+
'pending+3'?: undefined;
|
|
134
|
+
'pending+4'?: undefined;
|
|
135
|
+
'pending+5'?: undefined;
|
|
136
|
+
} | {
|
|
137
|
+
'pending+2': {
|
|
138
|
+
baseFee: number;
|
|
139
|
+
confidence: number;
|
|
140
|
+
}[];
|
|
141
|
+
'pending+1'?: undefined;
|
|
142
|
+
'pending+3'?: undefined;
|
|
143
|
+
'pending+4'?: undefined;
|
|
144
|
+
'pending+5'?: undefined;
|
|
145
|
+
} | {
|
|
146
|
+
'pending+3': {
|
|
147
|
+
baseFee: number;
|
|
148
|
+
confidence: number;
|
|
149
|
+
}[];
|
|
150
|
+
'pending+1'?: undefined;
|
|
151
|
+
'pending+2'?: undefined;
|
|
152
|
+
'pending+4'?: undefined;
|
|
153
|
+
'pending+5'?: undefined;
|
|
154
|
+
} | {
|
|
155
|
+
'pending+4': {
|
|
156
|
+
baseFee: number;
|
|
157
|
+
confidence: number;
|
|
158
|
+
}[];
|
|
159
|
+
'pending+1'?: undefined;
|
|
160
|
+
'pending+2'?: undefined;
|
|
161
|
+
'pending+3'?: undefined;
|
|
162
|
+
'pending+5'?: undefined;
|
|
163
|
+
} | {
|
|
164
|
+
'pending+5': {
|
|
165
|
+
baseFee: number;
|
|
166
|
+
confidence: number;
|
|
167
|
+
}[];
|
|
168
|
+
'pending+1'?: undefined;
|
|
169
|
+
'pending+2'?: undefined;
|
|
170
|
+
'pending+3'?: undefined;
|
|
171
|
+
'pending+4'?: undefined;
|
|
172
|
+
})[];
|
|
173
|
+
maxPrice: number;
|
|
174
|
+
msSinceLastBlock: number;
|
|
175
|
+
network: string;
|
|
176
|
+
schema: string;
|
|
177
|
+
system: string;
|
|
178
|
+
timestamp: number;
|
|
179
|
+
unit: string;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
declare const sampleEtherchainV1GasPricePayload: {
|
|
183
|
+
currentBaseFee: number;
|
|
184
|
+
fast: number;
|
|
185
|
+
fastest: number;
|
|
186
|
+
recommendedBaseFee: number;
|
|
187
|
+
safeLow: number;
|
|
188
|
+
schema: string;
|
|
189
|
+
standard: number;
|
|
190
|
+
timestamp: number;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
declare const sampleEtherchainV2GasPricePayload: {
|
|
194
|
+
code: number;
|
|
195
|
+
data: {
|
|
196
|
+
fast: number;
|
|
197
|
+
priceUSD: number;
|
|
198
|
+
rapid: number;
|
|
199
|
+
slow: number;
|
|
200
|
+
standard: number;
|
|
201
|
+
timestamp: number;
|
|
202
|
+
};
|
|
203
|
+
schema: string;
|
|
204
|
+
timestamp: number;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
declare const sampleEthersGasPricePayload: {
|
|
208
|
+
gasPrice: number;
|
|
209
|
+
lastBaseFeePerGas: number;
|
|
210
|
+
maxFeePerGas: number;
|
|
211
|
+
maxPriorityFeePerGas: number;
|
|
212
|
+
schema: string;
|
|
213
|
+
timestamp: number;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
declare const sampleEtherscanGasPricePayload: {
|
|
217
|
+
message: string;
|
|
218
|
+
result: {
|
|
219
|
+
FastGasPrice: string;
|
|
220
|
+
LastBlock: string;
|
|
221
|
+
ProposeGasPrice: string;
|
|
222
|
+
SafeGasPrice: string;
|
|
223
|
+
gasUsedRatio: string;
|
|
224
|
+
suggestBaseFee: string;
|
|
225
|
+
};
|
|
226
|
+
schema: string;
|
|
227
|
+
status: string;
|
|
228
|
+
timestamp: number;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
declare const sampleEthGasStationGasPricePayload: {
|
|
232
|
+
baseFee: number;
|
|
233
|
+
blockNumber: number;
|
|
234
|
+
blockTime: number;
|
|
235
|
+
gasPrice: {
|
|
236
|
+
fast: number;
|
|
237
|
+
instant: number;
|
|
238
|
+
standard: number;
|
|
239
|
+
};
|
|
240
|
+
nextBaseFee: number;
|
|
241
|
+
priorityFee: {
|
|
242
|
+
fast: number;
|
|
243
|
+
instant: number;
|
|
244
|
+
standard: number;
|
|
245
|
+
};
|
|
246
|
+
schema: string;
|
|
247
|
+
timestamp: number;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
declare const samplePayloadFromBuilder: {
|
|
251
|
+
_archive: string;
|
|
252
|
+
schema: "network.xyo.temp";
|
|
253
|
+
test: string;
|
|
254
|
+
};
|
|
255
|
+
declare const sampleIdPayload: {
|
|
256
|
+
salt: string;
|
|
257
|
+
schema: string;
|
|
258
|
+
};
|
|
259
|
+
declare const sampleSystemInfoBrowserPayload: {
|
|
260
|
+
bowser: {
|
|
261
|
+
browser: {
|
|
262
|
+
name: string;
|
|
263
|
+
version: string;
|
|
264
|
+
};
|
|
265
|
+
engine: {
|
|
266
|
+
name: string;
|
|
267
|
+
};
|
|
268
|
+
os: {
|
|
269
|
+
name: string;
|
|
270
|
+
version: string;
|
|
271
|
+
versionName: string;
|
|
272
|
+
};
|
|
273
|
+
platform: {
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
schema: string;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
declare const sampleUniswapPayload: {
|
|
281
|
+
pairs: {
|
|
282
|
+
tokens: {
|
|
283
|
+
address: string;
|
|
284
|
+
symbol: string;
|
|
285
|
+
value: number;
|
|
286
|
+
}[];
|
|
287
|
+
}[];
|
|
288
|
+
schema: string;
|
|
289
|
+
timestamp: number;
|
|
290
|
+
};
|
|
291
|
+
declare const payloadDataMissingPairs: {
|
|
292
|
+
pairs: never[];
|
|
293
|
+
schema: string;
|
|
294
|
+
timestamp: number;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
declare const WithRefDecorator: Decorator;
|
|
298
|
+
|
|
299
|
+
export { DefaultSeedPhrase, DeprecateStory, WithRefDecorator, payloadDataMissingPairs, randomizedSampleAddressHistory, sampleAddressHistory, sampleBlock, sampleBlockWithBoundWitnessPayload, sampleBlocknativeGasPricePayload, sampleCoinGeckoPayload, sampleEthGasStationGasPricePayload, sampleEtherchainV1GasPricePayload, sampleEtherchainV2GasPricePayload, sampleEthereumGasDivinerPayload, sampleEthereumGasDivinerPayloadMissingFees, sampleEthersGasPricePayload, sampleEtherscanGasPricePayload, sampleIdPayload, samplePayloadFromBuilder, sampleSystemInfoBrowserPayload, sampleUniswapPayload };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-storybook",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.4",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"lint-pkg": "npmPkgJsonLint ."
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@storybook/react": "^8.5.
|
|
46
|
+
"@storybook/react": "^8.5.5",
|
|
47
47
|
"@xyo-network/boundwitness-model": "^3.9.2",
|
|
48
48
|
"@xyo-network/payload-model": "^3.9.2",
|
|
49
|
-
"storybook": "^8.5.
|
|
49
|
+
"storybook": "^8.5.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@mui/icons-material": "^6.4.4",
|
|
53
53
|
"@mui/material": "^6.4.4",
|
|
54
54
|
"@mui/styles": "^6.4.4",
|
|
55
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
56
|
-
"@xylabs/tsconfig-react": "^
|
|
55
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
56
|
+
"@xylabs/tsconfig-react": "^5.0.24",
|
|
57
57
|
"react": "^18.3.1",
|
|
58
58
|
"react-dom": "^18.3.1",
|
|
59
59
|
"typescript": "^5.7.3"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeprecateStory.d.ts","sourceRoot":"","sources":["../../src/DeprecateStory.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAOzD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WithRefDecorator.d.ts","sourceRoot":"","sources":["../../src/WithRefDecorator.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAGjD,eAAO,MAAM,gBAAgB,EAAE,SAiB9B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultSeedPhrase.d.ts","sourceRoot":"","sources":["../../src/defaultSeedPhrase.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,sFAAsF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sCAAsC,CAAA;AACpD,cAAc,mCAAmC,CAAA;AACjD,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleAddressHistory.d.ts","sourceRoot":"","sources":["../../src/sampleAddressHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAGnE,eAAO,MAAM,oBAAoB,EAAE,YAAY,EA6D9C,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,YAAY,EA6DxD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleBlock.d.ts","sourceRoot":"","sources":["../../src/sampleBlock.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAEnE,eAAO,MAAM,WAAW,EAAE,YAqBzB,CAAA;AACD,eAAO,MAAM,kCAAkC,EAAE,YAqBhD,CAAA"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
export declare const sampleCoinGeckoPayload: {
|
|
2
|
-
assets: {
|
|
3
|
-
ada: {
|
|
4
|
-
btc: number;
|
|
5
|
-
eth: number;
|
|
6
|
-
eur: number;
|
|
7
|
-
usd: number;
|
|
8
|
-
};
|
|
9
|
-
btc: {
|
|
10
|
-
btc: number;
|
|
11
|
-
eth: number;
|
|
12
|
-
eur: number;
|
|
13
|
-
usd: number;
|
|
14
|
-
};
|
|
15
|
-
busd: {
|
|
16
|
-
btc: number;
|
|
17
|
-
eth: number;
|
|
18
|
-
eur: number;
|
|
19
|
-
usd: number;
|
|
20
|
-
};
|
|
21
|
-
doge: {
|
|
22
|
-
btc: number;
|
|
23
|
-
eth: number;
|
|
24
|
-
eur: number;
|
|
25
|
-
usd: number;
|
|
26
|
-
};
|
|
27
|
-
dot: {
|
|
28
|
-
btc: number;
|
|
29
|
-
eth: number;
|
|
30
|
-
eur: number;
|
|
31
|
-
usd: number;
|
|
32
|
-
};
|
|
33
|
-
eth: {
|
|
34
|
-
btc: number;
|
|
35
|
-
eth: number;
|
|
36
|
-
eur: number;
|
|
37
|
-
usd: number;
|
|
38
|
-
};
|
|
39
|
-
sol: {
|
|
40
|
-
btc: number;
|
|
41
|
-
eth: number;
|
|
42
|
-
eur: number;
|
|
43
|
-
usd: number;
|
|
44
|
-
};
|
|
45
|
-
usdc: {
|
|
46
|
-
btc: number;
|
|
47
|
-
eth: number;
|
|
48
|
-
eur: number;
|
|
49
|
-
usd: number;
|
|
50
|
-
};
|
|
51
|
-
usdt: {
|
|
52
|
-
btc: number;
|
|
53
|
-
eth: number;
|
|
54
|
-
eur: number;
|
|
55
|
-
usd: number;
|
|
56
|
-
};
|
|
57
|
-
wbtc: {
|
|
58
|
-
btc: number;
|
|
59
|
-
eth: number;
|
|
60
|
-
eur: number;
|
|
61
|
-
usd: number;
|
|
62
|
-
};
|
|
63
|
-
xyo: {
|
|
64
|
-
btc: number;
|
|
65
|
-
eth: number;
|
|
66
|
-
eur: number;
|
|
67
|
-
usd: number;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
schema: string;
|
|
71
|
-
timestamp: number;
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=sampleCoinGeckoPayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleCoinGeckoPayload.d.ts","sourceRoot":"","sources":["../../src/sampleCoinGeckoPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuElC,CAAA"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export declare const sampleBlocknativeGasPricePayload: {
|
|
2
|
-
blockPrices: {
|
|
3
|
-
baseFeePerGas: number;
|
|
4
|
-
blockNumber: number;
|
|
5
|
-
estimatedPrices: {
|
|
6
|
-
confidence: number;
|
|
7
|
-
maxFeePerGas: number;
|
|
8
|
-
maxPriorityFeePerGas: number;
|
|
9
|
-
price: number;
|
|
10
|
-
}[];
|
|
11
|
-
estimatedTransactionCount: number;
|
|
12
|
-
}[];
|
|
13
|
-
currentBlockNumber: number;
|
|
14
|
-
estimatedBaseFees: ({
|
|
15
|
-
'pending+1': {
|
|
16
|
-
baseFee: number;
|
|
17
|
-
confidence: number;
|
|
18
|
-
}[];
|
|
19
|
-
'pending+2'?: undefined;
|
|
20
|
-
'pending+3'?: undefined;
|
|
21
|
-
'pending+4'?: undefined;
|
|
22
|
-
'pending+5'?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
'pending+2': {
|
|
25
|
-
baseFee: number;
|
|
26
|
-
confidence: number;
|
|
27
|
-
}[];
|
|
28
|
-
'pending+1'?: undefined;
|
|
29
|
-
'pending+3'?: undefined;
|
|
30
|
-
'pending+4'?: undefined;
|
|
31
|
-
'pending+5'?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
'pending+3': {
|
|
34
|
-
baseFee: number;
|
|
35
|
-
confidence: number;
|
|
36
|
-
}[];
|
|
37
|
-
'pending+1'?: undefined;
|
|
38
|
-
'pending+2'?: undefined;
|
|
39
|
-
'pending+4'?: undefined;
|
|
40
|
-
'pending+5'?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
'pending+4': {
|
|
43
|
-
baseFee: number;
|
|
44
|
-
confidence: number;
|
|
45
|
-
}[];
|
|
46
|
-
'pending+1'?: undefined;
|
|
47
|
-
'pending+2'?: undefined;
|
|
48
|
-
'pending+3'?: undefined;
|
|
49
|
-
'pending+5'?: undefined;
|
|
50
|
-
} | {
|
|
51
|
-
'pending+5': {
|
|
52
|
-
baseFee: number;
|
|
53
|
-
confidence: number;
|
|
54
|
-
}[];
|
|
55
|
-
'pending+1'?: undefined;
|
|
56
|
-
'pending+2'?: undefined;
|
|
57
|
-
'pending+3'?: undefined;
|
|
58
|
-
'pending+4'?: undefined;
|
|
59
|
-
})[];
|
|
60
|
-
maxPrice: number;
|
|
61
|
-
msSinceLastBlock: number;
|
|
62
|
-
network: string;
|
|
63
|
-
schema: string;
|
|
64
|
-
system: string;
|
|
65
|
-
timestamp: number;
|
|
66
|
-
unit: string;
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=blocknative.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blocknative.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/blocknative.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0F5C,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const sampleEthGasStationGasPricePayload: {
|
|
2
|
-
baseFee: number;
|
|
3
|
-
blockNumber: number;
|
|
4
|
-
blockTime: number;
|
|
5
|
-
gasPrice: {
|
|
6
|
-
fast: number;
|
|
7
|
-
instant: number;
|
|
8
|
-
standard: number;
|
|
9
|
-
};
|
|
10
|
-
nextBaseFee: number;
|
|
11
|
-
priorityFee: {
|
|
12
|
-
fast: number;
|
|
13
|
-
instant: number;
|
|
14
|
-
standard: number;
|
|
15
|
-
};
|
|
16
|
-
schema: string;
|
|
17
|
-
timestamp: number;
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=ethGasStation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ethGasStation.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethGasStation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;CAiB9C,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const sampleEtherchainV1GasPricePayload: {
|
|
2
|
-
currentBaseFee: number;
|
|
3
|
-
fast: number;
|
|
4
|
-
fastest: number;
|
|
5
|
-
recommendedBaseFee: number;
|
|
6
|
-
safeLow: number;
|
|
7
|
-
schema: string;
|
|
8
|
-
standard: number;
|
|
9
|
-
timestamp: number;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=etherchainV1.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"etherchainV1.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;CAS7C,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const sampleEtherchainV2GasPricePayload: {
|
|
2
|
-
code: number;
|
|
3
|
-
data: {
|
|
4
|
-
fast: number;
|
|
5
|
-
priceUSD: number;
|
|
6
|
-
rapid: number;
|
|
7
|
-
slow: number;
|
|
8
|
-
standard: number;
|
|
9
|
-
timestamp: number;
|
|
10
|
-
};
|
|
11
|
-
schema: string;
|
|
12
|
-
timestamp: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=etherchainV2.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"etherchainV2.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV2.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;CAY7C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ethers.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B;;;;;;;CAOvC,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare const sampleEtherscanGasPricePayload: {
|
|
2
|
-
message: string;
|
|
3
|
-
result: {
|
|
4
|
-
FastGasPrice: string;
|
|
5
|
-
LastBlock: string;
|
|
6
|
-
ProposeGasPrice: string;
|
|
7
|
-
SafeGasPrice: string;
|
|
8
|
-
gasUsedRatio: string;
|
|
9
|
-
suggestBaseFee: string;
|
|
10
|
-
};
|
|
11
|
-
schema: string;
|
|
12
|
-
status: string;
|
|
13
|
-
timestamp: number;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=etherscan.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"etherscan.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherscan.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;CAa1C,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const samplePayloadFromBuilder: {
|
|
2
|
-
_archive: string;
|
|
3
|
-
schema: "network.xyo.temp";
|
|
4
|
-
test: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const sampleIdPayload: {
|
|
7
|
-
salt: string;
|
|
8
|
-
schema: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const sampleSystemInfoBrowserPayload: {
|
|
11
|
-
bowser: {
|
|
12
|
-
browser: {
|
|
13
|
-
name: string;
|
|
14
|
-
version: string;
|
|
15
|
-
};
|
|
16
|
-
engine: {
|
|
17
|
-
name: string;
|
|
18
|
-
};
|
|
19
|
-
os: {
|
|
20
|
-
name: string;
|
|
21
|
-
version: string;
|
|
22
|
-
versionName: string;
|
|
23
|
-
};
|
|
24
|
-
platform: {
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
schema: string;
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=samplePayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"samplePayload.d.ts","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,wBAAwB;;;UAN3B,MAAM;CASf,CAAA;AAED,eAAO,MAAM,eAAe;;;CAG3B,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;CAe1C,CAAA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const sampleUniswapPayload: {
|
|
2
|
-
pairs: {
|
|
3
|
-
tokens: {
|
|
4
|
-
address: string;
|
|
5
|
-
symbol: string;
|
|
6
|
-
value: number;
|
|
7
|
-
}[];
|
|
8
|
-
}[];
|
|
9
|
-
schema: string;
|
|
10
|
-
timestamp: number;
|
|
11
|
-
};
|
|
12
|
-
export declare const payloadDataMissingPairs: {
|
|
13
|
-
pairs: never[];
|
|
14
|
-
schema: string;
|
|
15
|
-
timestamp: number;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=sampleUniswapPayload.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleUniswapPayload.d.ts","sourceRoot":"","sources":["../../src/sampleUniswapPayload.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;;;;;;CA2LhC,CAAA;AAED,eAAO,MAAM,uBAAuB;;;;CAInC,CAAA"}
|