@xyo-network/url-plugin 4.1.0 → 4.2.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.
- package/dist/browser/indexBrowser.d.ts +3 -27
- package/dist/neutral/indexNode.d.ts +3 -27
- package/dist/node/indexNode.d.ts +3 -27
- package/package.json +12 -13
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
5
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
6
|
-
|
|
7
|
-
declare const UrlWitnessConfigSchema: "network.xyo.url.witness.config";
|
|
8
|
-
type UrlWitnessConfigSchema = typeof UrlWitnessConfigSchema;
|
|
9
|
-
type UrlWitnessConfig = WitnessConfig<{
|
|
10
|
-
schema: UrlWitnessConfigSchema;
|
|
11
|
-
urls?: string[];
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
type UrlWitnessParams = WitnessParams<AnyConfigSchema<UrlWitnessConfig>>;
|
|
15
|
-
|
|
16
|
-
declare class UrlWitness<TParams extends UrlWitnessParams = UrlWitnessParams> extends AbstractWitness<TParams> {
|
|
17
|
-
static readonly configSchemas: Schema[];
|
|
18
|
-
static readonly defaultConfigSchema: Schema;
|
|
19
|
-
static hashUrl: ((url: string) => Promise<string>) | undefined;
|
|
20
|
-
get urls(): string[] | undefined;
|
|
21
|
-
protected observeHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const UrlPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<UrlWitness<UrlWitnessParams>>;
|
|
25
|
-
|
|
26
|
-
export { UrlPlugin, UrlWitness, UrlWitnessConfigSchema, UrlPlugin as default };
|
|
27
|
-
export type { UrlWitnessConfig, UrlWitnessParams };
|
|
1
|
+
export { UrlPlugin as default, UrlPlugin } from './PluginNode.ts';
|
|
2
|
+
export * from './Witness/index.ts';
|
|
3
|
+
//# sourceMappingURL=indexBrowser.d.ts.map
|
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
5
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
6
|
-
|
|
7
|
-
declare const UrlWitnessConfigSchema: "network.xyo.url.witness.config";
|
|
8
|
-
type UrlWitnessConfigSchema = typeof UrlWitnessConfigSchema;
|
|
9
|
-
type UrlWitnessConfig = WitnessConfig<{
|
|
10
|
-
schema: UrlWitnessConfigSchema;
|
|
11
|
-
urls?: string[];
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
type UrlWitnessParams = WitnessParams<AnyConfigSchema<UrlWitnessConfig>>;
|
|
15
|
-
|
|
16
|
-
declare class UrlWitness<TParams extends UrlWitnessParams = UrlWitnessParams> extends AbstractWitness<TParams> {
|
|
17
|
-
static readonly configSchemas: Schema[];
|
|
18
|
-
static readonly defaultConfigSchema: Schema;
|
|
19
|
-
static hashUrl: ((url: string) => Promise<string>) | undefined;
|
|
20
|
-
get urls(): string[] | undefined;
|
|
21
|
-
protected observeHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const UrlPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<UrlWitness<UrlWitnessParams>>;
|
|
25
|
-
|
|
26
|
-
export { UrlPlugin, UrlWitness, UrlWitnessConfigSchema, UrlPlugin as default };
|
|
27
|
-
export type { UrlWitnessConfig, UrlWitnessParams };
|
|
1
|
+
export { UrlPlugin as default, UrlPlugin } from './PluginNode.ts';
|
|
2
|
+
export * from './Witness/index.ts';
|
|
3
|
+
//# sourceMappingURL=indexNode.d.ts.map
|
package/dist/node/indexNode.d.ts
CHANGED
|
@@ -1,27 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
5
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
6
|
-
|
|
7
|
-
declare const UrlWitnessConfigSchema: "network.xyo.url.witness.config";
|
|
8
|
-
type UrlWitnessConfigSchema = typeof UrlWitnessConfigSchema;
|
|
9
|
-
type UrlWitnessConfig = WitnessConfig<{
|
|
10
|
-
schema: UrlWitnessConfigSchema;
|
|
11
|
-
urls?: string[];
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
type UrlWitnessParams = WitnessParams<AnyConfigSchema<UrlWitnessConfig>>;
|
|
15
|
-
|
|
16
|
-
declare class UrlWitness<TParams extends UrlWitnessParams = UrlWitnessParams> extends AbstractWitness<TParams> {
|
|
17
|
-
static readonly configSchemas: Schema[];
|
|
18
|
-
static readonly defaultConfigSchema: Schema;
|
|
19
|
-
static hashUrl: ((url: string) => Promise<string>) | undefined;
|
|
20
|
-
get urls(): string[] | undefined;
|
|
21
|
-
protected observeHandler(payloads?: Payload[]): Promise<Payload[]>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare const UrlPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<UrlWitness<UrlWitnessParams>>;
|
|
25
|
-
|
|
26
|
-
export { UrlPlugin, UrlWitness, UrlWitnessConfigSchema, UrlPlugin as default };
|
|
27
|
-
export type { UrlWitnessConfig, UrlWitnessParams };
|
|
1
|
+
export { UrlPlugin as default, UrlPlugin } from './PluginNode.ts';
|
|
2
|
+
export * from './Witness/index.ts';
|
|
3
|
+
//# sourceMappingURL=indexNode.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/url-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -37,20 +37,19 @@
|
|
|
37
37
|
"module": "dist/neutral/indexNode.mjs",
|
|
38
38
|
"types": "dist/neutral/indexNode.d.ts",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xylabs/assert": "^4.
|
|
41
|
-
"@xylabs/crypto": "^4.
|
|
42
|
-
"@xyo-network/abstract-witness": "^4.
|
|
43
|
-
"@xyo-network/module-model": "^4.
|
|
44
|
-
"@xyo-network/payload-model": "^4.
|
|
45
|
-
"@xyo-network/payloadset-plugin": "^4.
|
|
46
|
-
"@xyo-network/url-payload-plugin": "^4.
|
|
47
|
-
"@xyo-network/witness-model": "^4.
|
|
40
|
+
"@xylabs/assert": "^4.15.1",
|
|
41
|
+
"@xylabs/crypto": "^4.15.1",
|
|
42
|
+
"@xyo-network/abstract-witness": "^4.3.0",
|
|
43
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
44
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
45
|
+
"@xyo-network/payloadset-plugin": "^4.3.0",
|
|
46
|
+
"@xyo-network/url-payload-plugin": "^4.2.0",
|
|
47
|
+
"@xyo-network/witness-model": "^4.3.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
51
|
-
"@xylabs/tsconfig": "^7.0.
|
|
52
|
-
"@xylabs/vitest-extended": "^4.
|
|
53
|
-
"knip": "^5.61.3",
|
|
50
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
51
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
52
|
+
"@xylabs/vitest-extended": "^4.15.1",
|
|
54
53
|
"typescript": "^5.8.3",
|
|
55
54
|
"vitest": "^3.2.4"
|
|
56
55
|
},
|