@tradetrust-tt/dnsprove 2.11.0 → 2.12.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/records/dnsTxt.js
CHANGED
|
@@ -29,6 +29,7 @@ let EthereumNetworks = exports.EthereumNetworks = void 0;
|
|
|
29
29
|
EthereumNetworks["xdc"] = "50";
|
|
30
30
|
EthereumNetworks["xdcapothem"] = "51";
|
|
31
31
|
EthereumNetworks["stabilityTestnet"] = "20180427";
|
|
32
|
+
EthereumNetworks["stability"] = "101010";
|
|
32
33
|
})(EthereumNetworks || (exports.EthereumNetworks = EthereumNetworks = {}));
|
|
33
34
|
let HederaNetworks = exports.HederaNetworks = void 0;
|
|
34
35
|
(function (HederaNetworks) {
|
|
@@ -36,7 +37,7 @@ let HederaNetworks = exports.HederaNetworks = void 0;
|
|
|
36
37
|
HederaNetworks["testnet"] = "296";
|
|
37
38
|
})(HederaNetworks || (exports.HederaNetworks = HederaNetworks = {}));
|
|
38
39
|
const HederaNetworkIdT = exports.HederaNetworkIdT = (0, _runtypes.Union)((0, _runtypes.Literal)(HederaNetworks.mainnet), (0, _runtypes.Literal)(HederaNetworks.testnet));
|
|
39
|
-
const EthereumNetworkIdT = exports.EthereumNetworkIdT = (0, _runtypes.Union)((0, _runtypes.Literal)(EthereumNetworks.homestead), (0, _runtypes.Literal)(EthereumNetworks.ropsten), (0, _runtypes.Literal)(EthereumNetworks.rinkeby), (0, _runtypes.Literal)(EthereumNetworks.goerli), (0, _runtypes.Literal)(EthereumNetworks.sepolia), (0, _runtypes.Literal)(EthereumNetworks.polygon), (0, _runtypes.Literal)(EthereumNetworks.polygonMumbai), (0, _runtypes.Literal)(EthereumNetworks.polygonAmoy), (0, _runtypes.Literal)(EthereumNetworks.xdc), (0, _runtypes.Literal)(EthereumNetworks.xdcapothem), (0, _runtypes.Literal)(EthereumNetworks.stabilityTestnet), (0, _runtypes.Literal)(EthereumNetworks.local));
|
|
40
|
+
const EthereumNetworkIdT = exports.EthereumNetworkIdT = (0, _runtypes.Union)((0, _runtypes.Literal)(EthereumNetworks.homestead), (0, _runtypes.Literal)(EthereumNetworks.ropsten), (0, _runtypes.Literal)(EthereumNetworks.rinkeby), (0, _runtypes.Literal)(EthereumNetworks.goerli), (0, _runtypes.Literal)(EthereumNetworks.sepolia), (0, _runtypes.Literal)(EthereumNetworks.polygon), (0, _runtypes.Literal)(EthereumNetworks.polygonMumbai), (0, _runtypes.Literal)(EthereumNetworks.polygonAmoy), (0, _runtypes.Literal)(EthereumNetworks.xdc), (0, _runtypes.Literal)(EthereumNetworks.xdcapothem), (0, _runtypes.Literal)(EthereumNetworks.stabilityTestnet), (0, _runtypes.Literal)(EthereumNetworks.stability), (0, _runtypes.Literal)(EthereumNetworks.local));
|
|
40
41
|
const OpenAttestationDNSTextRecordT = exports.OpenAttestationDNSTextRecordT = (0, _runtypes.Union)((0, _runtypes.Record)({
|
|
41
42
|
type: RecordTypesT,
|
|
42
43
|
net: (0, _runtypes.Literal)("ethereum"),
|
|
@@ -15,18 +15,19 @@ export declare enum EthereumNetworks {
|
|
|
15
15
|
local = "1337",
|
|
16
16
|
xdc = "50",
|
|
17
17
|
xdcapothem = "51",
|
|
18
|
-
stabilityTestnet = "20180427"
|
|
18
|
+
stabilityTestnet = "20180427",
|
|
19
|
+
stability = "101010"
|
|
19
20
|
}
|
|
20
21
|
export declare enum HederaNetworks {
|
|
21
22
|
mainnet = "295",
|
|
22
23
|
testnet = "296"
|
|
23
24
|
}
|
|
24
25
|
export declare const HederaNetworkIdT: Union<[Literal<HederaNetworks.mainnet>, Literal<HederaNetworks.testnet>]>;
|
|
25
|
-
export declare const EthereumNetworkIdT: Union<[Literal<EthereumNetworks.homestead>, Literal<EthereumNetworks.ropsten>, Literal<EthereumNetworks.rinkeby>, Literal<EthereumNetworks.goerli>, Literal<EthereumNetworks.sepolia>, Literal<EthereumNetworks.polygon>, Literal<EthereumNetworks.polygonMumbai>, Literal<EthereumNetworks.polygonAmoy>, Literal<EthereumNetworks.xdc>, Literal<EthereumNetworks.xdcapothem>, Literal<EthereumNetworks.stabilityTestnet>, Literal<EthereumNetworks.local>]>;
|
|
26
|
+
export declare const EthereumNetworkIdT: Union<[Literal<EthereumNetworks.homestead>, Literal<EthereumNetworks.ropsten>, Literal<EthereumNetworks.rinkeby>, Literal<EthereumNetworks.goerli>, Literal<EthereumNetworks.sepolia>, Literal<EthereumNetworks.polygon>, Literal<EthereumNetworks.polygonMumbai>, Literal<EthereumNetworks.polygonAmoy>, Literal<EthereumNetworks.xdc>, Literal<EthereumNetworks.xdcapothem>, Literal<EthereumNetworks.stabilityTestnet>, Literal<EthereumNetworks.stability>, Literal<EthereumNetworks.local>]>;
|
|
26
27
|
export declare const OpenAttestationDNSTextRecordT: Union<[import("runtypes").Intersect<[Record<{
|
|
27
28
|
type: Literal<"openatts">;
|
|
28
29
|
net: Literal<"ethereum">;
|
|
29
|
-
netId: Union<[Literal<EthereumNetworks.homestead>, Literal<EthereumNetworks.ropsten>, Literal<EthereumNetworks.rinkeby>, Literal<EthereumNetworks.goerli>, Literal<EthereumNetworks.sepolia>, Literal<EthereumNetworks.polygon>, Literal<EthereumNetworks.polygonMumbai>, Literal<EthereumNetworks.polygonAmoy>, Literal<EthereumNetworks.xdc>, Literal<EthereumNetworks.xdcapothem>, Literal<EthereumNetworks.stabilityTestnet>, Literal<EthereumNetworks.local>]>;
|
|
30
|
+
netId: Union<[Literal<EthereumNetworks.homestead>, Literal<EthereumNetworks.ropsten>, Literal<EthereumNetworks.rinkeby>, Literal<EthereumNetworks.goerli>, Literal<EthereumNetworks.sepolia>, Literal<EthereumNetworks.polygon>, Literal<EthereumNetworks.polygonMumbai>, Literal<EthereumNetworks.polygonAmoy>, Literal<EthereumNetworks.xdc>, Literal<EthereumNetworks.xdcapothem>, Literal<EthereumNetworks.stabilityTestnet>, Literal<EthereumNetworks.stability>, Literal<EthereumNetworks.local>]>;
|
|
30
31
|
addr: import("runtypes").Constraint<String, string, unknown>;
|
|
31
32
|
}, false>, Partial<{
|
|
32
33
|
dnssec: Boolean;
|
package/package.json
CHANGED
package/src/records/dnsTxt.ts
CHANGED
|
@@ -26,6 +26,7 @@ export enum EthereumNetworks {
|
|
|
26
26
|
xdc = "50",
|
|
27
27
|
xdcapothem = "51",
|
|
28
28
|
stabilityTestnet = "20180427",
|
|
29
|
+
stability = "101010",
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export enum HederaNetworks {
|
|
@@ -46,6 +47,7 @@ export const EthereumNetworkIdT = Union(
|
|
|
46
47
|
Literal(EthereumNetworks.xdc),
|
|
47
48
|
Literal(EthereumNetworks.xdcapothem),
|
|
48
49
|
Literal(EthereumNetworks.stabilityTestnet),
|
|
50
|
+
Literal(EthereumNetworks.stability),
|
|
49
51
|
Literal(EthereumNetworks.local)
|
|
50
52
|
);
|
|
51
53
|
|