@xyo-network/xl1-protocol 5.4.1 → 5.4.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/README.md +9 -4
- package/dist/neutral/modules/protocol-lib/viewers/DeadLetterQueue.d.ts +2 -2
- package/dist/neutral/modules/protocol-lib/viewers/Evidence.d.ts +3 -3
- package/dist/neutral/modules/protocol-lib/viewers/Mempool.d.ts +2 -2
- package/dist/neutral/modules/protocol-model/payload/application/Xrc20/TokenDeploy.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/rejection/BlockRejectionPayload.d.ts +1 -1
- package/dist/neutral/modules/protocol-model/rejection/TransactionRejectionPayload.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -144,13 +144,18 @@ old data before calling a change compatible. In particular, widening an existing
|
|
|
144
144
|
field's type is not automatically safe. See the canonical
|
|
145
145
|
[XYO contract and compatibility rules](https://github.com/XYOracleNetwork/sdk-protocol-js/blob/main/packages/sdk-protocol-core/README.md#payload-schema-contracts).
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
Published `@xyo-network/xl1-protocol` 5.4.1 and `@xyo-network/xl1-sdk` 5.4.1
|
|
148
|
+
include the XL1 enforcement described here. Their schema changes were qualified
|
|
149
|
+
in a registry consumer with `@xyo-network/sdk` 7.4.0 and
|
|
150
|
+
`@xyo-network/sdk-protocol` 7.4.2. Older consumer lockfiles must resolve protocol
|
|
151
|
+
SDK/core 7.4.2 to receive the schema-cache fix. Package publication and dependency
|
|
152
|
+
adoption do not deploy validators or activate network rules.
|
|
153
|
+
Upgrading validators can reject arbitrary `$version` metadata that older
|
|
150
154
|
software ignored. Audit historical data and plan any admission/replay activation
|
|
151
155
|
before deployment. The repository's
|
|
152
156
|
[implementation and rollout notes](https://github.com/XYOracleNetwork/xl1-protocol/blob/main/PAYLOAD-SCHEMA-VERSIONING.md)
|
|
153
|
-
|
|
157
|
+
separate the published-artifact checks from the earlier full source qualification
|
|
158
|
+
at `6f50969f` and describe the remaining rollout work.
|
|
154
159
|
|
|
155
160
|
## AI Agent Skills
|
|
156
161
|
|
|
@@ -3,7 +3,7 @@ import type { BlockRejection, Provider, TransactionRejection } from '../../proto
|
|
|
3
3
|
/** Zod schema for validating Rejected Blocks Options values. */
|
|
4
4
|
export declare const RejectedBlocksOptionsZod: z.ZodMiniObject<{
|
|
5
5
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
6
|
-
limit: z.ZodMiniOptional<z.
|
|
6
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
7
7
|
rejector: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
/** Validated Rejected Blocks Options data. */
|
|
@@ -11,7 +11,7 @@ export type RejectedBlocksOptions = z.infer<typeof RejectedBlocksOptionsZod>;
|
|
|
11
11
|
/** Zod schema for validating Rejected Transactions Options values. */
|
|
12
12
|
export declare const RejectedTransactionsOptionsZod: z.ZodMiniObject<{
|
|
13
13
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
14
|
-
limit: z.ZodMiniOptional<z.
|
|
14
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
15
15
|
rejector: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
/** Validated Rejected Transactions Options data. */
|
|
@@ -5,7 +5,7 @@ import type { CandidatePair, Provider } from '../../protocol-model/index.js';
|
|
|
5
5
|
/** Zod schema for validating Candidate Pairs Options values. */
|
|
6
6
|
export declare const CandidatePairsOptionsZod: z.ZodMiniObject<{
|
|
7
7
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
8
|
-
limit: z.ZodMiniOptional<z.
|
|
8
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
9
9
|
producer: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
10
10
|
readonly __hex: true;
|
|
11
11
|
} & {
|
|
@@ -17,7 +17,7 @@ export type CandidatePairsOptions = z.infer<typeof CandidatePairsOptionsZod>;
|
|
|
17
17
|
/** Zod schema for validating Evidence Entries Options values. */
|
|
18
18
|
export declare const EvidenceEntriesOptionsZod: z.ZodMiniObject<{
|
|
19
19
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
20
|
-
limit: z.ZodMiniOptional<z.
|
|
20
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
21
21
|
schema: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
23
|
/** Validated Evidence Entries Options data. */
|
|
@@ -25,7 +25,7 @@ export type EvidenceEntriesOptions = z.infer<typeof EvidenceEntriesOptionsZod>;
|
|
|
25
25
|
/** Zod schema for validating Evidence Rejections Options values. */
|
|
26
26
|
export declare const EvidenceRejectionsOptionsZod: z.ZodMiniObject<{
|
|
27
27
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
28
|
-
limit: z.ZodMiniOptional<z.
|
|
28
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
29
29
|
rejector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
30
30
|
readonly __hex: true;
|
|
31
31
|
} & {
|
|
@@ -3,7 +3,7 @@ import type { Provider, SignedHydratedBlockWithHashMeta, SignedHydratedTransacti
|
|
|
3
3
|
/** Zod schema for validating Pending Transactions Options values. */
|
|
4
4
|
export declare const PendingTransactionsOptionsZod: z.ZodMiniObject<{
|
|
5
5
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
6
|
-
limit: z.ZodMiniOptional<z.
|
|
6
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
7
7
|
window: z.ZodMiniOptional<import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
/** Validated Pending Transactions Options data. */
|
|
@@ -11,7 +11,7 @@ export type PendingTransactionsOptions = z.infer<typeof PendingTransactionsOptio
|
|
|
11
11
|
/** Zod schema for validating Pending Blocks Options values. */
|
|
12
12
|
export declare const PendingBlocksOptionsZod: z.ZodMiniObject<{
|
|
13
13
|
cursor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>>;
|
|
14
|
-
limit: z.ZodMiniOptional<z.
|
|
14
|
+
limit: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
15
15
|
window: z.ZodMiniOptional<import("zod").ZodTuple<[import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>, import("zod").ZodPipe<import("zod").ZodInt, import("zod").ZodTransform<import('../../protocol-model/index.js').XL1BlockNumber, number>>], null>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
17
17
|
/** Validated Pending Blocks Options data. */
|
|
@@ -14,7 +14,7 @@ export declare const TokenDeployFieldsZod: z.ZodMiniObject<{
|
|
|
14
14
|
tick: z.ZodMiniString<string>;
|
|
15
15
|
max: z.ZodMiniString<string>;
|
|
16
16
|
lim: z.ZodMiniString<string>;
|
|
17
|
-
decimals: z.ZodMiniOptional<z.
|
|
17
|
+
decimals: z.ZodMiniOptional<z.ZodMiniInt>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
/** Fields represented by the Token Deploy contract. */
|
|
20
20
|
export type TokenDeployFields = z.infer<typeof TokenDeployFieldsZod>;
|
|
@@ -47,7 +47,7 @@ export declare const BlockRejectionFieldsZod: z.ZodMiniObject<{
|
|
|
47
47
|
}, z.core.$strip>;
|
|
48
48
|
/** Zod schema for a complete block rejection payload. */
|
|
49
49
|
export declare const BlockRejectionZod: z.ZodMiniObject<{
|
|
50
|
-
$version: z.ZodMiniOptional<z.ZodMiniNumberFormat
|
|
50
|
+
$version: z.ZodMiniOptional<z.ZodMiniNumberFormat<z.core.$ZodNumberFormats>>;
|
|
51
51
|
schema: z.ZodMiniLiteral<"network.xyo.block.rejection" & {
|
|
52
52
|
readonly __schema: true;
|
|
53
53
|
}>;
|
|
@@ -55,7 +55,7 @@ export declare const TransactionRejectionFieldsZod: z.ZodMiniObject<{
|
|
|
55
55
|
}, z.core.$strip>;
|
|
56
56
|
/** Zod schema for a complete transaction rejection payload. */
|
|
57
57
|
export declare const TransactionRejectionZod: z.ZodMiniObject<{
|
|
58
|
-
$version: z.ZodMiniOptional<z.ZodMiniNumberFormat
|
|
58
|
+
$version: z.ZodMiniOptional<z.ZodMiniNumberFormat<z.core.$ZodNumberFormats>>;
|
|
59
59
|
schema: z.ZodMiniLiteral<"network.xyo.transaction.rejection" & {
|
|
60
60
|
readonly __schema: true;
|
|
61
61
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/xl1-protocol",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"description": "XYO Layer One Protocol - All Protocol Packages",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"typescript": "~6.0.3",
|
|
87
87
|
"vite": "~8.2.2",
|
|
88
88
|
"vitest": "~4.1.11",
|
|
89
|
-
"zod": "~4.
|
|
89
|
+
"zod": "~4.5.2"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@ariestools/sdk": "^8.1",
|