@xyo-network/url-safety-payload-plugin 2.97.0 → 2.97.1
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/browser/index.cjs +38 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +15 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +38 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +15 -1
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +43 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +15 -1
- package/dist/node/index.js.map +1 -1
- package/package.json +6 -6
package/dist/browser/index.cjs
CHANGED
|
@@ -1,2 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
UrlSafetyPayloadPlugin: () => UrlSafetyPayloadPlugin,
|
|
24
|
+
UrlSafetySchema: () => UrlSafetySchema,
|
|
25
|
+
default: () => UrlSafetyPayloadPlugin
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
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
|
+
});
|
|
2
39
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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;","names":[]}
|
package/dist/browser/index.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
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
|
+
export {
|
|
12
|
+
UrlSafetyPayloadPlugin,
|
|
13
|
+
UrlSafetySchema,
|
|
14
|
+
UrlSafetyPayloadPlugin as default
|
|
15
|
+
};
|
|
2
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,
|
|
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":[]}
|
package/dist/neutral/index.cjs
CHANGED
|
@@ -1,2 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
UrlSafetyPayloadPlugin: () => UrlSafetyPayloadPlugin,
|
|
24
|
+
UrlSafetySchema: () => UrlSafetySchema,
|
|
25
|
+
default: () => UrlSafetyPayloadPlugin
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
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
|
+
});
|
|
2
39
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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;","names":[]}
|
package/dist/neutral/index.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
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
|
+
export {
|
|
12
|
+
UrlSafetyPayloadPlugin,
|
|
13
|
+
UrlSafetySchema,
|
|
14
|
+
UrlSafetyPayloadPlugin as default
|
|
15
|
+
};
|
|
2
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,
|
|
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":[]}
|
package/dist/node/index.cjs
CHANGED
|
@@ -1,2 +1,44 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
UrlSafetyPayloadPlugin: () => UrlSafetyPayloadPlugin,
|
|
24
|
+
UrlSafetySchema: () => UrlSafetySchema,
|
|
25
|
+
default: () => UrlSafetyPayloadPlugin
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
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
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
+
0 && (module.exports = {
|
|
41
|
+
UrlSafetyPayloadPlugin,
|
|
42
|
+
UrlSafetySchema
|
|
43
|
+
});
|
|
2
44
|
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts"],"sourcesContent":["export * from './Payload'\nexport { UrlSafetyPayloadPlugin as default, UrlSafetyPayloadPlugin } from './Plugin'\nexport * from './Schema'\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;","names":[]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
|
|
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
|
+
export {
|
|
12
|
+
UrlSafetyPayloadPlugin,
|
|
13
|
+
UrlSafetySchema,
|
|
14
|
+
UrlSafetyPayloadPlugin as default
|
|
15
|
+
};
|
|
2
16
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -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,
|
|
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":[]}
|
package/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "^2.107.
|
|
14
|
-
"@xyo-network/payload-plugin": "^2.107.
|
|
15
|
-
"@xyo-network/url-payload-plugin": "~2.97.
|
|
13
|
+
"@xyo-network/payload-model": "^2.107.4",
|
|
14
|
+
"@xyo-network/payload-plugin": "^2.107.4",
|
|
15
|
+
"@xyo-network/url-payload-plugin": "~2.97.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.11.
|
|
19
|
-
"@xylabs/tsconfig": "^3.11.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.11.10",
|
|
19
|
+
"@xylabs/tsconfig": "^3.11.10",
|
|
20
20
|
"typescript": "^5.5.2"
|
|
21
21
|
},
|
|
22
22
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"version": "2.97.
|
|
61
|
+
"version": "2.97.1",
|
|
62
62
|
"type": "module"
|
|
63
63
|
}
|