@xyo-network/xl1-protocol-sdk 1.22.0 → 1.22.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.
- package/dist/neutral/index.mjs +6 -4
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/simple/blockInvalidation/SimpleBlockInvalidationViewer.ts +3 -3
- package/src/simple/blockValidation/SimpleBlockValidationViewer.ts +3 -3
- package/src/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.ts +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/xl1-protocol-sdk",
|
|
4
|
-
"version": "1.22.
|
|
4
|
+
"version": "1.22.2",
|
|
5
5
|
"description": "XYO Layer One SDK Protocol",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@xyo-network/payload-builder": "~5.3.2",
|
|
50
50
|
"@xyo-network/payload-model": "~5.3.2",
|
|
51
51
|
"@xyo-network/wallet": "~5.3.2",
|
|
52
|
-
"@xyo-network/xl1-protocol": "~1.22.
|
|
52
|
+
"@xyo-network/xl1-protocol": "~1.22.2",
|
|
53
53
|
"async-mutex": "~0.5.0",
|
|
54
54
|
"ethers": "^6.16.0",
|
|
55
55
|
"lru-cache": "^11.2.5"
|
|
@@ -179,10 +179,10 @@ export class SimpleBlockInvalidationViewer extends AbstractCreatableProvider<Sim
|
|
|
179
179
|
}
|
|
180
180
|
return (await Promise.all(uncles[0].map(async (block) => {
|
|
181
181
|
const errors = await this.params.state!(
|
|
182
|
-
|
|
182
|
+
{
|
|
183
|
+
...this.context, chainIdAtBlockNumber, accountBalance: this._accountBalanceViewer,
|
|
184
|
+
},
|
|
183
185
|
block,
|
|
184
|
-
chainIdAtBlockNumber,
|
|
185
|
-
{ accountBalance: this._accountBalanceViewer },
|
|
186
186
|
)
|
|
187
187
|
return (errors.length === 0) ? block : errors
|
|
188
188
|
})))
|
|
@@ -176,10 +176,10 @@ export class SimpleBlockValidationViewer extends AbstractCreatableProvider<Simpl
|
|
|
176
176
|
}
|
|
177
177
|
return (await Promise.all(uncles[0].map(async (block) => {
|
|
178
178
|
const errors = await this.params.state!(
|
|
179
|
-
|
|
179
|
+
{
|
|
180
|
+
...this.context, chainIdAtBlockNumber, accountBalance: this._accountBalanceViewer,
|
|
181
|
+
},
|
|
180
182
|
block,
|
|
181
|
-
chainIdAtBlockNumber,
|
|
182
|
-
{ accountBalance: this._accountBalanceViewer },
|
|
183
183
|
)
|
|
184
184
|
return (errors.length === 0) ? block : errors
|
|
185
185
|
})))
|
|
@@ -179,10 +179,10 @@ export class SimpleBlockInvalidationViewer extends AbstractCreatableProvider<Sim
|
|
|
179
179
|
}
|
|
180
180
|
return (await Promise.all(uncles[0].map(async (block) => {
|
|
181
181
|
const errors = await this.params.state!(
|
|
182
|
-
|
|
182
|
+
{
|
|
183
|
+
...this.context, chainIdAtBlockNumber, accountBalance: this._accountBalanceViewer,
|
|
184
|
+
},
|
|
183
185
|
block,
|
|
184
|
-
chainIdAtBlockNumber,
|
|
185
|
-
{ accountBalance: this._accountBalanceViewer },
|
|
186
186
|
)
|
|
187
187
|
return (errors.length === 0) ? block : errors
|
|
188
188
|
})))
|