@xyo-network/url-payload-plugin 3.0.3 → 3.0.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.
@@ -0,0 +1,11 @@
1
+ import type { Payload } from '@xyo-network/payload-model';
2
+ import { UrlSchema } from './Schema.ts';
3
+ export type UrlPayload = Payload<{
4
+ schema: UrlSchema;
5
+ url: string;
6
+ }>;
7
+ export declare const isUrlPayload: (x?: unknown | null) => x is import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
+ schema: UrlSchema;
9
+ url: string;
10
+ };
11
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC;IAC/B,MAAM,EAAE,SAAS,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAC,CAAA;AAEF,eAAO,MAAM,YAAY;YAJf,SAAS;SACZ,MAAM;CAG2D,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { UrlSchema } from './Schema.ts';
2
+ export declare const UrlPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
3
+ schema: UrlSchema;
4
+ url: string;
5
+ }>;
6
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,eAAO,MAAM,gBAAgB;;;EAIzB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const UrlSchema = "network.xyo.url";
2
+ export type UrlSchema = typeof UrlSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,oBAAoB,CAAA;AAC1C,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { UrlPayload } from './Payload.ts';
2
+ export declare const urlPayloadTemplate: () => UrlPayload;
3
+ //# sourceMappingURL=Template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAG9C,eAAO,MAAM,kBAAkB,QAAO,UAGpC,CAAA"}
@@ -1,24 +1,5 @@
1
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
2
- import { Payload } from '@xyo-network/payload-model';
3
- import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
4
-
5
- declare const UrlSchema = "network.xyo.url";
6
- type UrlSchema = typeof UrlSchema;
7
-
8
- type UrlPayload = Payload<{
9
- schema: UrlSchema;
10
- url: string;
11
- }>;
12
- declare const isUrlPayload: (x?: unknown | null) => x is _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
13
- schema: UrlSchema;
14
- url: string;
15
- };
16
-
17
- declare const UrlPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
18
- schema: UrlSchema;
19
- url: string;
20
- }>;
21
-
22
- declare const urlPayloadTemplate: () => UrlPayload;
23
-
24
- export { type UrlPayload, UrlPayloadPlugin, UrlSchema, UrlPayloadPlugin as default, isUrlPayload, urlPayloadTemplate };
1
+ export * from './Payload.ts';
2
+ export { UrlPayloadPlugin as default, UrlPayloadPlugin } from './Plugin.ts';
3
+ export * from './Schema.ts';
4
+ export * from './Template.ts';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAE5B,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3E,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@xyo-network/url-payload-plugin",
3
- "author": {
4
- "email": "support@xyo.network",
5
- "name": "XYO Development Team",
6
- "url": "https://xyo.network"
7
- },
3
+ "version": "3.0.4",
4
+ "description": "Typescript/Javascript Plugins for XYO Platform",
5
+ "homepage": "https://xyo.network",
8
6
  "bugs": {
9
- "email": "support@xyo.network",
10
- "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
7
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues",
8
+ "email": "support@xyo.network"
11
9
  },
12
- "dependencies": {
13
- "@xyo-network/payload-model": "^3.0.3",
14
- "@xyo-network/payload-plugin": "^3.0.3"
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
15
13
  },
16
- "devDependencies": {
17
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
18
- "@xylabs/tsconfig": "^4.0.0-rc.20",
19
- "typescript": "^5.5.4"
14
+ "license": "LGPL-3.0-only",
15
+ "author": {
16
+ "name": "XYO Development Team",
17
+ "email": "support@xyo.network",
18
+ "url": "https://xyo.network"
20
19
  },
21
- "description": "Typescript/Javascript Plugins for XYO Platform",
20
+ "sideEffects": false,
21
+ "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
@@ -28,16 +28,16 @@
28
28
  },
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
- "homepage": "https://xyo.network",
32
- "license": "LGPL-3.0-only",
33
- "publishConfig": {
34
- "access": "public"
31
+ "dependencies": {
32
+ "@xyo-network/payload-model": "^3.0.10",
33
+ "@xyo-network/payload-plugin": "^3.0.10"
35
34
  },
36
- "repository": {
37
- "type": "git",
38
- "url": "git+https://github.com/XYOracleNetwork/plugins.git"
35
+ "devDependencies": {
36
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
37
+ "@xylabs/tsconfig": "^4.0.7",
38
+ "typescript": "^5.5.4"
39
39
  },
40
- "sideEffects": false,
41
- "version": "3.0.3",
42
- "type": "module"
40
+ "publishConfig": {
41
+ "access": "public"
42
+ }
43
43
  }
package/xy.config.ts CHANGED
@@ -2,9 +2,7 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},
5
- neutral: {
6
- src: true,
7
- },
5
+ neutral: { src: true },
8
6
  node: {},
9
7
  },
10
8
  }