@xyo-network/url-safety-payload-plugin 2.75.0 → 2.75.2

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,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"}
@@ -1,11 +1,6 @@
1
- // src/Plugin.ts
2
1
  import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
-
4
- // src/Schema.ts
5
- var UrlSafetySchema = "network.xyo.url.safety";
6
-
7
- // src/Plugin.ts
8
- var UrlSafetyPayloadPlugin = () => createPayloadPlugin({
2
+ import { UrlSafetySchema } from "./Schema";
3
+ const UrlSafetyPayloadPlugin = () => createPayloadPlugin({
9
4
  schema: UrlSafetySchema
10
5
  });
11
6
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n"],"mappings":"AAAA,SAAS,2BAA2B;AAGpC,SAAS,uBAAuB;AAEzB,MAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
@@ -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"}
@@ -1,5 +1,4 @@
1
- // src/Schema.ts
2
- var UrlSafetySchema = "network.xyo.url.safety";
1
+ const UrlSafetySchema = "network.xyo.url.safety";
3
2
  export {
4
3
  UrlSafetySchema
5
4
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":"AAAO,MAAM,kBAAkB;","names":[]}
@@ -0,0 +1,6 @@
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"}
@@ -1,19 +1,9 @@
1
- // src/Plugin.ts
2
- import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
-
4
- // src/Schema.ts
5
- var UrlSafetySchema = "network.xyo.url.safety";
6
-
7
- // src/Plugin.ts
8
- var UrlSafetyPayloadPlugin = () => createPayloadPlugin({
9
- schema: UrlSafetySchema
10
- });
11
-
12
- // src/index.ts
1
+ import { UrlSafetyPayloadPlugin } from "./Plugin";
2
+ export * from "./Payload";
3
+ export * from "./Schema";
13
4
  var src_default = UrlSafetyPayloadPlugin;
14
5
  export {
15
6
  UrlSafetyPayloadPlugin,
16
- UrlSafetySchema,
17
7
  src_default as default
18
8
  };
19
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/index.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n","import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;;;AEAH,IAAO,cAAQ;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n"],"mappings":"AAAA,SAAS,8BAA8B;AAEvC,cAAc;AACd,cAAc;AAKd,IAAO,cAAQ;","names":[]}
package/dist/docs.json ADDED
@@ -0,0 +1,606 @@
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": 16,
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/9d69e27dd8f3e/packages/plugins/packages/payload/packages/url-safety/src/index.ts#L9"
20
+ }
21
+ ],
22
+ "target": 1
23
+ },
24
+ {
25
+ "id": 11,
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/9d69e27dd8f3e/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/src/Payload.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/src/Payload.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": 12,
76
+ "name": "__type",
77
+ "variant": "declaration",
78
+ "kind": 65536,
79
+ "flags": {},
80
+ "children": [
81
+ {
82
+ "id": 13,
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/9d69e27dd8f3e/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": 10,
102
+ "name": "UrlSafetyThreatType",
103
+ "package": "@xyo-network/url-safety-payload-plugin"
104
+ }
105
+ }
106
+ }
107
+ ],
108
+ "groups": [
109
+ {
110
+ "title": "Properties",
111
+ "children": [
112
+ 13
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/9d69e27dd8f3e/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L9"
122
+ }
123
+ ]
124
+ }
125
+ }
126
+ ]
127
+ },
128
+ {
129
+ "type": "reference",
130
+ "target": 14,
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": 15,
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/9d69e27dd8f3e/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/9d69e27dd8f3e/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": 14,
164
+ "name": "UrlSafetySchema",
165
+ "package": "@xyo-network/url-safety-payload-plugin"
166
+ }
167
+ }
168
+ },
169
+ {
170
+ "id": 10,
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/9d69e27dd8f3e/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": 14,
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/9d69e27dd8f3e/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/9d69e27dd8f3e/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/9d69e27dd8f3e/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/9d69e27dd8f3e/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/src/Plugin.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/src/Payload.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/src/Payload.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/src/Payload.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/src/Payload.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/node/Payload.d.ts",
336
+ "line": 4,
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/node/Payload.d.ts",
354
+ "line": 5,
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/node/Payload.d.ts",
376
+ "line": 3,
377
+ "character": 33
378
+ }
379
+ ]
380
+ }
381
+ }
382
+ ]
383
+ },
384
+ {
385
+ "type": "literal",
386
+ "value": "schema"
387
+ }
388
+ ],
389
+ "name": "Omit",
390
+ "package": "typescript"
391
+ },
392
+ {
393
+ "type": "reflection",
394
+ "declaration": {
395
+ "id": 6,
396
+ "name": "__type",
397
+ "variant": "declaration",
398
+ "kind": 65536,
399
+ "flags": {},
400
+ "children": [
401
+ {
402
+ "id": 7,
403
+ "name": "threatTypes",
404
+ "variant": "declaration",
405
+ "kind": 1024,
406
+ "flags": {
407
+ "isOptional": true
408
+ },
409
+ "sources": [
410
+ {
411
+ "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
412
+ "line": 10,
413
+ "character": 4,
414
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/9d69e27dd8f3e/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L10"
415
+ }
416
+ ],
417
+ "type": {
418
+ "type": "array",
419
+ "elementType": {
420
+ "type": "reference",
421
+ "target": 10,
422
+ "name": "UrlSafetyThreatType",
423
+ "package": "@xyo-network/url-safety-payload-plugin"
424
+ }
425
+ }
426
+ }
427
+ ],
428
+ "groups": [
429
+ {
430
+ "title": "Properties",
431
+ "children": [
432
+ 7
433
+ ]
434
+ }
435
+ ],
436
+ "sources": [
437
+ {
438
+ "fileName": "plugins/packages/payload/packages/url-safety/src/Payload.ts",
439
+ "line": 9,
440
+ "character": 31,
441
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/9d69e27dd8f3e/packages/plugins/packages/payload/packages/url-safety/src/Payload.ts#L9"
442
+ }
443
+ ]
444
+ }
445
+ },
446
+ {
447
+ "type": "reflection",
448
+ "declaration": {
449
+ "id": 8,
450
+ "name": "__type",
451
+ "variant": "declaration",
452
+ "kind": 65536,
453
+ "flags": {},
454
+ "children": [
455
+ {
456
+ "id": 9,
457
+ "name": "schema",
458
+ "variant": "declaration",
459
+ "kind": 1024,
460
+ "flags": {},
461
+ "sources": [
462
+ {
463
+ "fileName": "protocol/packages/payload/packages/model/dist/node/Payload.d.ts",
464
+ "line": 19,
465
+ "character": 4
466
+ }
467
+ ],
468
+ "type": {
469
+ "type": "literal",
470
+ "value": "network.xyo.url.safety"
471
+ }
472
+ }
473
+ ],
474
+ "groups": [
475
+ {
476
+ "title": "Properties",
477
+ "children": [
478
+ 9
479
+ ]
480
+ }
481
+ ],
482
+ "sources": [
483
+ {
484
+ "fileName": "protocol/packages/payload/packages/model/dist/node/Payload.d.ts",
485
+ "line": 18,
486
+ "character": 92
487
+ }
488
+ ]
489
+ }
490
+ }
491
+ ]
492
+ }
493
+ ],
494
+ "name": "PayloadPlugin",
495
+ "package": "@xyo-network/payload-plugin"
496
+ }
497
+ }
498
+ ]
499
+ }
500
+ ],
501
+ "groups": [
502
+ {
503
+ "title": "References",
504
+ "children": [
505
+ 16
506
+ ]
507
+ },
508
+ {
509
+ "title": "Type Aliases",
510
+ "children": [
511
+ 11,
512
+ 15,
513
+ 10
514
+ ]
515
+ },
516
+ {
517
+ "title": "Variables",
518
+ "children": [
519
+ 14
520
+ ]
521
+ },
522
+ {
523
+ "title": "Functions",
524
+ "children": [
525
+ 1
526
+ ]
527
+ }
528
+ ],
529
+ "packageName": "@xyo-network/url-safety-payload-plugin",
530
+ "readme": [
531
+ {
532
+ "kind": "text",
533
+ "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"
534
+ }
535
+ ],
536
+ "symbolIdMap": {
537
+ "0": {
538
+ "sourceFileName": "src/index.ts",
539
+ "qualifiedName": ""
540
+ },
541
+ "1": {
542
+ "sourceFileName": "src/Plugin.ts",
543
+ "qualifiedName": "UrlSafetyPayloadPlugin"
544
+ },
545
+ "2": {
546
+ "sourceFileName": "src/Plugin.ts",
547
+ "qualifiedName": "UrlSafetyPayloadPlugin"
548
+ },
549
+ "3": {
550
+ "sourceFileName": "../url/src/Payload.ts",
551
+ "qualifiedName": "__type"
552
+ },
553
+ "4": {
554
+ "sourceFileName": "../url/src/Payload.ts",
555
+ "qualifiedName": "__type.schema"
556
+ },
557
+ "5": {
558
+ "sourceFileName": "../url/src/Payload.ts",
559
+ "qualifiedName": "__type.url"
560
+ },
561
+ "6": {
562
+ "sourceFileName": "src/Payload.ts",
563
+ "qualifiedName": "__type"
564
+ },
565
+ "7": {
566
+ "sourceFileName": "src/Payload.ts",
567
+ "qualifiedName": "__type.threatTypes"
568
+ },
569
+ "8": {
570
+ "sourceFileName": "../../../../../protocol/packages/payload/packages/model/src/Payload.ts",
571
+ "qualifiedName": "__type"
572
+ },
573
+ "9": {
574
+ "sourceFileName": "../../../../../protocol/packages/payload/packages/model/src/Payload.ts",
575
+ "qualifiedName": "__type.schema"
576
+ },
577
+ "10": {
578
+ "sourceFileName": "src/Payload.ts",
579
+ "qualifiedName": "UrlSafetyThreatType"
580
+ },
581
+ "11": {
582
+ "sourceFileName": "src/Payload.ts",
583
+ "qualifiedName": "UrlSafetyPayload"
584
+ },
585
+ "12": {
586
+ "sourceFileName": "src/Payload.ts",
587
+ "qualifiedName": "__type"
588
+ },
589
+ "13": {
590
+ "sourceFileName": "src/Payload.ts",
591
+ "qualifiedName": "__type.threatTypes"
592
+ },
593
+ "14": {
594
+ "sourceFileName": "src/Schema.ts",
595
+ "qualifiedName": "UrlSafetySchema"
596
+ },
597
+ "15": {
598
+ "sourceFileName": "src/Schema.ts",
599
+ "qualifiedName": "UrlSafetySchema"
600
+ },
601
+ "16": {
602
+ "sourceFileName": "src/index.ts",
603
+ "qualifiedName": "default"
604
+ }
605
+ }
606
+ }
@@ -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"}
@@ -12,6 +12,8 @@ var __copyProps = (to, from, except, desc) => {
12
12
  return to;
13
13
  };
