@xyo-network/signature-payload-plugin 4.1.0 → 4.2.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.
@@ -1,32 +1,3 @@
1
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
2
- import { Payload } from '@xyo-network/payload-model';
3
-
4
- declare const SignatureSchema: "network.xyo.signing.signature";
5
- type SignatureSchema = typeof SignatureSchema;
6
-
7
- type Digest = 'sha512' | 'sha3-256';
8
- interface SignatureFields {
9
- /**
10
- * The digest algorithm used to create the signature
11
- */
12
- digestAlgorithm: Digest;
13
- /**
14
- * The signature
15
- */
16
- signature: string;
17
- }
18
- /**
19
- * A Signature Payload
20
- */
21
- type Signature = Payload<SignatureFields, SignatureSchema>;
22
- /**
23
- * Identity function for determine if an object is a Signature
24
- */
25
- declare const isSignature: (x?: unknown | null) => x is Signature;
26
- /**
27
- * Identity function for determine if an object is a Signature with sources
28
- */
29
- declare const isSignatureWithSources: (x?: unknown | null) => x is _xyo_network_payload_model.WithSources<Signature>;
30
-
31
- export { SignatureSchema, isSignature, isSignatureWithSources };
32
- export type { Digest, Signature, SignatureFields };
1
+ export * from './Payload.ts';
2
+ export * from './Schema.ts';
3
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/signature-payload-plugin",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,12 +29,11 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/payload-model": "^4.1.1"
32
+ "@xyo-network/payload-model": "^4.3.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
36
- "@xylabs/tsconfig": "^7.0.0-rc.24",
37
- "knip": "^5.61.3",
35
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
36
+ "@xylabs/tsconfig": "^7.0.1",
38
37
  "typescript": "^5.8.3"
39
38
  },
40
39
  "publishConfig": {