@xyo-network/url-safety-payload-plugin 2.73.4 → 2.74.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.
@@ -0,0 +1,8 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { UrlPayload } from '@xyo-network/url-payload-plugin';
3
+ import { UrlSafetySchema } from './Schema';
4
+ export type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED';
5
+ export type UrlSafetyPayload = Payload<Omit<UrlPayload, 'schema'> & {
6
+ threatTypes?: UrlSafetyThreatType[];
7
+ }, UrlSafetySchema>;
8
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG,iCAAiC,GAAG,mBAAmB,GAAG,yBAAyB,CAAA;AAE5I,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG;IAC3B,WAAW,CAAC,EAAE,mBAAmB,EAAE,CAAA;CACpC,EACD,eAAe,CAChB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { Payload } from '@xyo-network/payload-model';
2
+ import { UrlPayload } from '@xyo-network/url-payload-plugin';
3
+ import { UrlSafetySchema } from './Schema';
4
+ export type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED';
5
+ export type UrlSafetyPayload = Payload<Omit<UrlPayload, 'schema'> & {
6
+ threatTypes?: UrlSafetyThreatType[];
7
+ }, UrlSafetySchema>;
8
+ //# sourceMappingURL=Payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,GAAG,iCAAiC,GAAG,mBAAmB,GAAG,yBAAyB,CAAA;AAE5I,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG;IAC3B,WAAW,CAAC,EAAE,mBAAmB,EAAE,CAAA;CACpC,EACD,eAAe,CAChB,CAAA"}
@@ -0,0 +1,9 @@
1
+ export declare const UrlSafetyPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
2
+ schema: "network.xyo.url";
3
+ url: string;
4
+ }, "schema"> & {
5
+ threatTypes?: import("./Payload").UrlSafetyThreatType[] | undefined;
6
+ } & {
7
+ schema: "network.xyo.url.safety";
8
+ }>;
9
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB;;;;;;;EAG/B,CAAA"}
@@ -0,0 +1,9 @@
1
+ export declare const UrlSafetyPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
2
+ schema: "network.xyo.url";
3
+ url: string;
4
+ }, "schema"> & {
5
+ threatTypes?: import("./Payload").UrlSafetyThreatType[] | undefined;
6
+ } & {
7
+ schema: "network.xyo.url.safety";
8
+ }>;
9
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,sBAAsB;;;;;;;EAG/B,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const UrlSafetySchema = "network.xyo.url.safety";
2
+ export type UrlSafetySchema = typeof UrlSafetySchema;
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,eAAe,2BAA2B,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const UrlSafetySchema = "network.xyo.url.safety";
2
+ export type UrlSafetySchema = typeof UrlSafetySchema;
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,eAAe,2BAA2B,CAAA;AACvD,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAA"}
package/dist/index.d.mts CHANGED
@@ -1,25 +1,6 @@
1
- import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
2
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { UrlPayload } from '@xyo-network/url-payload-plugin';
5
-
6
- declare const UrlSafetySchema = "network.xyo.url.safety";
7
- type UrlSafetySchema = typeof UrlSafetySchema;
8
-
9
- type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED';
10
- type UrlSafetyPayload = Payload<Omit<UrlPayload, 'schema'> & {
11
- threatTypes?: UrlSafetyThreatType[];
12
- }, UrlSafetySchema>;
13
-
14
- declare const UrlSafetyPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
15
- schema: "network.xyo.url";
16
- url: string;
17
- } & {
18
- schema: "network.xyo.url";
19
- }, "schema"> & {
20
- threatTypes?: UrlSafetyThreatType[] | undefined;
21
- } & {
22
- schema: "network.xyo.url.safety";
23
- }>;
24
-
25
- export { UrlSafetyPayload, UrlSafetyPayloadPlugin, UrlSafetySchema, UrlSafetyThreatType, UrlSafetyPayloadPlugin as default };
1
+ import { UrlSafetyPayloadPlugin } from './Plugin';
2
+ export * from './Payload';
3
+ export * from './Schema';
4
+ export { UrlSafetyPayloadPlugin };
5
+ export default UrlSafetyPayloadPlugin;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAGjC,eAAe,sBAAsB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,25 +1,6 @@
1
- import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
2
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { UrlPayload } from '@xyo-network/url-payload-plugin';
5
-
6
- declare const UrlSafetySchema = "network.xyo.url.safety";
7
- type UrlSafetySchema = typeof UrlSafetySchema;
8
-
9
- type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED';
10
- type UrlSafetyPayload = Payload<Omit<UrlPayload, 'schema'> & {
11
- threatTypes?: UrlSafetyThreatType[];
12
- }, UrlSafetySchema>;
13
-
14
- declare const UrlSafetyPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
15
- schema: "network.xyo.url";
16
- url: string;
17
- } & {
18
- schema: "network.xyo.url";
19
- }, "schema"> & {
20
- threatTypes?: UrlSafetyThreatType[] | undefined;
21
- } & {
22
- schema: "network.xyo.url.safety";
23
- }>;
24
-
25
- export { UrlSafetyPayload, UrlSafetyPayloadPlugin, UrlSafetySchema, UrlSafetyThreatType, UrlSafetyPayloadPlugin as default };
1
+ import { UrlSafetyPayloadPlugin } from './Plugin';
2
+ export * from './Payload';
3
+ export * from './Schema';
4
+ export { UrlSafetyPayloadPlugin };
5
+ export default UrlSafetyPayloadPlugin;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEjD,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,sBAAsB,EAAE,CAAA;AAGjC,eAAe,sBAAsB,CAAA"}
package/package.json CHANGED
@@ -10,21 +10,15 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/payload-model": "~2.73.4",
14
- "@xyo-network/payload-plugin": "~2.73.4",
15
- "@xyo-network/url-payload-plugin": "~2.73.4"
13
+ "@xyo-network/payload-model": "~2.74.0",
14
+ "@xyo-network/payload-plugin": "~2.74.0",
15
+ "@xyo-network/url-payload-plugin": "~2.74.0"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
19
- "@xylabs/tsconfig": "^2.19.12",
20
- "publint": "^0.2.2",
21
- "tsup": "^7.2.0",
18
+ "@xylabs/ts-scripts-yarn3": "^3.0.27",
19
+ "@xylabs/tsconfig": "^3.0.27",
22
20
  "typescript": "^5.2.2"