14
14
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/Payload.ts
15
17
  var Payload_exports = {};
16
18
  module.exports = __toCommonJS(Payload_exports);
17
19
  //# sourceMappingURL=Payload.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { UrlPayload } from '@xyo-network/url-payload-plugin'\n\nimport { UrlSafetySchema } from './Schema'\n\nexport type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED'\n\nexport type UrlSafetyPayload = Payload<\n Omit<UrlPayload, 'schema'> & {\n threatTypes?: UrlSafetyThreatType[]\n },\n UrlSafetySchema\n>\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { UrlPayload } from '@xyo-network/url-payload-plugin'\n\nimport { UrlSafetySchema } from './Schema'\n\nexport type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED'\n\nexport type UrlSafetyPayload = Payload<\n Omit<UrlPayload, 'schema'> & {\n threatTypes?: UrlSafetyThreatType[]\n },\n UrlSafetySchema\n>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
@@ -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"}
@@ -16,15 +16,21 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/Plugin.ts
19
21
  var Plugin_exports = {};
20
22
  __export(Plugin_exports, {
21
23
  UrlSafetyPayloadPlugin: () => UrlSafetyPayloadPlugin
22
24
  });
23
25
  module.exports = __toCommonJS(Plugin_exports);
24
26
  var import_payload_plugin = require("@xyo-network/payload-plugin");
