@xyo-network/id-payload-plugin 2.107.4 → 2.107.6

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 +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":";;;;;;;;;;;;;;;;;;;;;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"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n\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"]}
@@ -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":";;;;;;;;;;;;;;;;;;;;;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"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n\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"]}
@@ -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":";;;;;;;;;;;;;;;;;;;;;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"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Payload.ts","../../src/Schema.ts","../../src/Plugin.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\n\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/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.4",
14
- "@xyo-network/payload-plugin": "~2.107.4"
13
+ "@xyo-network/payload-model": "^2.107.6",
14
+ "@xyo-network/payload-plugin": "^2.107.6"
15
15
  },
16
16
  "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^3.11.10",
18
- "@xylabs/tsconfig": "^3.11.10",
17
+ "@xylabs/ts-scripts-yarn3": "^3.11.12",
18
+ "@xylabs/tsconfig": "^3.11.12",
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.4",
60
+ "version": "2.107.6",
61
61
  "type": "module"
62
62
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './Payload'
2
- // eslint-disable-next-line import/no-default-export
2
+
3
3
  export { IdPayloadPlugin as default, IdPayloadPlugin } from './Plugin'
4
4
  export * from './Schema'
5
5
  export * from './Template'