@xyo-network/domain-payload-plugin 3.9.2 → 3.9.4
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.d.ts +6 -146
- package/package.json +9 -9
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import * as _xyo_network_network from '@xyo-network/network';
|
|
2
1
|
import { NetworkPayload } from '@xyo-network/network';
|
|
3
2
|
import { Payload } from '@xyo-network/payload-model';
|
|
4
3
|
import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
|
|
5
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
6
4
|
import { Hash } from '@xylabs/hex';
|
|
7
5
|
import { FetchedPayload } from '@xyo-network/huri';
|
|
8
6
|
import { PayloadWrapper } from '@xyo-network/payload-wrapper';
|
|
@@ -21,30 +19,7 @@ type DomainPayload = Payload<{
|
|
|
21
19
|
schema: DomainSchema;
|
|
22
20
|
}>;
|
|
23
21
|
|
|
24
|
-
declare const DomainPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<
|
|
25
|
-
schema: "network.xyo.domain";
|
|
26
|
-
additional?: string[] | undefined;
|
|
27
|
-
aliases?: {
|
|
28
|
-
[x: string]: {
|
|
29
|
-
huri: string;
|
|
30
|
-
name?: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
} | undefined;
|
|
33
|
-
networks?: {
|
|
34
|
-
schema: "network.xyo.network";
|
|
35
|
-
name?: string | undefined;
|
|
36
|
-
nodes?: {
|
|
37
|
-
schema: "network.xyo.network.node";
|
|
38
|
-
docs?: string | undefined;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
slug: string;
|
|
41
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
42
|
-
uri: string;
|
|
43
|
-
web?: string | undefined;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
slug: string;
|
|
46
|
-
}[] | undefined;
|
|
47
|
-
}>>;
|
|
22
|
+
declare const DomainPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<DomainPayload>;
|
|
48
23
|
|
|
49
24
|
declare const domainConfigTemplate: () => DomainPayload;
|
|
50
25
|
|
|
@@ -53,126 +28,11 @@ interface FetchedAlias extends FetchedPayload {
|
|
|
53
28
|
}
|
|
54
29
|
declare class DomainPayloadWrapper<T extends DomainPayload = DomainPayload> extends PayloadWrapper<T> {
|
|
55
30
|
aliases?: FetchedAlias[] | null;
|
|
56
|
-
static discover(reverseDomainName: string, proxy?: string): Promise<DomainPayloadWrapper<
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
huri: string;
|
|
62
|
-
name?: string | undefined;
|
|
63
|
-
};
|
|
64
|
-
} | undefined;
|
|
65
|
-
networks?: {
|
|
66
|
-
schema: "network.xyo.network";
|
|
67
|
-
name?: string | undefined;
|
|
68
|
-
nodes?: {
|
|
69
|
-
schema: "network.xyo.network.node";
|
|
70
|
-
docs?: string | undefined;
|
|
71
|
-
name?: string | undefined;
|
|
72
|
-
slug: string;
|
|
73
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
74
|
-
uri: string;
|
|
75
|
-
web?: string | undefined;
|
|
76
|
-
}[] | undefined;
|
|
77
|
-
slug: string;
|
|
78
|
-
}[] | undefined;
|
|
79
|
-
}>> | undefined>;
|
|
80
|
-
static discoverDNSEntry(domain: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
81
|
-
schema: "network.xyo.domain";
|
|
82
|
-
additional?: string[] | undefined;
|
|
83
|
-
aliases?: {
|
|
84
|
-
[x: string]: {
|
|
85
|
-
huri: string;
|
|
86
|
-
name?: string | undefined;
|
|
87
|
-
};
|
|
88
|
-
} | undefined;
|
|
89
|
-
networks?: {
|
|
90
|
-
schema: "network.xyo.network";
|
|
91
|
-
name?: string | undefined;
|
|
92
|
-
nodes?: {
|
|
93
|
-
schema: "network.xyo.network.node";
|
|
94
|
-
docs?: string | undefined;
|
|
95
|
-
name?: string | undefined;
|
|
96
|
-
slug: string;
|
|
97
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
98
|
-
uri: string;
|
|
99
|
-
web?: string | undefined;
|
|
100
|
-
}[] | undefined;
|
|
101
|
-
slug: string;
|
|
102
|
-
}[] | undefined;
|
|
103
|
-
}>> | undefined>;
|
|
104
|
-
static discoverRootFile(domain: string, proxy?: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
105
|
-
schema: "network.xyo.domain";
|
|
106
|
-
additional?: string[] | undefined;
|
|
107
|
-
aliases?: {
|
|
108
|
-
[x: string]: {
|
|
109
|
-
huri: string;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
};
|
|
112
|
-
} | undefined;
|
|
113
|
-
networks?: {
|
|
114
|
-
schema: "network.xyo.network";
|
|
115
|
-
name?: string | undefined;
|
|
116
|
-
nodes?: {
|
|
117
|
-
schema: "network.xyo.network.node";
|
|
118
|
-
docs?: string | undefined;
|
|
119
|
-
name?: string | undefined;
|
|
120
|
-
slug: string;
|
|
121
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
122
|
-
uri: string;
|
|
123
|
-
web?: string | undefined;
|
|
124
|
-
}[] | undefined;
|
|
125
|
-
slug: string;
|
|
126
|
-
}[] | undefined;
|
|
127
|
-
}>> | undefined>;
|
|
128
|
-
static discoverRootFileDirect(domain: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
129
|
-
schema: "network.xyo.domain";
|
|
130
|
-
additional?: string[] | undefined;
|
|
131
|
-
aliases?: {
|
|
132
|
-
[x: string]: {
|
|
133
|
-
huri: string;
|
|
134
|
-
name?: string | undefined;
|
|
135
|
-
};
|
|
136
|
-
} | undefined;
|
|
137
|
-
networks?: {
|
|
138
|
-
schema: "network.xyo.network";
|
|
139
|
-
name?: string | undefined;
|
|
140
|
-
nodes?: {
|
|
141
|
-
schema: "network.xyo.network.node";
|
|
142
|
-
docs?: string | undefined;
|
|
143
|
-
name?: string | undefined;
|
|
144
|
-
slug: string;
|
|
145
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
146
|
-
uri: string;
|
|
147
|
-
web?: string | undefined;
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
slug: string;
|
|
150
|
-
}[] | undefined;
|
|
151
|
-
}>> | undefined>;
|
|
152
|
-
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<DomainPayloadWrapper<_xylabs_object.DeepRestrictToStringKeys<{
|
|
153
|
-
schema: "network.xyo.domain";
|
|
154
|
-
additional?: string[] | undefined;
|
|
155
|
-
aliases?: {
|
|
156
|
-
[x: string]: {
|
|
157
|
-
huri: string;
|
|
158
|
-
name?: string | undefined;
|
|
159
|
-
};
|
|
160
|
-
} | undefined;
|
|
161
|
-
networks?: {
|
|
162
|
-
schema: "network.xyo.network";
|
|
163
|
-
name?: string | undefined;
|
|
164
|
-
nodes?: {
|
|
165
|
-
schema: "network.xyo.network.node";
|
|
166
|
-
docs?: string | undefined;
|
|
167
|
-
name?: string | undefined;
|
|
168
|
-
slug: string;
|
|
169
|
-
type: _xyo_network_network.NetworkNodeType;
|
|
170
|
-
uri: string;
|
|
171
|
-
web?: string | undefined;
|
|
172
|
-
}[] | undefined;
|
|
173
|
-
slug: string;
|
|
174
|
-
}[] | undefined;
|
|
175
|
-
}>> | undefined>;
|
|
31
|
+
static discover(reverseDomainName: string, proxy?: string): Promise<DomainPayloadWrapper<DomainPayload> | undefined>;
|
|
32
|
+
static discoverDNSEntry(domain: string): Promise<DomainPayloadWrapper<DomainPayload> | undefined>;
|
|
33
|
+
static discoverRootFile(domain: string, proxy?: string): Promise<DomainPayloadWrapper<DomainPayload> | undefined>;
|
|
34
|
+
static discoverRootFileDirect(domain: string): Promise<DomainPayloadWrapper<DomainPayload> | undefined>;
|
|
35
|
+
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<DomainPayloadWrapper<DomainPayload> | undefined>;
|
|
176
36
|
fetch(networkSlug?: Hash): Promise<void>;
|
|
177
37
|
fetchAliases(networkSlug?: Hash): Promise<void>;
|
|
178
38
|
private fetchAlias;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/domain-payload-plugin",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@xylabs/hex": "^4.5.1",
|
|
34
34
|
"@xylabs/object": "^4.5.1",
|
|
35
35
|
"@xylabs/platform": "^4.5.1",
|
|
36
|
-
"@xyo-network/api-models": "^3.9.
|
|
37
|
-
"@xyo-network/dns": "^3.9.
|
|
38
|
-
"@xyo-network/huri": "^3.9.
|
|
39
|
-
"@xyo-network/network": "^3.9.
|
|
40
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
41
|
-
"@xyo-network/payload-model": "^3.9.
|
|
42
|
-
"@xyo-network/payload-plugin": "^3.9.
|
|
43
|
-
"@xyo-network/payload-wrapper": "^3.9.
|
|
36
|
+
"@xyo-network/api-models": "^3.9.4",
|
|
37
|
+
"@xyo-network/dns": "^3.9.4",
|
|
38
|
+
"@xyo-network/huri": "^3.9.4",
|
|
39
|
+
"@xyo-network/network": "^3.9.4",
|
|
40
|
+
"@xyo-network/payload-builder": "^3.9.4",
|
|
41
|
+
"@xyo-network/payload-model": "^3.9.4",
|
|
42
|
+
"@xyo-network/payload-plugin": "^3.9.4",
|
|
43
|
+
"@xyo-network/payload-wrapper": "^3.9.4",
|
|
44
44
|
"axios": "^1.7.9"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|