25
- var import_Schema = require("./Schema");
26
- const UrlSafetyPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
27
- schema: import_Schema.UrlSafetySchema
27
+
28
+ // src/Schema.ts
29
+ var UrlSafetySchema = "network.xyo.url.safety";
30
+
31
+ // src/Plugin.ts
32
+ var UrlSafetyPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
33
+ schema: UrlSafetySchema
28
34
  });
29
35
  // Annotate the CommonJS export names for ESM import in node:
30
36
  0 && (module.exports = {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAoC;AAGpC,oBAAgC;AAEzB,MAAM,yBAAyB,UACpC,2CAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAoC;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,UACpC,2CAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
@@ -1,6 +1,11 @@
1
+ // src/Plugin.ts
1
2
  import { createPayloadPlugin } from "@xyo-network/payload-plugin";
2
- import { UrlSafetySchema } from "./Schema";
3
- const UrlSafetyPayloadPlugin = () => createPayloadPlugin({
3
+
4
+ // src/Schema.ts
5
+ var UrlSafetySchema = "network.xyo.url.safety";
6
+
7
+ // src/Plugin.ts
8
+ var UrlSafetyPayloadPlugin = () => createPayloadPlugin({
4
9
  schema: UrlSafetySchema
5
10
  });
6
11
  export {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Plugin.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n"],"mappings":"AAAA,SAAS,2BAA2B;AAGpC,SAAS,uBAAuB;AAEzB,MAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;","names":[]}
@@ -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"}
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  return to;
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/Schema.ts
19
21
  var Schema_exports = {};
20
22
  __export(Schema_exports, {
21
23
  UrlSafetySchema: () => UrlSafetySchema
22
24
  });
23
25
  module.exports = __toCommonJS(Schema_exports);
24
- const UrlSafetySchema = "network.xyo.url.safety";
26
+ var UrlSafetySchema = "network.xyo.url.safety";
25
27
  // Annotate the CommonJS export names for ESM import in node:
26
28
  0 && (module.exports = {
27
29
  UrlSafetySchema
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,kBAAkB;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAM,kBAAkB;","names":[]}
@@ -1,4 +1,5 @@
1
- const UrlSafetySchema = "network.xyo.url.safety";
1
+ // src/Schema.ts
2
+ var UrlSafetySchema = "network.xyo.url.safety";
2
3
  export {
3
4
  UrlSafetySchema
4
5
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":"AAAO,MAAM,kBAAkB;","names":[]}
1
+ {"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
@@ -0,0 +1,6 @@
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"}
@@ -15,22 +15,33 @@ var __copyProps = (to, from, except, desc) => {
15
15
  }
16
16
  return to;
17
17
  };
18
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
19
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
20
21
  var src_exports = {};
21
22
  __export(src_exports, {
22
- UrlSafetyPayloadPlugin: () => import_Plugin.UrlSafetyPayloadPlugin,
23
+ UrlSafetyPayloadPlugin: () => UrlSafetyPayloadPlugin,
24
+ UrlSafetySchema: () => UrlSafetySchema,
23
25
  default: () => src_default
24
26
  });
25
27
  module.exports = __toCommonJS(src_exports);
26
- var import_Plugin = require("./Plugin");
27
- __reExport(src_exports, require("./Payload"), module.exports);
28
- __reExport(src_exports, require("./Schema"), module.exports);
29
- var src_default = import_Plugin.UrlSafetyPayloadPlugin;
28
+
29
+ // src/Plugin.ts
30
+ var import_payload_plugin = require("@xyo-network/payload-plugin");
31
+
32
+ // src/Schema.ts
33
+ var UrlSafetySchema = "network.xyo.url.safety";
34
+
35
+ // src/Plugin.ts
36
+ var UrlSafetyPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
37
+ schema: UrlSafetySchema
38
+ });
39
+
40
+ // src/index.ts
41
+ var src_default = UrlSafetyPayloadPlugin;
30
42
  // Annotate the CommonJS export names for ESM import in node:
31
43
  0 && (module.exports = {
32
44
  UrlSafetyPayloadPlugin,
33
- ...require("./Payload"),
34
- ...require("./Schema")
45
+ UrlSafetySchema
35
46
  });
36
47
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuC;AAEvC,wBAAc,sBAFd;AAGA,wBAAc,qBAHd;AAQA,IAAO,cAAQ;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,4BAAoC;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,UACpC,2CAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;;;ADAH,IAAO,cAAQ;","names":[]}
@@ -1,9 +1,19 @@
1
- import { UrlSafetyPayloadPlugin } from "./Plugin";
2
- export * from "./Payload";
3
- export * from "./Schema";
1
+ // src/Plugin.ts
2
+ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
+
4
+ // src/Schema.ts
5
+ var UrlSafetySchema = "network.xyo.url.safety";
6
+
7
+ // src/Plugin.ts
8
+ var UrlSafetyPayloadPlugin = () => createPayloadPlugin({
9
+ schema: UrlSafetySchema
10
+ });
11
+
12
+ // src/index.ts
4
13
  var src_default = UrlSafetyPayloadPlugin;
5
14
  export {
6
15
  UrlSafetyPayloadPlugin,
16
+ UrlSafetySchema,
7
17
  src_default as default
8
18
  };
9
19
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n"],"mappings":"AAAA,SAAS,8BAA8B;AAEvC,cAAc;AACd,cAAc;AAKd,IAAO,cAAQ;","names":[]}
1
+ {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/index.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { UrlSafetyPayload } from './Payload'\nimport { UrlSafetySchema } from './Schema'\n\nexport const UrlSafetyPayloadPlugin = () =>\n createPayloadPlugin<UrlSafetyPayload>({\n schema: UrlSafetySchema,\n })\n","export const UrlSafetySchema = 'network.xyo.url.safety'\nexport type UrlSafetySchema = typeof UrlSafetySchema\n","import { UrlSafetyPayloadPlugin } from './Plugin'\n\nexport * from './Payload'\nexport * from './Schema'\n\nexport { UrlSafetyPayloadPlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default UrlSafetyPayloadPlugin\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACA7B,IAAM,kBAAkB;;;ADKxB,IAAM,yBAAyB,MACpC,oBAAsC;AAAA,EACpC,QAAQ;AACV,CAAC;;;AEAH,IAAO,cAAQ;","names":[]}
package/package.json CHANGED
@@ -10,13 +10,13 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/payload-model": "~2.75.0",
14
- "@xyo-network/payload-plugin": "~2.75.0",
15
- "@xyo-network/url-payload-plugin": "~2.75.0"
13
+ "@xyo-network/payload-model": "~2.75.2",
14
+ "@xyo-network/payload-plugin": "~2.75.2",
15
+ "@xyo-network/url-payload-plugin": "~2.75.2"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^3.0.70",
19
- "@xylabs/tsconfig": "^3.0.70",
18
+ "@xylabs/ts-scripts-yarn3": "^3.0.77",
19
+ "@xylabs/tsconfig": "^3.0.77",
20
20
  "typescript": "^5.2.2"
21
21
  },
22
22
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -25,7 +25,7 @@
25
25
  ".": {
26
26
  "browser": {
27
27
  "require": {
28
- "types": "./dist/browser/index.d.ts",
28
+ "types": "./dist/browser/index.d.cts",
29
29
  "default": "./dist/browser/index.cjs"
30
30
  },
31
31
  "import": {
@@ -62,5 +62,5 @@
62
62
  },
63
63
  "sideEffects": false,
64
64
  "types": "dist/node/index.d.ts",
65
- "version": "2.75.0"
65
+ "version": "2.75.2"
66
66
  }