@xyo-network/react-storybook 2.64.9 → 2.65.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.
- package/dist/browser/sampleBlock.d.cts +1 -1
- package/dist/browser/sampleBlock.d.mts +1 -1
- package/dist/browser/sampleBlock.d.ts +1 -1
- package/dist/browser/samplePayload.d.cts +0 -1
- package/dist/browser/samplePayload.d.cts.map +1 -1
- package/dist/browser/samplePayload.d.mts +0 -1
- package/dist/browser/samplePayload.d.mts.map +1 -1
- package/dist/browser/samplePayload.d.ts +0 -1
- package/dist/browser/samplePayload.d.ts.map +1 -1
- package/dist/node/sampleBlock.d.cts +1 -1
- package/dist/node/sampleBlock.d.mts +1 -1
- package/dist/node/sampleBlock.d.ts +1 -1
- package/dist/node/samplePayload.d.cts +0 -1
- package/dist/node/samplePayload.d.cts.map +1 -1
- package/dist/node/samplePayload.d.mts +0 -1
- package/dist/node/samplePayload.d.mts.map +1 -1
- package/dist/node/samplePayload.d.ts +0 -1
- package/dist/node/samplePayload.d.ts.map +1 -1
- package/package.json +10 -10
- package/dist/browser/DeprecateStory.cjs +0 -34
- package/dist/browser/DeprecateStory.cjs.map +0 -1
- package/dist/browser/DeprecateStory.js +0 -13
- package/dist/browser/DeprecateStory.js.map +0 -1
- package/dist/browser/WithMapboxSetup.cjs +0 -31
- package/dist/browser/WithMapboxSetup.cjs.map +0 -1
- package/dist/browser/WithMapboxSetup.js +0 -10
- package/dist/browser/WithMapboxSetup.js.map +0 -1
- package/dist/browser/WithRefDecorator.cjs +0 -42
- package/dist/browser/WithRefDecorator.cjs.map +0 -1
- package/dist/browser/WithRefDecorator.js +0 -21
- package/dist/browser/WithRefDecorator.js.map +0 -1
- package/dist/browser/defaultSeedPhrase.cjs +0 -27
- package/dist/browser/defaultSeedPhrase.cjs.map +0 -1
- package/dist/browser/defaultSeedPhrase.js +0 -6
- package/dist/browser/defaultSeedPhrase.js.map +0 -1
- package/dist/browser/sampleAddressHistory.cjs +0 -140
- package/dist/browser/sampleAddressHistory.cjs.map +0 -1
- package/dist/browser/sampleAddressHistory.js +0 -119
- package/dist/browser/sampleAddressHistory.js.map +0 -1
- package/dist/browser/sampleBlock.cjs +0 -117
- package/dist/browser/sampleBlock.cjs.map +0 -1
- package/dist/browser/sampleBlock.js +0 -96
- package/dist/browser/sampleBlock.js.map +0 -1
- package/dist/browser/sampleCoinGeckoPayload.cjs +0 -98
- package/dist/browser/sampleCoinGeckoPayload.cjs.map +0 -1
- package/dist/browser/sampleCoinGeckoPayload.js +0 -77
- package/dist/browser/sampleCoinGeckoPayload.js.map +0 -1
- package/dist/browser/sampleEthereumGasDivinerPayload.cjs +0 -50
- package/dist/browser/sampleEthereumGasDivinerPayload.cjs.map +0 -1
- package/dist/browser/sampleEthereumGasDivinerPayload.js +0 -29
- package/dist/browser/sampleEthereumGasDivinerPayload.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/blocknative.cjs +0 -117
- package/dist/browser/sampleGasPricePayloads/blocknative.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/blocknative.js +0 -96
- package/dist/browser/sampleGasPricePayloads/blocknative.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethGasStation.cjs +0 -44
- package/dist/browser/sampleGasPricePayloads/ethGasStation.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethGasStation.js +0 -23
- package/dist/browser/sampleGasPricePayloads/ethGasStation.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV1.cjs +0 -36
- package/dist/browser/sampleGasPricePayloads/etherchainV1.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV1.js +0 -15
- package/dist/browser/sampleGasPricePayloads/etherchainV1.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV2.cjs +0 -39
- package/dist/browser/sampleGasPricePayloads/etherchainV2.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherchainV2.js +0 -18
- package/dist/browser/sampleGasPricePayloads/etherchainV2.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethers.cjs +0 -34
- package/dist/browser/sampleGasPricePayloads/ethers.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/ethers.js +0 -13
- package/dist/browser/sampleGasPricePayloads/ethers.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherscan.cjs +0 -40
- package/dist/browser/sampleGasPricePayloads/etherscan.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/etherscan.js +0 -19
- package/dist/browser/sampleGasPricePayloads/etherscan.js.map +0 -1
- package/dist/browser/sampleGasPricePayloads/index.cjs +0 -197
- package/dist/browser/sampleGasPricePayloads/index.cjs.map +0 -1
- package/dist/browser/sampleGasPricePayloads/index.js +0 -174
- package/dist/browser/sampleGasPricePayloads/index.js.map +0 -1
- package/dist/browser/samplePayload.cjs +0 -57
- package/dist/browser/samplePayload.cjs.map +0 -1
- package/dist/browser/samplePayload.js +0 -36
- package/dist/browser/samplePayload.js.map +0 -1
- package/dist/browser/sampleUniswapPayload.cjs +0 -220
- package/dist/browser/sampleUniswapPayload.cjs.map +0 -1
- package/dist/browser/sampleUniswapPayload.js +0 -199
- package/dist/browser/sampleUniswapPayload.js.map +0 -1
- package/dist/browser/useAppThemeDecorator.cjs +0 -45
- package/dist/browser/useAppThemeDecorator.cjs.map +0 -1
- package/dist/browser/useAppThemeDecorator.js +0 -24
- package/dist/browser/useAppThemeDecorator.js.map +0 -1
- package/dist/docs.json +0 -8680
- package/dist/node/DeprecateStory.cjs +0 -38
- package/dist/node/DeprecateStory.cjs.map +0 -1
- package/dist/node/DeprecateStory.js +0 -13
- package/dist/node/DeprecateStory.js.map +0 -1
- package/dist/node/WithMapboxSetup.cjs +0 -35
- package/dist/node/WithMapboxSetup.cjs.map +0 -1
- package/dist/node/WithMapboxSetup.js +0 -10
- package/dist/node/WithMapboxSetup.js.map +0 -1
- package/dist/node/WithRefDecorator.cjs +0 -46
- package/dist/node/WithRefDecorator.cjs.map +0 -1
- package/dist/node/WithRefDecorator.js +0 -21
- package/dist/node/WithRefDecorator.js.map +0 -1
- package/dist/node/defaultSeedPhrase.cjs +0 -31
- package/dist/node/defaultSeedPhrase.cjs.map +0 -1
- package/dist/node/defaultSeedPhrase.js +0 -6
- package/dist/node/defaultSeedPhrase.js.map +0 -1
- package/dist/node/sampleAddressHistory.cjs +0 -145
- package/dist/node/sampleAddressHistory.cjs.map +0 -1
- package/dist/node/sampleAddressHistory.js +0 -119
- package/dist/node/sampleAddressHistory.js.map +0 -1
- package/dist/node/sampleBlock.cjs +0 -123
- package/dist/node/sampleBlock.cjs.map +0 -1
- package/dist/node/sampleBlock.js +0 -96
- package/dist/node/sampleBlock.js.map +0 -1
- package/dist/node/sampleCoinGeckoPayload.cjs +0 -102
- package/dist/node/sampleCoinGeckoPayload.cjs.map +0 -1
- package/dist/node/sampleCoinGeckoPayload.js +0 -77
- package/dist/node/sampleCoinGeckoPayload.js.map +0 -1
- package/dist/node/sampleEthereumGasDivinerPayload.cjs +0 -55
- package/dist/node/sampleEthereumGasDivinerPayload.cjs.map +0 -1
- package/dist/node/sampleEthereumGasDivinerPayload.js +0 -29
- package/dist/node/sampleEthereumGasDivinerPayload.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/blocknative.cjs +0 -121
- package/dist/node/sampleGasPricePayloads/blocknative.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/blocknative.js +0 -96
- package/dist/node/sampleGasPricePayloads/blocknative.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/ethGasStation.cjs +0 -48
- package/dist/node/sampleGasPricePayloads/ethGasStation.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/ethGasStation.js +0 -23
- package/dist/node/sampleGasPricePayloads/ethGasStation.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherchainV1.cjs +0 -40
- package/dist/node/sampleGasPricePayloads/etherchainV1.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherchainV1.js +0 -15
- package/dist/node/sampleGasPricePayloads/etherchainV1.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherchainV2.cjs +0 -43
- package/dist/node/sampleGasPricePayloads/etherchainV2.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherchainV2.js +0 -18
- package/dist/node/sampleGasPricePayloads/etherchainV2.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/ethers.cjs +0 -38
- package/dist/node/sampleGasPricePayloads/ethers.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/ethers.js +0 -13
- package/dist/node/sampleGasPricePayloads/ethers.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherscan.cjs +0 -44
- package/dist/node/sampleGasPricePayloads/etherscan.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/etherscan.js +0 -19
- package/dist/node/sampleGasPricePayloads/etherscan.js.map +0 -1
- package/dist/node/sampleGasPricePayloads/index.cjs +0 -206
- package/dist/node/sampleGasPricePayloads/index.cjs.map +0 -1
- package/dist/node/sampleGasPricePayloads/index.js +0 -174
- package/dist/node/sampleGasPricePayloads/index.js.map +0 -1
- package/dist/node/samplePayload.cjs +0 -63
- package/dist/node/samplePayload.cjs.map +0 -1
- package/dist/node/samplePayload.js +0 -36
- package/dist/node/samplePayload.js.map +0 -1
- package/dist/node/sampleUniswapPayload.cjs +0 -225
- package/dist/node/sampleUniswapPayload.cjs.map +0 -1
- package/dist/node/sampleUniswapPayload.js +0 -199
- package/dist/node/sampleUniswapPayload.js.map +0 -1
- package/dist/node/useAppThemeDecorator.cjs +0 -49
- package/dist/node/useAppThemeDecorator.cjs.map +0 -1
- package/dist/node/useAppThemeDecorator.js +0 -24
- package/dist/node/useAppThemeDecorator.js.map +0 -1
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/sampleGasPricePayloads/index.ts
|
|
21
|
-
var sampleGasPricePayloads_exports = {};
|
|
22
|
-
__export(sampleGasPricePayloads_exports, {
|
|
23
|
-
sampleBlocknativeGasPricePayload: () => sampleBlocknativeGasPricePayload,
|
|
24
|
-
sampleEthGasStationGasPricePayload: () => sampleEthGasStationGasPricePayload,
|
|
25
|
-
sampleEtherchainV1GasPricePayload: () => sampleEtherchainV1GasPricePayload,
|
|
26
|
-
sampleEtherchainV2GasPricePayload: () => sampleEtherchainV2GasPricePayload,
|
|
27
|
-
sampleEthersGasPricePayload: () => sampleEthersGasPricePayload,
|
|
28
|
-
sampleEtherscanGasPricePayload: () => sampleEtherscanGasPricePayload
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(sampleGasPricePayloads_exports);
|
|
31
|
-
|
|
32
|
-
// src/sampleGasPricePayloads/blocknative.ts
|
|
33
|
-
var sampleBlocknativeGasPricePayload = {
|
|
34
|
-
blockPrices: [
|
|
35
|
-
{
|
|
36
|
-
baseFeePerGas: 26.32847478,
|
|
37
|
-
blockNumber: 16134624,
|
|
38
|
-
estimatedPrices: [
|
|
39
|
-
{
|
|
40
|
-
confidence: 99,
|
|
41
|
-
maxFeePerGas: 41.86,
|
|
42
|
-
maxPriorityFeePerGas: 1.18,
|
|
43
|
-
price: 27
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
confidence: 95,
|
|
47
|
-
maxFeePerGas: 41.54,
|
|
48
|
-
maxPriorityFeePerGas: 0.86,
|
|
49
|
-
price: 27
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
confidence: 90,
|
|
53
|
-
maxFeePerGas: 41.15,
|
|
54
|
-
maxPriorityFeePerGas: 0.47,
|
|
55
|
-
price: 26
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
confidence: 80,
|
|
59
|
-
maxFeePerGas: 41,
|
|
60
|
-
maxPriorityFeePerGas: 0.32,
|
|
61
|
-
price: 26
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
confidence: 70,
|
|
65
|
-
maxFeePerGas: 40.93,
|
|
66
|
-
maxPriorityFeePerGas: 0.25,
|
|
67
|
-
price: 26
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
estimatedTransactionCount: 186
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
currentBlockNumber: 16134623,
|
|
74
|
-
estimatedBaseFees: [
|
|
75
|
-
{
|
|
76
|
-
"pending+1": [
|
|
77
|
-
{
|
|
78
|
-
baseFee: 29.62,
|
|
79
|
-
confidence: 99
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"pending+2": [
|
|
85
|
-
{
|
|
86
|
-
baseFee: 33.33,
|
|
87
|
-
confidence: 99
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"pending+3": [
|
|
93
|
-
{
|
|
94
|
-
baseFee: 37.4,
|
|
95
|
-
confidence: 99
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"pending+4": [
|
|
101
|
-
{
|
|
102
|
-
baseFee: 39.26,
|
|
103
|
-
confidence: 99
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"pending+5": [
|
|
109
|
-
{
|
|
110
|
-
baseFee: 40.68,
|
|
111
|
-
confidence: 99
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
maxPrice: 64,
|
|
117
|
-
msSinceLastBlock: 9645,
|
|
118
|
-
network: "main",
|
|
119
|
-
schema: "network.xyo.blockchain.ethereum.gas.blocknative",
|
|
120
|
-
system: "ethereum",
|
|
121
|
-
timestamp: 1670437800246,
|
|
122
|
-
unit: "gwei"
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
// src/sampleGasPricePayloads/etherchainV1.ts
|
|
126
|
-
var sampleEtherchainV1GasPricePayload = {
|
|
127
|
-
currentBaseFee: 28.3,
|
|
128
|
-
fast: 0.9,
|
|
129
|
-
fastest: 1.5,
|
|
130
|
-
recommendedBaseFee: 57.5,
|
|
131
|
-
safeLow: 0.2,
|
|
132
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v1",
|
|
133
|
-
standard: 0.4,
|
|
134
|
-
timestamp: 1670437800313
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
// src/sampleGasPricePayloads/etherchainV2.ts
|
|
138
|
-
var sampleEtherchainV2GasPricePayload = {
|
|
139
|
-
code: 200,
|
|
140
|
-
data: {
|
|
141
|
-
fast: 26423463713,
|
|
142
|
-
priceUSD: 1229.43,
|
|
143
|
-
rapid: 37143856713,
|
|
144
|
-
slow: 13e9,
|
|
145
|
-
standard: 21366997291,
|
|
146
|
-
timestamp: 1670437795342
|
|
147
|
-
},
|
|
148
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2",
|
|
149
|
-
timestamp: 1670437800338
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
// src/sampleGasPricePayloads/ethers.ts
|
|
153
|
-
var sampleEthersGasPricePayload = {
|
|
154
|
-
gasPrice: 26770943129,
|
|
155
|
-
lastBaseFeePerGas: 26494335502,
|
|
156
|
-
maxFeePerGas: 54488671004,
|
|
157
|
-
maxPriorityFeePerGas: 15e8,
|
|
158
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethers",
|
|
159
|
-
timestamp: 1670437800345
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
// src/sampleGasPricePayloads/etherscan.ts
|
|
163
|
-
var sampleEtherscanGasPricePayload = {
|
|
164
|
-
message: "OK",
|
|
165
|
-
result: {
|
|
166
|
-
FastGasPrice: "35",
|
|
167
|
-
LastBlock: "16134573",
|
|
168
|
-
ProposeGasPrice: "35",
|
|
169
|
-
SafeGasPrice: "34",
|
|
170
|
-
gasUsedRatio: "0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667",
|
|
171
|
-
suggestBaseFee: "33.952097068"
|
|
172
|
-
},
|
|
173
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherscan",
|
|
174
|
-
status: "1",
|
|
175
|
-
timestamp: 1670437200510
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
// src/sampleGasPricePayloads/ethGasStation.ts
|
|
179
|
-
var sampleEthGasStationGasPricePayload = {
|
|
180
|
-
baseFee: 37,
|
|
181
|
-
blockNumber: 16134572,
|
|
182
|
-
blockTime: 11.88,
|
|
183
|
-
gasPrice: {
|
|
184
|
-
fast: 84,
|
|
185
|
-
instant: 97,
|
|
186
|
-
standard: 53
|
|
187
|
-
},
|
|
188
|
-
nextBaseFee: 37,
|
|
189
|
-
priorityFee: {
|
|
190
|
-
fast: 5,
|
|
191
|
-
instant: 14,
|
|
192
|
-
standard: 2
|
|
193
|
-
},
|
|
194
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethgasstation",
|
|
195
|
-
timestamp: 1670437200687
|
|
196
|
-
};
|
|
197
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sampleGasPricePayloads/index.ts","../../../src/sampleGasPricePayloads/blocknative.ts","../../../src/sampleGasPricePayloads/etherchainV1.ts","../../../src/sampleGasPricePayloads/etherchainV2.ts","../../../src/sampleGasPricePayloads/ethers.ts","../../../src/sampleGasPricePayloads/etherscan.ts","../../../src/sampleGasPricePayloads/ethGasStation.ts"],"sourcesContent":["export * from './blocknative'\nexport * from './etherchainV1'\nexport * from './etherchainV2'\nexport * from './ethers'\nexport * from './etherscan'\nexport * from './ethGasStation'\n","export const sampleBlocknativeGasPricePayload = {\n blockPrices: [\n {\n baseFeePerGas: 26.32847478,\n blockNumber: 16134624,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 41.86,\n maxPriorityFeePerGas: 1.18,\n price: 27,\n },\n {\n confidence: 95,\n maxFeePerGas: 41.54,\n maxPriorityFeePerGas: 0.86,\n price: 27,\n },\n {\n confidence: 90,\n maxFeePerGas: 41.15,\n maxPriorityFeePerGas: 0.47,\n price: 26,\n },\n {\n confidence: 80,\n maxFeePerGas: 41,\n maxPriorityFeePerGas: 0.32,\n price: 26,\n },\n {\n confidence: 70,\n maxFeePerGas: 40.93,\n maxPriorityFeePerGas: 0.25,\n price: 26,\n },\n ],\n estimatedTransactionCount: 186,\n },\n ],\n currentBlockNumber: 16134623,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 29.62,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 33.33,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 37.4,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 39.26,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 40.68,\n confidence: 99,\n },\n ],\n },\n ],\n maxPrice: 64,\n msSinceLastBlock: 9645,\n network: 'main',\n schema: 'network.xyo.blockchain.ethereum.gas.blocknative',\n system: 'ethereum',\n timestamp: 1670437800246,\n unit: 'gwei',\n}\n","export const sampleEtherchainV1GasPricePayload = {\n currentBaseFee: 28.3,\n fast: 0.9,\n fastest: 1.5,\n recommendedBaseFee: 57.5,\n safeLow: 0.2,\n schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v1',\n standard: 0.4,\n timestamp: 1670437800313,\n}\n","export const sampleEtherchainV2GasPricePayload = {\n code: 200,\n data: {\n fast: 26423463713,\n priceUSD: 1229.43,\n rapid: 37143856713,\n slow: 13000000000,\n standard: 21366997291,\n timestamp: 1670437795342,\n },\n schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v2',\n timestamp: 1670437800338,\n}\n","export const sampleEthersGasPricePayload = {\n gasPrice: 26770943129,\n lastBaseFeePerGas: 26494335502,\n maxFeePerGas: 54488671004,\n maxPriorityFeePerGas: 1500000000,\n schema: 'network.xyo.blockchain.ethereum.gas.ethers',\n timestamp: 1670437800345,\n}\n","export const sampleEtherscanGasPricePayload = {\n message: 'OK',\n result: {\n FastGasPrice: '35',\n LastBlock: '16134573',\n ProposeGasPrice: '35',\n SafeGasPrice: '34',\n gasUsedRatio: '0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667',\n suggestBaseFee: '33.952097068',\n },\n schema: 'network.xyo.blockchain.ethereum.gas.etherscan',\n status: '1',\n timestamp: 1670437200510,\n}\n","export const sampleEthGasStationGasPricePayload = {\n baseFee: 37,\n blockNumber: 16134572,\n blockTime: 11.88,\n gasPrice: {\n fast: 84,\n instant: 97,\n standard: 53,\n },\n nextBaseFee: 37,\n priorityFee: {\n fast: 5,\n instant: 14,\n standard: 2,\n },\n schema: 'network.xyo.blockchain.ethereum.gas.ethgasstation',\n timestamp: 1670437200687,\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
// src/sampleGasPricePayloads/blocknative.ts
|
|
2
|
-
var sampleBlocknativeGasPricePayload = {
|
|
3
|
-
blockPrices: [
|
|
4
|
-
{
|
|
5
|
-
baseFeePerGas: 26.32847478,
|
|
6
|
-
blockNumber: 16134624,
|
|
7
|
-
estimatedPrices: [
|
|
8
|
-
{
|
|
9
|
-
confidence: 99,
|
|
10
|
-
maxFeePerGas: 41.86,
|
|
11
|
-
maxPriorityFeePerGas: 1.18,
|
|
12
|
-
price: 27
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
confidence: 95,
|
|
16
|
-
maxFeePerGas: 41.54,
|
|
17
|
-
maxPriorityFeePerGas: 0.86,
|
|
18
|
-
price: 27
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
confidence: 90,
|
|
22
|
-
maxFeePerGas: 41.15,
|
|
23
|
-
maxPriorityFeePerGas: 0.47,
|
|
24
|
-
price: 26
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
confidence: 80,
|
|
28
|
-
maxFeePerGas: 41,
|
|
29
|
-
maxPriorityFeePerGas: 0.32,
|
|
30
|
-
price: 26
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
confidence: 70,
|
|
34
|
-
maxFeePerGas: 40.93,
|
|
35
|
-
maxPriorityFeePerGas: 0.25,
|
|
36
|
-
price: 26
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
estimatedTransactionCount: 186
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
currentBlockNumber: 16134623,
|
|
43
|
-
estimatedBaseFees: [
|
|
44
|
-
{
|
|
45
|
-
"pending+1": [
|
|
46
|
-
{
|
|
47
|
-
baseFee: 29.62,
|
|
48
|
-
confidence: 99
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"pending+2": [
|
|
54
|
-
{
|
|
55
|
-
baseFee: 33.33,
|
|
56
|
-
confidence: 99
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"pending+3": [
|
|
62
|
-
{
|
|
63
|
-
baseFee: 37.4,
|
|
64
|
-
confidence: 99
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"pending+4": [
|
|
70
|
-
{
|
|
71
|
-
baseFee: 39.26,
|
|
72
|
-
confidence: 99
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"pending+5": [
|
|
78
|
-
{
|
|
79
|
-
baseFee: 40.68,
|
|
80
|
-
confidence: 99
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
maxPrice: 64,
|
|
86
|
-
msSinceLastBlock: 9645,
|
|
87
|
-
network: "main",
|
|
88
|
-
schema: "network.xyo.blockchain.ethereum.gas.blocknative",
|
|
89
|
-
system: "ethereum",
|
|
90
|
-
timestamp: 1670437800246,
|
|
91
|
-
unit: "gwei"
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
// src/sampleGasPricePayloads/etherchainV1.ts
|
|
95
|
-
var sampleEtherchainV1GasPricePayload = {
|
|
96
|
-
currentBaseFee: 28.3,
|
|
97
|
-
fast: 0.9,
|
|
98
|
-
fastest: 1.5,
|
|
99
|
-
recommendedBaseFee: 57.5,
|
|
100
|
-
safeLow: 0.2,
|
|
101
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v1",
|
|
102
|
-
standard: 0.4,
|
|
103
|
-
timestamp: 1670437800313
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
// src/sampleGasPricePayloads/etherchainV2.ts
|
|
107
|
-
var sampleEtherchainV2GasPricePayload = {
|
|
108
|
-
code: 200,
|
|
109
|
-
data: {
|
|
110
|
-
fast: 26423463713,
|
|
111
|
-
priceUSD: 1229.43,
|
|
112
|
-
rapid: 37143856713,
|
|
113
|
-
slow: 13e9,
|
|
114
|
-
standard: 21366997291,
|
|
115
|
-
timestamp: 1670437795342
|
|
116
|
-
},
|
|
117
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2",
|
|
118
|
-
timestamp: 1670437800338
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
// src/sampleGasPricePayloads/ethers.ts
|
|
122
|
-
var sampleEthersGasPricePayload = {
|
|
123
|
-
gasPrice: 26770943129,
|
|
124
|
-
lastBaseFeePerGas: 26494335502,
|
|
125
|
-
maxFeePerGas: 54488671004,
|
|
126
|
-
maxPriorityFeePerGas: 15e8,
|
|
127
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethers",
|
|
128
|
-
timestamp: 1670437800345
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
// src/sampleGasPricePayloads/etherscan.ts
|
|
132
|
-
var sampleEtherscanGasPricePayload = {
|
|
133
|
-
message: "OK",
|
|
134
|
-
result: {
|
|
135
|
-
FastGasPrice: "35",
|
|
136
|
-
LastBlock: "16134573",
|
|
137
|
-
ProposeGasPrice: "35",
|
|
138
|
-
SafeGasPrice: "34",
|
|
139
|
-
gasUsedRatio: "0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667",
|
|
140
|
-
suggestBaseFee: "33.952097068"
|
|
141
|
-
},
|
|
142
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherscan",
|
|
143
|
-
status: "1",
|
|
144
|
-
timestamp: 1670437200510
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
// src/sampleGasPricePayloads/ethGasStation.ts
|
|
148
|
-
var sampleEthGasStationGasPricePayload = {
|
|
149
|
-
baseFee: 37,
|
|
150
|
-
blockNumber: 16134572,
|
|
151
|
-
blockTime: 11.88,
|
|
152
|
-
gasPrice: {
|
|
153
|
-
fast: 84,
|
|
154
|
-
instant: 97,
|
|
155
|
-
standard: 53
|
|
156
|
-
},
|
|
157
|
-
nextBaseFee: 37,
|
|
158
|
-
priorityFee: {
|
|
159
|
-
fast: 5,
|
|
160
|
-
instant: 14,
|
|
161
|
-
standard: 2
|
|
162
|
-
},
|
|
163
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethgasstation",
|
|
164
|
-
timestamp: 1670437200687
|
|
165
|
-
};
|
|
166
|
-
export {
|
|
167
|
-
sampleBlocknativeGasPricePayload,
|
|
168
|
-
sampleEthGasStationGasPricePayload,
|
|
169
|
-
sampleEtherchainV1GasPricePayload,
|
|
170
|
-
sampleEtherchainV2GasPricePayload,
|
|
171
|
-
sampleEthersGasPricePayload,
|
|
172
|
-
sampleEtherscanGasPricePayload
|
|
173
|
-
};
|
|
174
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/sampleGasPricePayloads/blocknative.ts","../../../src/sampleGasPricePayloads/etherchainV1.ts","../../../src/sampleGasPricePayloads/etherchainV2.ts","../../../src/sampleGasPricePayloads/ethers.ts","../../../src/sampleGasPricePayloads/etherscan.ts","../../../src/sampleGasPricePayloads/ethGasStation.ts"],"sourcesContent":["export const sampleBlocknativeGasPricePayload = {\n blockPrices: [\n {\n baseFeePerGas: 26.32847478,\n blockNumber: 16134624,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 41.86,\n maxPriorityFeePerGas: 1.18,\n price: 27,\n },\n {\n confidence: 95,\n maxFeePerGas: 41.54,\n maxPriorityFeePerGas: 0.86,\n price: 27,\n },\n {\n confidence: 90,\n maxFeePerGas: 41.15,\n maxPriorityFeePerGas: 0.47,\n price: 26,\n },\n {\n confidence: 80,\n maxFeePerGas: 41,\n maxPriorityFeePerGas: 0.32,\n price: 26,\n },\n {\n confidence: 70,\n maxFeePerGas: 40.93,\n maxPriorityFeePerGas: 0.25,\n price: 26,\n },\n ],\n estimatedTransactionCount: 186,\n },\n ],\n currentBlockNumber: 16134623,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 29.62,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 33.33,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 37.4,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 39.26,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 40.68,\n confidence: 99,\n },\n ],\n },\n ],\n maxPrice: 64,\n msSinceLastBlock: 9645,\n network: 'main',\n schema: 'network.xyo.blockchain.ethereum.gas.blocknative',\n system: 'ethereum',\n timestamp: 1670437800246,\n unit: 'gwei',\n}\n","export const sampleEtherchainV1GasPricePayload = {\n currentBaseFee: 28.3,\n fast: 0.9,\n fastest: 1.5,\n recommendedBaseFee: 57.5,\n safeLow: 0.2,\n schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v1',\n standard: 0.4,\n timestamp: 1670437800313,\n}\n","export const sampleEtherchainV2GasPricePayload = {\n code: 200,\n data: {\n fast: 26423463713,\n priceUSD: 1229.43,\n rapid: 37143856713,\n slow: 13000000000,\n standard: 21366997291,\n timestamp: 1670437795342,\n },\n schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v2',\n timestamp: 1670437800338,\n}\n","export const sampleEthersGasPricePayload = {\n gasPrice: 26770943129,\n lastBaseFeePerGas: 26494335502,\n maxFeePerGas: 54488671004,\n maxPriorityFeePerGas: 1500000000,\n schema: 'network.xyo.blockchain.ethereum.gas.ethers',\n timestamp: 1670437800345,\n}\n","export const sampleEtherscanGasPricePayload = {\n message: 'OK',\n result: {\n FastGasPrice: '35',\n LastBlock: '16134573',\n ProposeGasPrice: '35',\n SafeGasPrice: '34',\n gasUsedRatio: '0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667',\n suggestBaseFee: '33.952097068',\n },\n schema: 'network.xyo.blockchain.ethereum.gas.etherscan',\n status: '1',\n timestamp: 1670437200510,\n}\n","export const sampleEthGasStationGasPricePayload = {\n baseFee: 37,\n blockNumber: 16134572,\n blockTime: 11.88,\n gasPrice: {\n fast: 84,\n instant: 97,\n standard: 53,\n },\n nextBaseFee: 37,\n priorityFee: {\n fast: 5,\n instant: 14,\n standard: 2,\n },\n schema: 'network.xyo.blockchain.ethereum.gas.ethgasstation',\n timestamp: 1670437200687,\n}\n"],"mappings":";AAAO,IAAM,mCAAmC;AAAA,EAC9C,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,IACjB;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;;;AC1FO,IAAM,oCAAoC;AAAA,EAC/C,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,SAAS;AAAA,EACT,oBAAoB;AAAA,EACpB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,WAAW;AACb;;;ACTO,IAAM,oCAAoC;AAAA,EAC/C,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;;;ACZO,IAAM,8BAA8B;AAAA,EACzC,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;;;ACPO,IAAM,iCAAiC;AAAA,EAC5C,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;;;ACbO,IAAM,qCAAqC;AAAA,EAChD,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/samplePayload.ts
|
|
21
|
-
var samplePayload_exports = {};
|
|
22
|
-
__export(samplePayload_exports, {
|
|
23
|
-
sampleIdPayload: () => sampleIdPayload,
|
|
24
|
-
samplePayloadFromBuilder: () => samplePayloadFromBuilder,
|
|
25
|
-
sampleSystemInfoBrowserPayload: () => sampleSystemInfoBrowserPayload
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(samplePayload_exports);
|
|
28
|
-
var import_payload_builder = require("@xyo-network/payload-builder");
|
|
29
|
-
var samplePayloadFromBuilder = {
|
|
30
|
-
...new import_payload_builder.PayloadBuilder({ schema: "network.xyo.temp" }).fields({ test: "hello" }).build(),
|
|
31
|
-
_archive: "temp"
|
|
32
|
-
};
|
|
33
|
-
var sampleIdPayload = {
|
|
34
|
-
salt: "81b2372a-b4f0-4ab5-8642-c4e6de46a1cf",
|
|
35
|
-
schema: "network.xyo.id"
|
|
36
|
-
};
|
|
37
|
-
var sampleSystemInfoBrowserPayload = {
|
|
38
|
-
bowser: {
|
|
39
|
-
browser: {
|
|
40
|
-
name: "Chrome",
|
|
41
|
-
version: "104.0.0.0"
|
|
42
|
-
},
|
|
43
|
-
engine: {
|
|
44
|
-
name: "Blink"
|
|
45
|
-
},
|
|
46
|
-
os: {
|
|
47
|
-
name: "Windows",
|
|
48
|
-
version: "NT 10.0",
|
|
49
|
-
versionName: "10"
|
|
50
|
-
},
|
|
51
|
-
platform: {
|
|
52
|
-
type: "desktop"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
schema: "network.xyo.system.info.browser"
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=samplePayload.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/samplePayload.ts"],"sourcesContent":["import { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const samplePayloadFromBuilder = {\n ...new PayloadBuilder<Payload<{ schema: 'network.xyo.temp'; test: string }>>({ schema: 'network.xyo.temp' }).fields({ test: 'hello' }).build(),\n _archive: 'temp',\n}\n\nexport const sampleIdPayload = {\n salt: '81b2372a-b4f0-4ab5-8642-c4e6de46a1cf',\n schema: 'network.xyo.id',\n}\n\nexport const sampleSystemInfoBrowserPayload = {\n bowser: {\n browser: {\n name: 'Chrome',\n version: '104.0.0.0',\n },\n engine: {\n name: 'Blink',\n },\n os: {\n name: 'Windows',\n version: 'NT 10.0',\n versionName: '10',\n },\n platform: {\n type: 'desktop',\n },\n },\n schema: 'network.xyo.system.info.browser',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAA+B;AAGxB,IAAM,2BAA2B;AAAA,EACtC,GAAG,IAAI,sCAAsE,EAAE,QAAQ,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC,EAAE,MAAM;AAAA,EAC7I,UAAU;AACZ;AAEO,IAAM,kBAAkB;AAAA,EAC7B,MAAM;AAAA,EACN,QAAQ;AACV;AAEO,IAAM,iCAAiC;AAAA,EAC5C,QAAQ;AAAA,IACN,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,IAAI;AAAA,MACF,MAAM;AAAA,MACN,SAAS;AAAA,MACT,aAAa;AAAA,IACf;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,QAAQ;AACV;","names":[]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// src/samplePayload.ts
|
|
2
|
-
import { PayloadBuilder } from "@xyo-network/payload-builder";
|
|
3
|
-
var samplePayloadFromBuilder = {
|
|
4
|
-
...new PayloadBuilder({ schema: "network.xyo.temp" }).fields({ test: "hello" }).build(),
|
|
5
|
-
_archive: "temp"
|
|
6
|
-
};
|
|
7
|
-
var sampleIdPayload = {
|
|
8
|
-
salt: "81b2372a-b4f0-4ab5-8642-c4e6de46a1cf",
|
|
9
|
-
schema: "network.xyo.id"
|
|
10
|
-
};
|
|
11
|
-
var sampleSystemInfoBrowserPayload = {
|
|
12
|
-
bowser: {
|
|
13
|
-
browser: {
|
|
14
|
-
name: "Chrome",
|
|
15
|
-
version: "104.0.0.0"
|
|
16
|
-
},
|
|
17
|
-
engine: {
|
|
18
|
-
name: "Blink"
|
|
19
|
-
},
|
|
20
|
-
os: {
|
|
21
|
-
name: "Windows",
|
|
22
|
-
version: "NT 10.0",
|
|
23
|
-
versionName: "10"
|
|
24
|
-
},
|
|
25
|
-
platform: {
|
|
26
|
-
type: "desktop"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
schema: "network.xyo.system.info.browser"
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
sampleIdPayload,
|
|
33
|
-
samplePayloadFromBuilder,
|
|
34
|
-
sampleSystemInfoBrowserPayload
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=samplePayload.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/samplePayload.ts"],"sourcesContent":["import { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const samplePayloadFromBuilder = {\n ...new PayloadBuilder<Payload<{ schema: 'network.xyo.temp'; test: string }>>({ schema: 'network.xyo.temp' }).fields({ test: 'hello' }).build(),\n _archive: 'temp',\n}\n\nexport const sampleIdPayload = {\n salt: '81b2372a-b4f0-4ab5-8642-c4e6de46a1cf',\n schema: 'network.xyo.id',\n}\n\nexport const sampleSystemInfoBrowserPayload = {\n bowser: {\n browser: {\n name: 'Chrome',\n version: '104.0.0.0',\n },\n engine: {\n name: 'Blink',\n },\n os: {\n name: 'Windows',\n version: 'NT 10.0',\n versionName: '10',\n },\n platform: {\n type: 'desktop',\n },\n },\n schema: 'network.xyo.system.info.browser',\n}\n"],"mappings":";AAAA,SAAS,sBAAsB;AAGxB,IAAM,2BAA2B;AAAA,EACtC,GAAG,IAAI,eAAsE,EAAE,QAAQ,mBAAmB,CAAC,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC,EAAE,MAAM;AAAA,EAC7I,UAAU;AACZ;AAEO,IAAM,kBAAkB;AAAA,EAC7B,MAAM;AAAA,EACN,QAAQ;AACV;AAEO,IAAM,iCAAiC;AAAA,EAC5C,QAAQ;AAAA,IACN,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,IAAI;AAAA,MACF,MAAM;AAAA,MACN,SAAS;AAAA,MACT,aAAa;AAAA,IACf;AAAA,IACA,UAAU;AAAA,MACR,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EACA,QAAQ;AACV;","names":[]}
|