@xyo-network/url-safety-payload-plugin 3.0.1 → 3.0.3
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/neutral/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/Payload.ts +3 -3
- package/src/Plugin.ts +1 -1
- package/xy.config.ts +1 -1
|
@@ -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.ts'\nimport { UrlSafetySchema } from './Schema.ts'\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","../../src/Schema.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { UrlSafetyPayload } from './Payload.ts'\nimport { UrlSafetySchema } from './Schema.ts'\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":[]}
|
package/package.json
CHANGED
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
},
|
|
8
8
|
"bugs": {
|
|
9
9
|
"email": "support@xyo.network",
|
|
10
|
-
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
10
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "^3.0.
|
|
14
|
-
"@xyo-network/payload-plugin": "^3.0.
|
|
15
|
-
"@xyo-network/url-payload-plugin": "^3.0.
|
|
13
|
+
"@xyo-network/payload-model": "^3.0.3",
|
|
14
|
+
"@xyo-network/payload-plugin": "^3.0.3",
|
|
15
|
+
"@xyo-network/url-payload-plugin": "^3.0.3"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.
|
|
19
|
-
"@xylabs/tsconfig": "^4.0.0-rc.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
|
|
19
|
+
"@xylabs/tsconfig": "^4.0.0-rc.20",
|
|
20
20
|
"typescript": "^5.5.4"
|
|
21
21
|
},
|
|
22
22
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
|
-
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
39
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins.git"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
|
-
"version": "3.0.
|
|
42
|
+
"version": "3.0.3",
|
|
43
43
|
"type": "module"
|
|
44
44
|
}
|
package/src/Payload.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
import { UrlPayload } from '@xyo-network/url-payload-plugin'
|
|
1
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
+
import type { UrlPayload } from '@xyo-network/url-payload-plugin'
|
|
3
3
|
|
|
4
|
-
import { UrlSafetySchema } from './Schema.ts'
|
|
4
|
+
import type { UrlSafetySchema } from './Schema.ts'
|
|
5
5
|
|
|
6
6
|
export type UrlSafetyThreatType = 'SOCIAL_ENGINEERING' | 'POTENTIALLY_HARMFUL_APPLICATION' | 'UNWANTED_SOFTWARE' | 'THREAT_TYPE_UNSPECIFIED'
|
|
7
7
|
|
package/src/Plugin.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPayloadPlugin } from '@xyo-network/payload-plugin'
|
|
2
2
|
|
|
3
|
-
import { UrlSafetyPayload } from './Payload.ts'
|
|
3
|
+
import type { UrlSafetyPayload } from './Payload.ts'
|
|
4
4
|
import { UrlSafetySchema } from './Schema.ts'
|
|
5
5
|
|
|
6
6
|
export const UrlSafetyPayloadPlugin = () =>
|
package/xy.config.ts
CHANGED