@xyo-network/xl1-protocol 1.14.14 → 1.14.15

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.
@@ -33,7 +33,7 @@ export declare const isUnsignedBlockBoundWitness: <T>(value: T) => value is T &
33
33
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
34
34
  };
35
35
  export declare const asUnsignedBlockBoundWitness: {
36
- (value: unknown): {
36
+ <T>(value: T): (T & {
37
37
  schema: "network.xyo.boundwitness";
38
38
  addresses: import("@xylabs/hex").Address[];
39
39
  payload_hashes: import("@xylabs/hex").Hash[];
@@ -48,8 +48,8 @@ export declare const asUnsignedBlockBoundWitness: {
48
48
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
49
49
  protocol?: number | undefined;
50
50
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
51
- } | undefined;
52
- (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
51
+ }) | undefined;
52
+ <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
53
53
  schema: "network.xyo.boundwitness";
54
54
  addresses: import("@xylabs/hex").Address[];
55
55
  payload_hashes: import("@xylabs/hex").Hash[];
@@ -67,7 +67,7 @@ export declare const asUnsignedBlockBoundWitness: {
67
67
  };
68
68
  };
69
69
  export declare const toUnsignedBlockBoundWitness: {
70
- (value: unknown): {
70
+ <T>(value: T): (T & {
71
71
  schema: "network.xyo.boundwitness";
72
72
  addresses: import("@xylabs/hex").Address[];
73
73
  payload_hashes: import("@xylabs/hex").Hash[];
@@ -82,8 +82,8 @@ export declare const toUnsignedBlockBoundWitness: {
82
82
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
83
83
  protocol?: number | undefined;
84
84
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
85
- } | undefined;
86
- (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): {
85
+ }) | undefined;
86
+ <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & {
87
87
  schema: "network.xyo.boundwitness";
88
88
  addresses: import("@xylabs/hex").Address[];
89
89
  payload_hashes: import("@xylabs/hex").Hash[];
@@ -11,13 +11,13 @@ export declare const WithHashMetaishZod: z.ZodPipe<z.ZodObject<{
11
11
  }>>;
12
12
  export type WithHashMetaish = z.input<typeof WithHashMetaishZod>;
13
13
  export declare const toWithHashMeta: {
14
- (value: unknown): Promise<(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
14
+ <T>(value: T): Promise<(T & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
15
15
  schema: string;
16
16
  } & Partial<import("@xyo-network/payload-model").PayloadMetaFields> & {
17
17
  _hash: import("@xylabs/hex").Hash;
18
18
  _dataHash: import("@xylabs/hex").Hash;
19
19
  }) | undefined>;
20
- (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): Promise<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
20
+ <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): Promise<T & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
21
21
  schema: string;
22
22
  } & Partial<import("@xyo-network/payload-model").PayloadMetaFields> & {
23
23
  _hash: import("@xylabs/hex").Hash;
@@ -12,14 +12,14 @@ export declare const WithStorageMetaishZod: z.ZodPipe<z.ZodObject<{
12
12
  }>>;
13
13
  export type WithStorageMetaish = z.input<typeof WithStorageMetaishZod>;
14
14
  export declare const toWithStorageMeta: {
15
- (value: unknown): Promise<(import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
15
+ <T>(value: T): Promise<(T & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
16
16
  schema: string;
17
17
  } & Partial<import("@xyo-network/payload-model").PayloadMetaFields> & {
18
18
  _hash: import("@xylabs/hex").Hash;
19
19
  _dataHash: import("@xylabs/hex").Hash;
20
20
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
21
21
  }) | undefined>;
22
- (value: unknown, assert: import("@xylabs/zod").ZodFactoryConfig): Promise<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
22
+ <T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): Promise<T & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
23
23
  schema: string;
24
24
  } & Partial<import("@xyo-network/payload-model").PayloadMetaFields> & {
25
25
  _hash: import("@xylabs/hex").Hash;
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",
4
- "version": "1.14.14",
4
+ "version": "1.14.15",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -40,15 +40,15 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@opentelemetry/api": "~1.9.0",
43
- "@xylabs/assert": "~5.0.43",
44
- "@xylabs/error": "~5.0.43",
45
- "@xylabs/hex": "~5.0.43",
46
- "@xylabs/logger": "~5.0.43",
47
- "@xylabs/object": "~5.0.43",
48
- "@xylabs/promise": "~5.0.43",
49
- "@xylabs/sdk-js": "~5.0.43",
50
- "@xylabs/typeof": "~5.0.43",
51
- "@xylabs/zod": "~5.0.43",
43
+ "@xylabs/assert": "~5.0.46",
44
+ "@xylabs/error": "~5.0.46",
45
+ "@xylabs/hex": "~5.0.46",
46
+ "@xylabs/logger": "~5.0.46",
47
+ "@xylabs/object": "~5.0.46",
48
+ "@xylabs/promise": "~5.0.46",
49
+ "@xylabs/sdk-js": "~5.0.46",
50
+ "@xylabs/typeof": "~5.0.46",
51
+ "@xylabs/zod": "~5.0.46",
52
52
  "@xyo-network/archivist-model": "~5.2.10",
53
53
  "@xyo-network/boundwitness-model": "~5.2.10",
54
54
  "@xyo-network/payload-builder": "~5.2.10",
@@ -59,7 +59,7 @@
59
59
  "devDependencies": {
60
60
  "@types/node": "~24.10.1",
61
61
  "@typescript-eslint/types": "~8.48.0",
62
- "@xylabs/creatable": "~5.0.43",
62
+ "@xylabs/creatable": "~5.0.46",
63
63
  "@xylabs/eslint-config-flat": "~7.2.8",
64
64
  "@xylabs/ts-scripts-yarn3": "~7.2.8",
65
65
  "@xylabs/tsconfig": "~7.2.8",