@xyo-network/id-payload-plugin 3.3.0 → 3.3.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.
@@ -1,16 +1,34 @@
1
1
  import type { Payload, WithMeta, WithSources } from '@xyo-network/payload-model';
2
2
  import { IdSchema } from './Schema.ts';
3
+ /**
4
+ * The fields of an ID Payload
5
+ */
3
6
  export type IdFields = {
4
7
  salt: string;
5
8
  };
9
+ /**
10
+ * The ID Payload
11
+ */
6
12
  export type Id = Payload<IdFields, IdSchema>;
13
+ /**
14
+ * @deprecated Use `Id` instead
15
+ */
7
16
  export type IdPayload = Id;
17
+ /**
18
+ * Identity helper for ID Payload
19
+ */
8
20
  export declare const isId: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & IdFields & {
9
21
  schema: "network.xyo.id";
10
22
  };
23
+ /**
24
+ * Identity helper for ID Payload with meta
25
+ */
11
26
  export declare const isIdWithMeta: (x?: unknown | null) => x is WithMeta<WithMeta<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & IdFields & {
12
27
  schema: "network.xyo.id";
13
28
  }>>;
29
+ /**
30
+ * Identity helper for ID Payload with sources
31
+ */
14
32
  export declare const isIdWithSources: (x?: unknown | null) => x is WithSources<WithSources<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & IdFields & {
15
33
  schema: "network.xyo.id";
16
34
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,QAAQ,EACR,WAAW,EACZ,MAAM,4BAA4B,CAAA;AAOnC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAKtC,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAKD,MAAM,MAAM,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;AAK5C,MAAM,MAAM,SAAS,GAAG,EAAE,CAAA;AAK1B,eAAO,MAAM,IAAI;;CAAsC,CAAA;AAKvD,eAAO,MAAM,YAAY;;GAAwD,CAAA;AAKjF,eAAO,MAAM,eAAe;;GAA8D,CAAA"}
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,QAAQ,EACR,WAAW,EACZ,MAAM,4BAA4B,CAAA;AAOnC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,EAAE,GAAG,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;AAE5C;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,EAAE,CAAA;AAE1B;;GAEG;AACH,eAAO,MAAM,IAAI;;CAAsC,CAAA;AAEvD;;GAEG;AACH,eAAO,MAAM,YAAY;;GAAwD,CAAA;AAEjF;;GAEG;AACH,eAAO,MAAM,eAAe;;GAA8D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/id-payload-plugin",
3
- "version": "3.3.0",
3
+ "version": "3.3.2",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,12 +29,12 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/payload-model": "^3.3.0",
33
- "@xyo-network/payload-plugin": "^3.3.0"
32
+ "@xyo-network/payload-model": "^3.3.2",
33
+ "@xyo-network/payload-plugin": "^3.3.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@xylabs/ts-scripts-yarn3": "^4.2.1",
37
- "@xylabs/tsconfig": "^4.2.1",
36
+ "@xylabs/ts-scripts-yarn3": "^4.2.3",
37
+ "@xylabs/tsconfig": "^4.2.3",
38
38
  "typescript": "^5.6.3"
39
39
  },
40
40
  "publishConfig": {