@xyo-network/domain-payload-plugin 2.33.0-rc.13 → 2.33.0-rc.14
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/cjs/Plugin.d.ts +86 -3
- package/dist/cjs/Plugin.d.ts.map +1 -1
- package/dist/cjs/Wrapper.d.ts +190 -5
- package/dist/cjs/Wrapper.d.ts.map +1 -1
- package/dist/docs.json +13750 -736
- package/dist/esm/Plugin.d.ts +86 -3
- package/dist/esm/Plugin.d.ts.map +1 -1
- package/dist/esm/Wrapper.d.ts +190 -5
- package/dist/esm/Wrapper.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/cjs/Plugin.d.ts
CHANGED
|
@@ -1,4 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const XyoDomainPayloadPlugin: () => import("@xyo-network/payload-plugin").XyoPayloadPlugin<{
|
|
2
|
+
schema: string;
|
|
3
|
+
} & {
|
|
4
|
+
previousHash?: string | undefined;
|
|
5
|
+
sources?: string[] | undefined;
|
|
6
|
+
timestamp?: number | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
schema: "network.xyo.domain";
|
|
9
|
+
aliases?: Record<string, import("./Payload").XyoAlias> | undefined;
|
|
10
|
+
additional?: string[] | undefined;
|
|
11
|
+
networks?: ({
|
|
12
|
+
schema: string;
|
|
13
|
+
} & {
|
|
14
|
+
previousHash?: string | undefined;
|
|
15
|
+
sources?: string[] | undefined;
|
|
16
|
+
timestamp?: number | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
schema: "network.xyo.network";
|
|
19
|
+
slug: string;
|
|
20
|
+
name?: string | undefined;
|
|
21
|
+
nodes?: ({
|
|
22
|
+
schema: string;
|
|
23
|
+
} & {
|
|
24
|
+
previousHash?: string | undefined;
|
|
25
|
+
sources?: string[] | undefined;
|
|
26
|
+
timestamp?: number | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
29
|
+
slug: string;
|
|
30
|
+
name?: string | undefined;
|
|
31
|
+
uri: string;
|
|
32
|
+
web?: string | undefined;
|
|
33
|
+
docs?: string | undefined;
|
|
34
|
+
} & {
|
|
35
|
+
schema: "network.xyo.network.node";
|
|
36
|
+
})[] | undefined;
|
|
37
|
+
})[] | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
schema: string;
|
|
40
|
+
} & {
|
|
41
|
+
previousHash?: string | undefined;
|
|
42
|
+
sources?: string[] | undefined;
|
|
43
|
+
timestamp?: number | undefined;
|
|
44
|
+
} & {
|
|
45
|
+
schema: "network.xyo.domain.witness.config";
|
|
46
|
+
domain: string;
|
|
47
|
+
} & {
|
|
48
|
+
targetSchema: "network.xyo.domain";
|
|
49
|
+
}, {
|
|
50
|
+
schema: string;
|
|
51
|
+
} & {
|
|
52
|
+
previousHash?: string | undefined;
|
|
53
|
+
sources?: string[] | undefined;
|
|
54
|
+
timestamp?: number | undefined;
|
|
55
|
+
} & {
|
|
56
|
+
schema: "network.xyo.domain";
|
|
57
|
+
aliases?: Record<string, import("./Payload").XyoAlias> | undefined;
|
|
58
|
+
additional?: string[] | undefined;
|
|
59
|
+
networks?: ({
|
|
60
|
+
schema: string;
|
|
61
|
+
} & {
|
|
62
|
+
previousHash?: string | undefined;
|
|
63
|
+
sources?: string[] | undefined;
|
|
64
|
+
timestamp?: number | undefined;
|
|
65
|
+
} & {
|
|
66
|
+
schema: "network.xyo.network";
|
|
67
|
+
slug: string;
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
nodes?: ({
|
|
70
|
+
schema: string;
|
|
71
|
+
} & {
|
|
72
|
+
previousHash?: string | undefined;
|
|
73
|
+
sources?: string[] | undefined;
|
|
74
|
+
timestamp?: number | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
77
|
+
slug: string;
|
|
78
|
+
name?: string | undefined;
|
|
79
|
+
uri: string;
|
|
80
|
+
web?: string | undefined;
|
|
81
|
+
docs?: string | undefined;
|
|
82
|
+
} & {
|
|
83
|
+
schema: "network.xyo.network.node";
|
|
84
|
+
})[] | undefined;
|
|
85
|
+
})[] | undefined;
|
|
86
|
+
}>;
|
|
4
87
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/cjs/Plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAA"}
|
package/dist/cjs/Wrapper.d.ts
CHANGED
|
@@ -10,11 +10,196 @@ export declare class XyoDomainPayloadWrapper<T extends XyoDomainPayload = XyoDom
|
|
|
10
10
|
private fetchAlias;
|
|
11
11
|
fetchAliases(networkSlug?: string): Promise<void>;
|
|
12
12
|
fetch(networkSlug?: string): Promise<void>;
|
|
13
|
-
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<XyoDomainPayloadWrapper<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
static discoverRootFileWithProxy(domain: string, proxy?: string): Promise<XyoDomainPayloadWrapper<{
|
|
14
|
+
schema: string;
|
|
15
|
+
} & {
|
|
16
|
+
previousHash?: string | undefined;
|
|
17
|
+
sources?: string[] | undefined;
|
|
18
|
+
timestamp?: number | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
schema: "network.xyo.domain";
|
|
21
|
+
aliases?: Record<string, XyoAlias> | undefined;
|
|
22
|
+
additional?: string[] | undefined;
|
|
23
|
+
networks?: ({
|
|
24
|
+
schema: string;
|
|
25
|
+
} & {
|
|
26
|
+
previousHash?: string | undefined;
|
|
27
|
+
sources?: string[] | undefined;
|
|
28
|
+
timestamp?: number | undefined;
|
|
29
|
+
} & {
|
|
30
|
+
schema: "network.xyo.network";
|
|
31
|
+
slug: string;
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
nodes?: ({
|
|
34
|
+
schema: string;
|
|
35
|
+
} & {
|
|
36
|
+
previousHash?: string | undefined;
|
|
37
|
+
sources?: string[] | undefined;
|
|
38
|
+
timestamp?: number | undefined;
|
|
39
|
+
} & {
|
|
40
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
41
|
+
slug: string;
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
uri: string;
|
|
44
|
+
web?: string | undefined;
|
|
45
|
+
docs?: string | undefined;
|
|
46
|
+
} & {
|
|
47
|
+
schema: "network.xyo.network.node";
|
|
48
|
+
})[] | undefined;
|
|
49
|
+
})[] | undefined;
|
|
50
|
+
}> | undefined>;
|
|
51
|
+
static discoverRootFileDirect(domain: string): Promise<XyoDomainPayloadWrapper<{
|
|
52
|
+
schema: string;
|
|
53
|
+
} & {
|
|
54
|
+
previousHash?: string | undefined;
|
|
55
|
+
sources?: string[] | undefined;
|
|
56
|
+
timestamp?: number | undefined;
|
|
57
|
+
} & {
|
|
58
|
+
schema: "network.xyo.domain";
|
|
59
|
+
aliases?: Record<string, XyoAlias> | undefined;
|
|
60
|
+
additional?: string[] | undefined;
|
|
61
|
+
networks?: ({
|
|
62
|
+
schema: string;
|
|
63
|
+
} & {
|
|
64
|
+
previousHash?: string | undefined;
|
|
65
|
+
sources?: string[] | undefined;
|
|
66
|
+
timestamp?: number | undefined;
|
|
67
|
+
} & {
|
|
68
|
+
schema: "network.xyo.network";
|
|
69
|
+
slug: string;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
nodes?: ({
|
|
72
|
+
schema: string;
|
|
73
|
+
} & {
|
|
74
|
+
previousHash?: string | undefined;
|
|
75
|
+
sources?: string[] | undefined;
|
|
76
|
+
timestamp?: number | undefined;
|
|
77
|
+
} & {
|
|
78
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
79
|
+
slug: string;
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
uri: string;
|
|
82
|
+
web?: string | undefined;
|
|
83
|
+
docs?: string | undefined;
|
|
84
|
+
} & {
|
|
85
|
+
schema: "network.xyo.network.node";
|
|
86
|
+
})[] | undefined;
|
|
87
|
+
})[] | undefined;
|
|
88
|
+
}> | undefined>;
|
|
89
|
+
static discoverRootFile(domain: string, proxy?: string): Promise<XyoDomainPayloadWrapper<{
|
|
90
|
+
schema: string;
|
|
91
|
+
} & {
|
|
92
|
+
previousHash?: string | undefined;
|
|
93
|
+
sources?: string[] | undefined;
|
|
94
|
+
timestamp?: number | undefined;
|
|
95
|
+
} & {
|
|
96
|
+
schema: "network.xyo.domain";
|
|
97
|
+
aliases?: Record<string, XyoAlias> | undefined;
|
|
98
|
+
additional?: string[] | undefined;
|
|
99
|
+
networks?: ({
|
|
100
|
+
schema: string;
|
|
101
|
+
} & {
|
|
102
|
+
previousHash?: string | undefined;
|
|
103
|
+
sources?: string[] | undefined;
|
|
104
|
+
timestamp?: number | undefined;
|
|
105
|
+
} & {
|
|
106
|
+
schema: "network.xyo.network";
|
|
107
|
+
slug: string;
|
|
108
|
+
name?: string | undefined;
|
|
109
|
+
nodes?: ({
|
|
110
|
+
schema: string;
|
|
111
|
+
} & {
|
|
112
|
+
previousHash?: string | undefined;
|
|
113
|
+
sources?: string[] | undefined;
|
|
114
|
+
timestamp?: number | undefined;
|
|
115
|
+
} & {
|
|
116
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
117
|
+
slug: string;
|
|
118
|
+
name?: string | undefined;
|
|
119
|
+
uri: string;
|
|
120
|
+
web?: string | undefined;
|
|
121
|
+
docs?: string | undefined;
|
|
122
|
+
} & {
|
|
123
|
+
schema: "network.xyo.network.node";
|
|
124
|
+
})[] | undefined;
|
|
125
|
+
})[] | undefined;
|
|
126
|
+
}> | undefined>;
|
|
127
|
+
static discoverDNSEntry(domain: string): Promise<XyoDomainPayloadWrapper<{
|
|
128
|
+
schema: string;
|
|
129
|
+
} & {
|
|
130
|
+
previousHash?: string | undefined;
|
|
131
|
+
sources?: string[] | undefined;
|
|
132
|
+
timestamp?: number | undefined;
|
|
133
|
+
} & {
|
|
134
|
+
schema: "network.xyo.domain";
|
|
135
|
+
aliases?: Record<string, XyoAlias> | undefined;
|
|
136
|
+
additional?: string[] | undefined;
|
|
137
|
+
networks?: ({
|
|
138
|
+
schema: string;
|
|
139
|
+
} & {
|
|
140
|
+
previousHash?: string | undefined;
|
|
141
|
+
sources?: string[] | undefined;
|
|
142
|
+
timestamp?: number | undefined;
|
|
143
|
+
} & {
|
|
144
|
+
schema: "network.xyo.network";
|
|
145
|
+
slug: string;
|
|
146
|
+
name?: string | undefined;
|
|
147
|
+
nodes?: ({
|
|
148
|
+
schema: string;
|
|
149
|
+
} & {
|
|
150
|
+
previousHash?: string | undefined;
|
|
151
|
+
sources?: string[] | undefined;
|
|
152
|
+
timestamp?: number | undefined;
|
|
153
|
+
} & {
|
|
154
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
155
|
+
slug: string;
|
|
156
|
+
name?: string | undefined;
|
|
157
|
+
uri: string;
|
|
158
|
+
web?: string | undefined;
|
|
159
|
+
docs?: string | undefined;
|
|
160
|
+
} & {
|
|
161
|
+
schema: "network.xyo.network.node";
|
|
162
|
+
})[] | undefined;
|
|
163
|
+
})[] | undefined;
|
|
164
|
+
}> | undefined>;
|
|
165
|
+
static discover(reverseDomainName: string, proxy?: string): Promise<XyoDomainPayloadWrapper<{
|
|
166
|
+
schema: string;
|
|
167
|
+
} & {
|
|
168
|
+
previousHash?: string | undefined;
|
|
169
|
+
sources?: string[] | undefined;
|
|
170
|
+
timestamp?: number | undefined;
|
|
171
|
+
} & {
|
|
172
|
+
schema: "network.xyo.domain";
|
|
173
|
+
aliases?: Record<string, XyoAlias> | undefined;
|
|
174
|
+
additional?: string[] | undefined;
|
|
175
|
+
networks?: ({
|
|
176
|
+
schema: string;
|
|
177
|
+
} & {
|
|
178
|
+
previousHash?: string | undefined;
|
|
179
|
+
sources?: string[] | undefined;
|
|
180
|
+
timestamp?: number | undefined;
|
|
181
|
+
} & {
|
|
182
|
+
schema: "network.xyo.network";
|
|
183
|
+
slug: string;
|
|
184
|
+
name?: string | undefined;
|
|
185
|
+
nodes?: ({
|
|
186
|
+
schema: string;
|
|
187
|
+
} & {
|
|
188
|
+
previousHash?: string | undefined;
|
|
189
|
+
sources?: string[] | undefined;
|
|
190
|
+
timestamp?: number | undefined;
|
|
191
|
+
} & {
|
|
192
|
+
type: import("@xyo-network/network").XyoNetworkNodeType;
|
|
193
|
+
slug: string;
|
|
194
|
+
name?: string | undefined;
|
|
195
|
+
uri: string;
|
|
196
|
+
web?: string | undefined;
|
|
197
|
+
docs?: string | undefined;
|
|
198
|
+
} & {
|
|
199
|
+
schema: "network.xyo.network.node";
|
|
200
|
+
})[] | undefined;
|
|
201
|
+
})[] | undefined;
|
|
202
|
+
}> | undefined>;
|
|
18
203
|
}
|
|
19
204
|
/** @deprecated use XyoDomainPayloadWrapper instead */
|
|
20
205
|
export declare type XyoDomainConfigWrapper = XyoDomainPayloadWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../src/Wrapper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAI9F,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAEtD,MAAM,WAAW,eAAgB,SAAQ,iBAAiB;IACxD,KAAK,EAAE,QAAQ,CAAA;CAChB;AAED,qBAAa,uBAAuB,CAAC,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,CAAE,SAAQ,iBAAiB,CAAC,CAAC,CAAC;IACvG,OAA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