23
21
  },
24
- "scripts": {
25
- "package-compile": "tsup && publint",
26
- "package-recompile": "tsup && publint"
27
- },
28
22
  "description": "Primary SDK for using XYO Protocol 2.0",
29
23
  "docs": "dist/docs.json",
30
24
  "exports": {
@@ -38,18 +32,9 @@
38
32
  "default": "./dist/index.mjs"
39
33
  }
40
34
  },
41
- "./dist/docs.json": {
42
- "default": "./dist/docs.json"
43
- },
44
- "./cjs": {
45
- "default": "./dist/index.js"
46
- },
47
35
  "./docs": {
48
36
  "default": "./dist/docs.json"
49
37
  },
50
- "./esm": {
51
- "default": "./dist/index.mjs"
52
- },
53
38
  "./package.json": "./package.json"
54
39
  },
55
40
  "main": "dist/index.js",
@@ -65,5 +50,5 @@
65
50
  },
66
51
  "sideEffects": false,
67
52
  "types": "dist/index.d.ts",
68
- "version": "2.73.4"
53
+ "version": "2.74.0"
69
54
  }
package/dist/docs.json DELETED
@@ -1,659 +0,0 @@
1
- {
2
- "id": 0,
3
- "name": "@xyo-network/url-safety-payload-plugin",
4
- "variant": "project",
5
- "kind": 1,
6
- "flags": {},
7
- "children": [
8
- {
9
- "id": 18,
10
- "name": "default",
11
- "variant": "reference",
12
- "kind": 8388608,
13
- "flags": {},
14
- "sources": [
15
- {
16
- "fileName": "plugins/packages/payload/packages/url-safety/src/index.ts",
17
- "line": 9,
18
- "character": 0,
19
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/index.ts#L9"
20
- }
21
- ],
22
- "target": 1
23
- },
24
- {
25
- "id": 13,
26
- "name": "UrlSafetyPayload",
27
- "variant": "declaration",
28
- "kind": 4194304,
29
- "flags": {},
30
- "sources": [
31
- {
32
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
33
- "line": 8,
34
- "character": 12,
35
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L8"
36
- }
37
- ],
38
- "type": {
39
- "type": "reference",
40
- "target": {
41
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
42
- "qualifiedName": "Payload"
43
- },
44
- "typeArguments": [
45
- {
46
- "type": "intersection",
47
- "types": [
48
- {
49
- "type": "reference",
50
- "target": {
51
- "sourceFileName": "../../../../../../node_modules/typescript/lib/lib.es5.d.ts",
52
- "qualifiedName": "Omit"
53
- },
54
- "typeArguments": [
55
- {
56
- "type": "reference",
57
- "target": {
58
- "sourceFileName": "../url/dist/index.d.ts",
59
- "qualifiedName": "UrlPayload"
60
- },
61
- "name": "UrlPayload",
62
- "package": "@xyo-network/url-payload-plugin"
63
- },
64
- {
65
- "type": "literal",
66
- "value": "schema"
67
- }
68
- ],
69
- "name": "Omit",
70
- "package": "typescript"
71
- },
72
- {
73
- "type": "reflection",
74
- "declaration": {
75
- "id": 14,
76
- "name": "__type",
77
- "variant": "declaration",
78
- "kind": 65536,
79
- "flags": {},
80
- "children": [
81
- {
82
- "id": 15,
83
- "name": "threatTypes",
84
- "variant": "declaration",
85
- "kind": 1024,
86
- "flags": {
87
- "isOptional": true
88
- },
89
- "sources": [
90
- {
91
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
92
- "line": 10,
93
- "character": 4,
94
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L10"
95
- }
96
- ],
97
- "type": {
98
- "type": "array",
99
- "elementType": {
100
- "type": "reference",
101
- "target": 12,
102
- "name": "UrlSafetyThreatType",
103
- "package": "@xyo-network/url-safety-payload-plugin"
104
- }
105
- }
106
- }
107
- ],
108
- "groups": [
109
- {
110
- "title": "Properties",
111
- "children": [
112
- 15
113
- ]
114
- }
115
- ],
116
- "sources": [
117
- {
118
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
119
- "line": 9,
120
- "character": 31,
121
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L9"
122
- }
123
- ]
124
- }
125
- }
126
- ]
127
- },
128
- {
129
- "type": "reference",
130
- "target": 16,
131
- "name": "UrlSafetySchema",
132
- "package": "@xyo-network/url-safety-payload-plugin"
133
- }
134
- ],
135
- "name": "Payload",
136
- "package": "@xyo-network/payload-model"
137
- }
138
- },
139
- {
140
- "id": 17,
141
- "name": "UrlSafetySchema",
142
- "variant": "declaration",
143
- "kind": 4194304,
144
- "flags": {},
145
- "sources": [
146
- {
147
- "fileName": "plugins/packages/payload/packages/url-safety/src/Schema.ts",
148
- "line": 1,
149
- "character": 13,
150
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Schema.ts#L1"
151
- },
152
- {
153
- "fileName": "plugins/packages/payload/packages/url-safety/src/Schema.ts",
154
- "line": 2,
155
- "character": 12,
156
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Schema.ts#L2"
157
- }
158
- ],
159
- "type": {
160
- "type": "query",
161
- "queryType": {
162
- "type": "reference",
163
- "target": 16,
164
- "name": "UrlSafetySchema",
165
- "package": "@xyo-network/url-safety-payload-plugin"
166
- }
167
- }
168
- },
169
- {
170
- "id": 12,
171
- "name": "UrlSafetyThreatType",
172
- "variant": "declaration",
173
- "kind": 4194304,
174
- "flags": {},
175
- "sources": [
176
- {
177
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
178
- "line": 6,
179
- "character": 12,
180
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L6"
181
- }
182
- ],
183
- "type": {
184
- "type": "union",
185
- "types": [
186
- {
187
- "type": "literal",
188
- "value": "SOCIAL_ENGINEERING"
189
- },
190
- {
191
- "type": "literal",
192
- "value": "POTENTIALLY_HARMFUL_APPLICATION"
193
- },
194
- {
195
- "type": "literal",
196
- "value": "UNWANTED_SOFTWARE"
197
- },
198
- {
199
- "type": "literal",
200
- "value": "THREAT_TYPE_UNSPECIFIED"
201
- }
202
- ]
203
- }
204
- },
205
- {
206
- "id": 16,
207
- "name": "UrlSafetySchema",
208
- "variant": "declaration",
209
- "kind": 32,
210
- "flags": {
211
- "isConst": true
212
- },
213
- "sources": [
214
- {
215
- "fileName": "plugins/packages/payload/packages/url-safety/src/Schema.ts",
216
- "line": 1,
217
- "character": 13,
218
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Schema.ts#L1"
219
- },
220
- {
221
- "fileName": "plugins/packages/payload/packages/url-safety/src/Schema.ts",
222
- "line": 2,
223
- "character": 12,
224
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Schema.ts#L2"
225
- }
226
- ],
227
- "type": {
228
- "type": "literal",
229
- "value": "network.xyo.url.safety"
230
- },
231
- "defaultValue": "'network.xyo.url.safety'"
232
- },
233
- {
234
- "id": 1,
235
- "name": "UrlSafetyPayloadPlugin",
236
- "variant": "declaration",
237
- "kind": 64,
238
- "flags": {},
239
- "sources": [
240
- {
241
- "fileName": "plugins/packages/payload/packages/url-safety/src/Plugin.ts",
242
- "line": 6,
243
- "character": 13,
244
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Plugin.ts#L6"
245
- }
246
- ],
247
- "signatures": [
248
- {
249
- "id": 2,
250
- "name": "UrlSafetyPayloadPlugin",
251
- "variant": "signature",
252
- "kind": 4096,
253
- "flags": {},
254
- "sources": [
255
- {
256
- "fileName": "plugins/packages/payload/packages/url-safety/src/Plugin.ts",
257
- "line": 6,
258
- "character": 38,
259
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Plugin.ts#L6"
260
- }
261
- ],
262
- "type": {
263
- "type": "reference",
264
- "target": {
265
- "sourceFileName": "../../../../../sdk/packages/payload-plugin/dist/index.d.ts",
266
- "qualifiedName": "PayloadPlugin"
267
- },
268
- "typeArguments": [
269
- {
270
- "type": "intersection",
271
- "types": [
272
- {
273
- "type": "reference",
274
- "target": {
275
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
276
- "qualifiedName": "SchemaFields"
277
- },
278
- "name": "SchemaFields",
279
- "package": "@xyo-network/payload-model"
280
- },
281
- {
282
- "type": "reference",
283
- "target": {
284
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
285
- "qualifiedName": "PayloadFields"
286
- },
287
- "name": "PayloadFields",
288
- "package": "@xyo-network/payload-model"
289
- },
290
- {
291
- "type": "reference",
292
- "target": {
293
- "sourceFileName": "../../../../../../node_modules/typescript/lib/lib.es5.d.ts",
294
- "qualifiedName": "Omit"
295
- },
296
- "typeArguments": [
297
- {
298
- "type": "intersection",
299
- "types": [
300
- {
301
- "type": "reference",
302
- "target": {
303
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
304
- "qualifiedName": "SchemaFields"
305
- },
306
- "name": "SchemaFields",
307
- "package": "@xyo-network/payload-model"
308
- },
309
- {
310
- "type": "reference",
311
- "target": {
312
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
313
- "qualifiedName": "PayloadFields"
314
- },
315
- "name": "PayloadFields",
316
- "package": "@xyo-network/payload-model"
317
- },
318
- {
319
- "type": "reflection",
320
- "declaration": {
321
- "id": 3,
322
- "name": "__type",
323
- "variant": "declaration",
324
- "kind": 65536,
325
- "flags": {},
326
- "children": [
327
- {
328
- "id": 4,
329
- "name": "schema",
330
- "variant": "declaration",
331
- "kind": 1024,
332
- "flags": {},
333
- "sources": [
334
- {
335
- "fileName": "plugins/packages/payload/packages/url/dist/index.d.ts",
336
- "line": 16,
337
- "character": 4
338
- }
339
- ],
340
- "type": {
341
- "type": "literal",
342
- "value": "network.xyo.url"
343
- }
344
- },
345
- {
346
- "id": 5,
347
- "name": "url",
348
- "variant": "declaration",
349
- "kind": 1024,
350
- "flags": {},
351
- "sources": [
352
- {
353
- "fileName": "plugins/packages/payload/packages/url/dist/index.d.ts",
354
- "line": 17,
355
- "character": 4
356
- }
357
- ],
358
- "type": {
359
- "type": "intrinsic",
360
- "name": "string"
361
- }
362
- }
363
- ],
364
- "groups": [
365
- {
366
- "title": "Properties",
367
- "children": [
368
- 4,
369
- 5
370
- ]
371
- }
372
- ],
373
- "sources": [
374
- {
375
- "fileName": "plugins/packages/payload/packages/url/dist/index.d.ts",
376
- "line": 15,
377
- "character": 26
378
- }
379
- ]
380
- }
381
- },
382
- {
383
- "type": "reflection",
384
- "declaration": {
385
- "id": 6,
386
- "name": "__type",
387
- "variant": "declaration",
388
- "kind": 65536,
389
- "flags": {},
390
- "children": [
391
- {
392
- "id": 7,
393
- "name": "schema",
394
- "variant": "declaration",
395
- "kind": 1024,
396
- "flags": {},
397
- "sources": [
398
- {
399
- "fileName": "protocol/packages/payload/packages/model/dist/index.d.ts",
400
- "line": 17,
401
- "character": 4
402
- }
403
- ],
404
- "type": {
405
- "type": "literal",
406
- "value": "network.xyo.url"
407
- }
408
- }
409
- ],
410
- "groups": [
411
- {
412
- "title": "Properties",
413
- "children": [
414
- 7
415
- ]
416
- }
417
- ],
418
- "sources": [
419
- {
420
- "fileName": "protocol/packages/payload/packages/model/dist/index.d.ts",
421
- "line": 16,
422
- "character": 171
423
- }
424
- ]
425
- }
426
- }
427
- ]
428
- },
429
- {
430
- "type": "literal",
431
- "value": "schema"
432
- }
433
- ],
434
- "name": "Omit",
435
- "package": "typescript"
436
- },
437
- {
438
- "type": "reflection",
439
- "declaration": {
440
- "id": 8,
441
- "name": "__type",
442
- "variant": "declaration",
443
- "kind": 65536,
444
- "flags": {},
445
- "children": [
446
- {
447
- "id": 9,
448
- "name": "threatTypes",
449
- "variant": "declaration",
450
- "kind": 1024,
451
- "flags": {
452
- "isOptional": true
453
- },
454
- "sources": [
455
- {
456
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
457
- "line": 10,
458
- "character": 4,
459
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L10"
460
- }
461
- ],
462
- "type": {
463
- "type": "array",
464
- "elementType": {
465
- "type": "reference",
466
- "target": 12,
467
- "name": "UrlSafetyThreatType",
468
- "package": "@xyo-network/url-safety-payload-plugin"
469
- }
470
- }
471
- }
472
- ],
473
- "groups": [
474
- {
475
- "title": "Properties",
476
- "children": [
477
- 9
478
- ]
479
- }
480
- ],
481
- "sources": [
482
- {
483
- "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
484
- "line": 9,
485
- "character": 31,
486
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/899ce501d2fd1/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L9"
487
- }
488
- ]
489
- }
490
- },
491
- {
492
- "type": "reflection",
493
- "declaration": {
494
- "id": 10,
495
- "name": "__type",
496
- "variant": "declaration",
497
- "kind": 65536,
498
- "flags": {},
499
- "children": [
500
- {
501
- "id": 11,
502
- "name": "schema",
503
- "variant": "declaration",
504
- "kind": 1024,
505
- "flags": {},
506
- "sources": [
507
- {
508
- "fileName": "protocol/packages/payload/packages/model/dist/index.d.ts",
509
- "line": 17,
510
- "character": 4
511
- }
512
- ],
513
- "type": {
514
- "type": "literal",
515
- "value": "network.xyo.url.safety"
516
- }
517
- }
518
- ],
519
- "groups": [
520
- {
521
- "title": "Properties",
522
- "children": [
523
- 11
524
- ]
525
- }
526
- ],
527
- "sources": [
528
- {
529
- "fileName": "protocol/packages/payload/packages/model/dist/index.d.ts",
530
- "line": 16,
531
- "character": 171
532
- }
533
- ]
534
- }
535
- }
536
- ]
537
- }
538
- ],
539
- "name": "PayloadPlugin",
540
- "package": "@xyo-network/payload-plugin"
541
- }
542
- }
543
- ]
544
- }
545
- ],
546
- "groups": [
547
- {
548
- "title": "References",
549
- "children": [
550
- 18
551
- ]
552
- },
553
- {
554
- "title": "Type Aliases",
555
- "children": [
556
- 13,
557
- 17,
558
- 12
559
- ]
560
- },
561
- {
562
- "title": "Variables",
563
- "children": [
564
- 16
565
- ]
566
- },
567
- {
568
- "title": "Functions",
569
- "children": [
570
- 1
571
- ]
572
- }
573
- ],
574
- "packageName": "@xyo-network/url-safety-payload-plugin",
575
- "readme": [
576
- {
577
- "kind": "text",
578
- "text": "[![logo][]](https://xyo.network)\n\nPart of [sdk-xyo-clint-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
579
- }
580
- ],
581
- "symbolIdMap": {
582
- "0": {
583
- "sourceFileName": "src/index.ts",
584
- "qualifiedName": ""
585
- },
586
- "1": {
587
- "sourceFileName": "src/Plugin.ts",
588
- "qualifiedName": "UrlSafetyPayloadPlugin"
589
- },
590
- "2": {
591
- "sourceFileName": "src/Plugin.ts",
592
- "qualifiedName": "UrlSafetyPayloadPlugin"
593
- },
594
- "3": {
595
- "sourceFileName": "../url/dist/index.d.ts",
596
- "qualifiedName": "__type"
597
- },
598
- "4": {
599
- "sourceFileName": "../url/dist/index.d.ts",
600
- "qualifiedName": "__type.schema"
601
- },
602
- "5": {
603
- "sourceFileName": "../url/dist/index.d.ts",
604
- "qualifiedName": "__type.url"
605
- },
606
- "6": {
607
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
608
- "qualifiedName": "__type"
609
- },
610
- "7": {
611
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
612
- "qualifiedName": "__type.schema"
613
- },
614
- "8": {
615
- "sourceFileName": "src/Payload.ts",
616
- "qualifiedName": "__type"
617
- },
618
- "9": {
619
- "sourceFileName": "src/Payload.ts",
620
- "qualifiedName": "__type.threatTypes"
621
- },
622
- "10": {
623
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
624
- "qualifiedName": "__type"
625
- },
626
- "11": {
627
- "sourceFileName": "../../../../../protocol/packages/payload/packages/model/dist/index.d.ts",
628
- "qualifiedName": "__type.schema"
629
- },
630
- "12": {
631
- "sourceFileName": "src/Payload.ts",
632
- "qualifiedName": "UrlSafetyThreatType"
633
- },
634
- "13": {
635
- "sourceFileName": "src/Payload.ts",
636
- "qualifiedName": "UrlSafetyPayload"
637
- },
638
- "14": {
639
- "sourceFileName": "src/Payload.ts",
640
- "qualifiedName": "__type"
641
- },
642
- "15": {
643
- "sourceFileName": "src/Payload.ts",
644
- "qualifiedName": "__type.threatTypes"
645
- },
646
- "16": {
647
- "sourceFileName": "src/Schema.ts",
648
- "qualifiedName": "UrlSafetySchema"
649
- },
650
- "17": {
651
- "sourceFileName": "src/Schema.ts",
652
- "qualifiedName": "UrlSafetySchema"
653
- },
654
- "18": {
655
- "sourceFileName": "src/index.ts",
656
- "qualifiedName": "default"
657
- }
658
- }
659
- }
package/tsup.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- // eslint-disable-next-line import/no-default-export
4
- export default defineConfig({
5
- bundle: true,
6
- cjsInterop: true,
7
- clean: false,
8
- dts: {
9
- entry: ['src/index.ts'],
10
- },
11
- entry: ['src/index.ts'],
12
- format: ['cjs', 'esm'],
13
- sourcemap: true,
14
- splitting: false,
15
- tsconfig: 'tsconfig.json',
16
- })