@xyo-network/id-payload-plugin 2.84.19 → 2.85.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.
- package/dist/browser/index.cjs +5 -4
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +7 -4
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.js +5 -4
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +7 -4
- package/dist/node/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/browser/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -34,14 +35,14 @@ var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
|
34
35
|
var IdSchema = "network.xyo.id";
|
|
35
36
|
|
|
36
37
|
// src/Template.ts
|
|
37
|
-
var idPayloadTemplate = () => ({
|
|
38
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
38
39
|
salt: "",
|
|
39
40
|
schema: IdSchema
|
|
40
|
-
});
|
|
41
|
+
}), "idPayloadTemplate");
|
|
41
42
|
|
|
42
43
|
// src/Plugin.ts
|
|
43
|
-
var IdPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
44
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
44
45
|
schema: IdSchema,
|
|
45
46
|
template: idPayloadTemplate
|
|
46
|
-
});
|
|
47
|
+
}), "IdPayloadPlugin");
|
|
47
48
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\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/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA,4BAAoC;;;ACC7B,IAAMA,WAAqB;;;ACE3B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;AFG1B,IAAMC,kBAAkB,iCAC7BC,2CAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["IdSchema","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Plugin.ts
|
|
2
5
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
6
|
|
|
@@ -5,16 +8,16 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
|
5
8
|
var IdSchema = "network.xyo.id";
|
|
6
9
|
|
|
7
10
|
// src/Template.ts
|
|
8
|
-
var idPayloadTemplate = () => ({
|
|
11
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
9
12
|
salt: "",
|
|
10
13
|
schema: IdSchema
|
|
11
|
-
});
|
|
14
|
+
}), "idPayloadTemplate");
|
|
12
15
|
|
|
13
16
|
// src/Plugin.ts
|
|
14
|
-
var IdPayloadPlugin = () => createPayloadPlugin({
|
|
17
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
15
18
|
schema: IdSchema,
|
|
16
19
|
template: idPayloadTemplate
|
|
17
|
-
});
|
|
20
|
+
}), "IdPayloadPlugin");
|
|
18
21
|
export {
|
|
19
22
|
IdPayloadPlugin,
|
|
20
23
|
IdSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\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/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;AAAA,SAASA,2BAA2B;;;ACC7B,IAAMC,WAAqB;;;ACE3B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;AFG1B,IAAMC,kBAAkB,6BAC7BC,oBAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["createPayloadPlugin","IdSchema","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/node/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -34,16 +35,16 @@ var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
|
34
35
|
var IdSchema = "network.xyo.id";
|
|
35
36
|
|
|
36
37
|
// src/Template.ts
|
|
37
|
-
var idPayloadTemplate = () => ({
|
|
38
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
38
39
|
salt: "",
|
|
39
40
|
schema: IdSchema
|
|
40
|
-
});
|
|
41
|
+
}), "idPayloadTemplate");
|
|
41
42
|
|
|
42
43
|
// src/Plugin.ts
|
|
43
|
-
var IdPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
44
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => (0, import_payload_plugin.createPayloadPlugin)({
|
|
44
45
|
schema: IdSchema,
|
|
45
46
|
template: idPayloadTemplate
|
|
46
|
-
});
|
|
47
|
+
}), "IdPayloadPlugin");
|
|
47
48
|
// Annotate the CommonJS export names for ESM import in node:
|
|
48
49
|
0 && (module.exports = {
|
|
49
50
|
IdPayloadPlugin,
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\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/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA,4BAAoC;;;ACC7B,IAAMA,WAAqB;;;ACE3B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;AFG1B,IAAMC,kBAAkB,iCAC7BC,2CAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["IdSchema","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
1
4
|
// src/Plugin.ts
|
|
2
5
|
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
3
6
|
|
|
@@ -5,16 +8,16 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
|
5
8
|
var IdSchema = "network.xyo.id";
|
|
6
9
|
|
|
7
10
|
// src/Template.ts
|
|
8
|
-
var idPayloadTemplate = () => ({
|
|
11
|
+
var idPayloadTemplate = /* @__PURE__ */ __name(() => ({
|
|
9
12
|
salt: "",
|
|
10
13
|
schema: IdSchema
|
|
11
|
-
});
|
|
14
|
+
}), "idPayloadTemplate");
|
|
12
15
|
|
|
13
16
|
// src/Plugin.ts
|
|
14
|
-
var IdPayloadPlugin = () => createPayloadPlugin({
|
|
17
|
+
var IdPayloadPlugin = /* @__PURE__ */ __name(() => createPayloadPlugin({
|
|
15
18
|
schema: IdSchema,
|
|
16
19
|
template: idPayloadTemplate
|
|
17
|
-
});
|
|
20
|
+
}), "IdPayloadPlugin");
|
|
18
21
|
export {
|
|
19
22
|
IdPayloadPlugin,
|
|
20
23
|
IdSchema,
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\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/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["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","export type IdSchema = 'network.xyo.id'\nexport const IdSchema: IdSchema = 'network.xyo.id'\n","import { IdPayload } from './Payload'\nimport { IdSchema } from './Schema'\n\nexport const idPayloadTemplate = (): IdPayload => ({\n salt: '',\n schema: IdSchema,\n})\n"],"mappings":";;;;AAAA,SAASA,2BAA2B;;;ACC7B,IAAMC,WAAqB;;;ACE3B,IAAMC,oBAAoB,8BAAkB;EACjDC,MAAM;EACNC,QAAQC;AACV,IAHiC;;;AFG1B,IAAMC,kBAAkB,6BAC7BC,oBAA+B;EAC7BC,QAAQC;EACRC,UAAUC;AACZ,CAAA,GAJ6B;","names":["createPayloadPlugin","IdSchema","idPayloadTemplate","salt","schema","IdSchema","IdPayloadPlugin","createPayloadPlugin","schema","IdSchema","template","idPayloadTemplate"]}
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "~2.
|
|
14
|
-
"@xyo-network/payload-plugin": "~2.
|
|
13
|
+
"@xyo-network/payload-model": "~2.85.0",
|
|
14
|
+
"@xyo-network/payload-plugin": "~2.85.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@xylabs/ts-scripts-yarn3": "^3.2.25",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
},
|
|
59
59
|
"sideEffects": false,
|
|
60
60
|
"types": "dist/node/index.d.ts",
|
|
61
|
-
"version": "2.
|
|
61
|
+
"version": "2.85.0"
|
|
62
62
|
}
|