@apibara/starknet 2.1.0-beta.33 → 2.1.0-beta.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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/block.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apibara/starknet",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"vitest": "^1.6.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@apibara/protocol": "2.1.0-beta.
|
|
45
|
+
"@apibara/protocol": "2.1.0-beta.34",
|
|
46
46
|
"@scure/starknet": "^1.1.0",
|
|
47
47
|
"abi-wan-kanabi": "^2.2.4",
|
|
48
48
|
"effect": "^3.2.6",
|
package/src/block.ts
CHANGED
|
@@ -184,7 +184,7 @@ export type DataAvailabilityMode = CodecType<typeof DataAvailabilityMode>;
|
|
|
184
184
|
* @prop l1DataAvailabilityMode How data is posted to L1.
|
|
185
185
|
*/
|
|
186
186
|
export const BlockHeader = MessageCodec({
|
|
187
|
-
blockHash:
|
|
187
|
+
blockHash: OptionalCodec(FieldElement),
|
|
188
188
|
parentBlockHash: RequiredCodec(FieldElement),
|
|
189
189
|
blockNumber: RequiredCodec(BigIntCodec),
|
|
190
190
|
sequencerAddress: RequiredCodec(FieldElement),
|