@xyo-network/id-payload-plugin 2.107.3 → 2.107.4
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/browser/index.cjs +58 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +37 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +58 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +37 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +67 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +37 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +5 -5
package/dist/browser/index.cjs
CHANGED
|
@@ -1,2 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
IdPayloadPlugin: () => IdPayloadPlugin,
|
|
25
|
+
IdSchema: () => IdSchema,
|
|
26
|
+
default: () => IdPayloadPlugin,
|
|
27
|
+
idPayloadTemplate: () => idPayloadTemplate,
|
|
28
|
+
isId: () => isId,
|
|
29
|
+
isIdWithMeta: () => isIdWithMeta,
|
|
30
|
+
isIdWithSources: () => isIdWithSources
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
|
|
34
|
+
// src/Payload.ts
|
|
35
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
36
|
+
|
|
37
|
+
// src/Schema.ts
|
|
38
|
+
var IdSchema = "network.xyo.id";
|
|
39
|
+
|
|
40
|
+
// src/Payload.ts
|
|
41
|
+
var isId = (0, import_payload_model.isPayloadOfSchemaType)(IdSchema);
|
|
42
|
+
var isIdWithMeta = (0, import_payload_model.isPayloadOfSchemaTypeWithMeta)(IdSchema);
|
|
43
|
+
var isIdWithSources = (0, import_payload_model.isPayloadOfSchemaTypeWithSources)(IdSchema);
|
|
44
|
+
|
|
45
|
+
// src/Plugin.ts
|
|
46
|
+
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
47
|
+
|
|
48
|
+
// src/Template.ts
|
|
49
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
50
|
+
salt: "",
|
|
51
|
+
schema: IdSchema
|
|
52
|
+
}), "idPayloadTemplate");
|
|
53
|
+
|
|
54
|
+
// src/Plugin.ts
|
|
55
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
56
|
+
schema: IdSchema,
|
|
57
|
+
template: idPayloadTemplate
|
|
58
|
+
}), "IdPayloadPlugin");
|
|
2
59
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;ACAA,2BAOO;;;ACNA,IAAMA,WAAqB;;;ADkB3B,IAAMC,WAAOC,4CAAiCC,QAAAA;AAI9C,IAAMC,mBAAeC,oDAAmDF,QAAAA;AAIxE,IAAMG,sBAAkBC,uDAAyDJ,QAAAA;;;AE3BxF,4BAAoC;;;ACG7B,IAAMK,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,iCAC7BC,2CAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,2 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Payload.ts
|
|
5
|
+
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from "@xyo-network/payload-model";
|
|
6
|
+
|
|
7
|
+
// src/Schema.ts
|
|
8
|
+
var IdSchema = "network.xyo.id";
|
|
9
|
+
|
|
10
|
+
// src/Payload.ts
|
|
11
|
+
var isId = isPayloadOfSchemaType(IdSchema);
|
|
12
|
+
var isIdWithMeta = isPayloadOfSchemaTypeWithMeta(IdSchema);
|
|
13
|
+
var isIdWithSources = isPayloadOfSchemaTypeWithSources(IdSchema);
|
|
14
|
+
|
|
15
|
+
// src/Plugin.ts
|
|
16
|
+
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
17
|
+
|
|
18
|
+
// src/Template.ts
|
|
19
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
20
|
+
salt: "",
|
|
21
|
+
schema: IdSchema
|
|
22
|
+
}), "idPayloadTemplate");
|
|
23
|
+
|
|
24
|
+
// src/Plugin.ts
|
|
25
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
26
|
+
schema: IdSchema,
|
|
27
|
+
template: idPayloadTemplate
|
|
28
|
+
}), "IdPayloadPlugin");
|
|
29
|
+
export {
|
|
30
|
+
IdPayloadPlugin,
|
|
31
|
+
IdSchema,
|
|
32
|
+
IdPayloadPlugin as default,
|
|
33
|
+
idPayloadTemplate,
|
|
34
|
+
isId,
|
|
35
|
+
isIdWithMeta,
|
|
36
|
+
isIdWithSources
|
|
37
|
+
};
|
|
2
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;AAAA,SACEA,uBACAC,+BACAC,wCAIK;;;ACNA,IAAMC,WAAqB;;;ADkB3B,IAAMC,OAAOC,sBAAiCC,QAAAA;AAI9C,IAAMC,eAAeC,8BAAmDF,QAAAA;AAIxE,IAAMG,kBAAkBC,iCAAyDJ,QAAAA;;;AE3BxF,SAASK,2BAA2B;;;ACG7B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,6BAC7BC,oBAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["isPayloadOfSchemaType","isPayloadOfSchemaTypeWithMeta","isPayloadOfSchemaTypeWithSources","IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","createPayloadPlugin","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,2 +1,59 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
IdPayloadPlugin: () => IdPayloadPlugin,
|
|
25
|
+
IdSchema: () => IdSchema,
|
|
26
|
+
default: () => IdPayloadPlugin,
|
|
27
|
+
idPayloadTemplate: () => idPayloadTemplate,
|
|
28
|
+
isId: () => isId,
|
|
29
|
+
isIdWithMeta: () => isIdWithMeta,
|
|
30
|
+
isIdWithSources: () => isIdWithSources
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
|
|
34
|
+
// src/Payload.ts
|
|
35
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
36
|
+
|
|
37
|
+
// src/Schema.ts
|
|
38
|
+
var IdSchema = "network.xyo.id";
|
|
39
|
+
|
|
40
|
+
// src/Payload.ts
|
|
41
|
+
var isId = (0, import_payload_model.isPayloadOfSchemaType)(IdSchema);
|
|
42
|
+
var isIdWithMeta = (0, import_payload_model.isPayloadOfSchemaTypeWithMeta)(IdSchema);
|
|
43
|
+
var isIdWithSources = (0, import_payload_model.isPayloadOfSchemaTypeWithSources)(IdSchema);
|
|
44
|
+
|
|
45
|
+
// src/Plugin.ts
|
|
46
|
+
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
47
|
+
|
|
48
|
+
// src/Template.ts
|
|
49
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
50
|
+
salt: "",
|
|
51
|
+
schema: IdSchema
|
|
52
|
+
}), "idPayloadTemplate");
|
|
53
|
+
|
|
54
|
+
// src/Plugin.ts
|
|
55
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
56
|
+
schema: IdSchema,
|
|
57
|
+
template: idPayloadTemplate
|
|
58
|
+
}), "IdPayloadPlugin");
|
|
2
59
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;ACAA,2BAOO;;;ACNA,IAAMA,WAAqB;;;ADkB3B,IAAMC,WAAOC,4CAAiCC,QAAAA;AAI9C,IAAMC,mBAAeC,oDAAmDF,QAAAA;AAIxE,IAAMG,sBAAkBC,uDAAyDJ,QAAAA;;;AE3BxF,4BAAoC;;;ACG7B,IAAMK,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,iCAC7BC,2CAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,2 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Payload.ts
|
|
5
|
+
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from "@xyo-network/payload-model";
|
|
6
|
+
|
|
7
|
+
// src/Schema.ts
|
|
8
|
+
var IdSchema = "network.xyo.id";
|
|
9
|
+
|
|
10
|
+
// src/Payload.ts
|
|
11
|
+
var isId = isPayloadOfSchemaType(IdSchema);
|
|
12
|
+
var isIdWithMeta = isPayloadOfSchemaTypeWithMeta(IdSchema);
|
|
13
|
+
var isIdWithSources = isPayloadOfSchemaTypeWithSources(IdSchema);
|
|
14
|
+
|
|
15
|
+
// src/Plugin.ts
|
|
16
|
+
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
17
|
+
|
|
18
|
+
// src/Template.ts
|
|
19
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
20
|
+
salt: "",
|
|
21
|
+
schema: IdSchema
|
|
22
|
+
}), "idPayloadTemplate");
|
|
23
|
+
|
|
24
|
+
// src/Plugin.ts
|
|
25
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
26
|
+
schema: IdSchema,
|
|
27
|
+
template: idPayloadTemplate
|
|
28
|
+
}), "IdPayloadPlugin");
|
|
29
|
+
export {
|
|
30
|
+
IdPayloadPlugin,
|
|
31
|
+
IdSchema,
|
|
32
|
+
IdPayloadPlugin as default,
|
|
33
|
+
idPayloadTemplate,
|
|
34
|
+
isId,
|
|
35
|
+
isIdWithMeta,
|
|
36
|
+
isIdWithSources
|
|
37
|
+
};
|
|
2
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;AAAA,SACEA,uBACAC,+BACAC,wCAIK;;;ACNA,IAAMC,WAAqB;;;ADkB3B,IAAMC,OAAOC,sBAAiCC,QAAAA;AAI9C,IAAMC,eAAeC,8BAAmDF,QAAAA;AAIxE,IAAMG,kBAAkBC,iCAAyDJ,QAAAA;;;AE3BxF,SAASK,2BAA2B;;;ACG7B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,6BAC7BC,oBAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["isPayloadOfSchemaType","isPayloadOfSchemaTypeWithMeta","isPayloadOfSchemaTypeWithSources","IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","createPayloadPlugin","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,2 +1,68 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
IdPayloadPlugin: () => IdPayloadPlugin,
|
|
25
|
+
IdSchema: () => IdSchema,
|
|
26
|
+
default: () => IdPayloadPlugin,
|
|
27
|
+
idPayloadTemplate: () => idPayloadTemplate,
|
|
28
|
+
isId: () => isId,
|
|
29
|
+
isIdWithMeta: () => isIdWithMeta,
|
|
30
|
+
isIdWithSources: () => isIdWithSources
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
|
|
34
|
+
// src/Payload.ts
|
|
35
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
36
|
+
|
|
37
|
+
// src/Schema.ts
|
|
38
|
+
var IdSchema = "network.xyo.id";
|
|
39
|
+
|
|
40
|
+
// src/Payload.ts
|
|
41
|
+
var isId = (0, import_payload_model.isPayloadOfSchemaType)(IdSchema);
|
|
42
|
+
var isIdWithMeta = (0, import_payload_model.isPayloadOfSchemaTypeWithMeta)(IdSchema);
|
|
43
|
+
var isIdWithSources = (0, import_payload_model.isPayloadOfSchemaTypeWithSources)(IdSchema);
|
|
44
|
+
|
|
45
|
+
// src/Plugin.ts
|
|
46
|
+
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
47
|
+
|
|
48
|
+
// src/Template.ts
|
|
49
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
50
|
+
salt: "",
|
|
51
|
+
schema: IdSchema
|
|
52
|
+
}), "idPayloadTemplate");
|
|
53
|
+
|
|
54
|
+
// src/Plugin.ts
|
|
55
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
56
|
+
schema: IdSchema,
|
|
57
|
+
template: idPayloadTemplate
|
|
58
|
+
}), "IdPayloadPlugin");
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
IdPayloadPlugin,
|
|
62
|
+
IdSchema,
|
|
63
|
+
idPayloadTemplate,
|
|
64
|
+
isId,
|
|
65
|
+
isIdWithMeta,
|
|
66
|
+
isIdWithSources
|
|
67
|
+
});
|
|
2
68
|
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n// eslint-disable-next-line import/no-default-export\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;ACAA,2BAOO;;;ACNA,IAAMA,WAAqB;;;ADkB3B,IAAMC,WAAOC,4CAAiCC,QAAAA;AAI9C,IAAMC,mBAAeC,oDAAmDF,QAAAA;AAIxE,IAAMG,sBAAkBC,uDAAyDJ,QAAAA;;;AE3BxF,4BAAoC;;;ACG7B,IAAMK,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,iCAC7BC,2CAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,2 +1,38 @@
|
|
|
1
|
-
var
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/Payload.ts
|
|
5
|
+
import { isPayloadOfSchemaType, isPayloadOfSchemaTypeWithMeta, isPayloadOfSchemaTypeWithSources } from "@xyo-network/payload-model";
|
|
6
|
+
|
|
7
|
+
// src/Schema.ts
|
|
8
|
+
var IdSchema = "network.xyo.id";
|
|
9
|
+
|
|
10
|
+
// src/Payload.ts
|
|
11
|
+
var isId = isPayloadOfSchemaType(IdSchema);
|
|
12
|
+
var isIdWithMeta = isPayloadOfSchemaTypeWithMeta(IdSchema);
|
|
13
|
+
var isIdWithSources = isPayloadOfSchemaTypeWithSources(IdSchema);
|
|
14
|
+
|
|
15
|
+
// src/Plugin.ts
|
|
16
|
+
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
17
|
+
|
|
18
|
+
// src/Template.ts
|
|
19
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
20
|
+
salt: "",
|
|
21
|
+
schema: IdSchema
|
|
22
|
+
}), "idPayloadTemplate");
|
|
23
|
+
|
|
24
|
+
// src/Plugin.ts
|
|
25
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
26
|
+
schema: IdSchema,
|
|
27
|
+
template: idPayloadTemplate
|
|
28
|
+
}), "IdPayloadPlugin");
|
|
29
|
+
export {
|
|
30
|
+
IdPayloadPlugin,
|
|
31
|
+
IdSchema,
|
|
32
|
+
IdPayloadPlugin as default,
|
|
33
|
+
idPayloadTemplate,
|
|
34
|
+
isId,
|
|
35
|
+
isIdWithMeta,
|
|
36
|
+
isIdWithSources
|
|
37
|
+
};
|
|
2
38
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["import {\n isPayloadOfSchemaType,\n isPayloadOfSchemaTypeWithMeta,\n isPayloadOfSchemaTypeWithSources,\n Payload,\n WithMeta,\n WithSources,\n} from '@xyo-network/payload-model'\n\nimport { IdSchema } from './Schema'\n\nexport type IdPayload = Payload<{\n salt: string\n schema: IdSchema\n}>\n\n/**\n * Identity helper for ID Payload\n */\nexport const isId = isPayloadOfSchemaType<IdPayload>(IdSchema)\n/**\n * Identity helper for ID Payload with meta\n */\nexport const isIdWithMeta = isPayloadOfSchemaTypeWithMeta<WithMeta<IdPayload>>(IdSchema)\n/**\n * Identity helper for ID Payload with sources\n */\nexport const isIdWithSources = isPayloadOfSchemaTypeWithSources<WithSources<IdPayload>>(IdSchema)\n","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\nimport { idPayloadTemplate } from './Template'\n\nexport const IdPayloadPlugin = () =>\n createPayloadPlugin<IdPayload>({\n schema: IdSchema,\n template: idPayloadTemplate,\n })\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;AAAA,SACEA,uBACAC,+BACAC,wCAIK;;;ACNA,IAAMC,WAAqB;;;ADkB3B,IAAMC,OAAOC,sBAAiCC,QAAAA;AAI9C,IAAMC,eAAeC,8BAAmDF,QAAAA;AAIxE,IAAMG,kBAAkBC,iCAAyDJ,QAAAA;;;AE3BxF,SAASK,2BAA2B;;;ACG7B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;ADG1B,IAAMC,kBAAkB,6BAC7BC,oBAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["isPayloadOfSchemaType","isPayloadOfSchemaTypeWithMeta","isPayloadOfSchemaTypeWithSources","IdSchema","isId","isPayloadOfSchemaType","IdSchema","isIdWithMeta","isPayloadOfSchemaTypeWithMeta","isIdWithSources","isPayloadOfSchemaTypeWithSources","createPayloadPlugin","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/package.json
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "~2.107.
|
|
14
|
-
"@xyo-network/payload-plugin": "~2.107.
|
|
13
|
+
"@xyo-network/payload-model": "~2.107.4",
|
|
14
|
+
"@xyo-network/payload-plugin": "~2.107.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "^3.11.
|
|
18
|
-
"@xylabs/tsconfig": "^3.11.
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.10",
|
|
18
|
+
"@xylabs/tsconfig": "^3.11.10",
|
|
19
19
|
"typescript": "^5.5.2"
|
|
20
20
|
},
|
|
21
21
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
|
-
"version": "2.107.
|
|
60
|
+
"version": "2.107.4",
|
|
61
61
|
"type": "module"
|
|
62
62
|
}
|