@xyo-network/core 2.20.33 → 2.20.36
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/Wallet/Account/Key/Data/toUint8Array.d.ts +2 -2
- package/dist/cjs/lib/dns/domainExists.d.ts +1 -1
- package/dist/cjs/lib/dns/domainResolve.d.ts +1 -1
- package/dist/docs.json +4 -4
- package/dist/esm/Wallet/Account/Key/Data/toUint8Array.d.ts +2 -2
- package/dist/esm/lib/dns/domainExists.d.ts +1 -1
- package/dist/esm/lib/dns/domainResolve.d.ts +1 -1
- package/package.json +4 -7
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { XyoDataLike } from './XyoDataLike';
|
|
2
|
-
export declare const toUint8ArrayOptional: (value?: XyoDataLike
|
|
3
|
-
export declare const toUint8Array: (value: XyoDataLike, padLength?: number
|
|
2
|
+
export declare const toUint8ArrayOptional: (value?: XyoDataLike, padLength?: number) => Uint8Array | undefined;
|
|
3
|
+
export declare const toUint8Array: (value: XyoDataLike, padLength?: number) => Uint8Array;
|
|
@@ -4,5 +4,5 @@ import { DnsRecordType } from './DnsRecordType';
|
|
|
4
4
|
* @param domain - string
|
|
5
5
|
* @returns GoogleDnsResult
|
|
6
6
|
*/
|
|
7
|
-
declare const domainResolve: (domain?: string
|
|
7
|
+
declare const domainResolve: (domain?: string, type?: DnsRecordType) => Promise<import("./GoogleDnsResult").GoogleDnsResult | undefined>;
|
|
8
8
|
export { domainResolve };
|
package/dist/docs.json
CHANGED
|
@@ -15738,6 +15738,10 @@
|
|
|
15738
15738
|
"type": {
|
|
15739
15739
|
"type": "union",
|
|
15740
15740
|
"types": [
|
|
15741
|
+
{
|
|
15742
|
+
"type": "literal",
|
|
15743
|
+
"value": "year"
|
|
15744
|
+
},
|
|
15741
15745
|
{
|
|
15742
15746
|
"type": "literal",
|
|
15743
15747
|
"value": "once"
|
|
@@ -15765,10 +15769,6 @@
|
|
|
15765
15769
|
{
|
|
15766
15770
|
"type": "literal",
|
|
15767
15771
|
"value": "month"
|
|
15768
|
-
},
|
|
15769
|
-
{
|
|
15770
|
-
"type": "literal",
|
|
15771
|
-
"value": "year"
|
|
15772
15772
|
}
|
|
15773
15773
|
]
|
|
15774
15774
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { XyoDataLike } from './XyoDataLike';
|
|
2
|
-
export declare const toUint8ArrayOptional: (value?: XyoDataLike
|
|
3
|
-
export declare const toUint8Array: (value: XyoDataLike, padLength?: number
|
|
2
|
+
export declare const toUint8ArrayOptional: (value?: XyoDataLike, padLength?: number) => Uint8Array | undefined;
|
|
3
|
+
export declare const toUint8Array: (value: XyoDataLike, padLength?: number) => Uint8Array;
|
|
@@ -4,5 +4,5 @@ import { DnsRecordType } from './DnsRecordType';
|
|
|
4
4
|
* @param domain - string
|
|
5
5
|
* @returns GoogleDnsResult
|
|
6
6
|
*/
|
|
7
|
-
declare const domainResolve: (domain?: string
|
|
7
|
+
declare const domainResolve: (domain?: string, type?: DnsRecordType) => Promise<import("./GoogleDnsResult").GoogleDnsResult | undefined>;
|
|
8
8
|
export { domainResolve };
|
package/package.json
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@babel/core": "^7.18.
|
|
23
|
-
"@babel/preset-env": "^7.18.
|
|
22
|
+
"@babel/core": "^7.18.2",
|
|
23
|
+
"@babel/preset-env": "^7.18.2",
|
|
24
24
|
"@types/elliptic": "^6.4.14",
|
|
25
25
|
"@types/lodash": "^4.14.182",
|
|
26
26
|
"@types/node": "^17.0.35",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@xylabs/ts-scripts": "^1.0.66",
|
|
31
31
|
"license-checker": "^25.0.1",
|
|
32
32
|
"tslib": "^2.4.0",
|
|
33
|
-
"typescript": "^4.
|
|
33
|
+
"typescript": "^4.7.2"
|
|
34
34
|
},
|
|
35
35
|
"browser": "dist/esm/browserIndex.js",
|
|
36
36
|
"docs": "dist/docs.json",
|
|
@@ -64,14 +64,11 @@
|
|
|
64
64
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
|
-
"deploy": "yarn deploy3",
|
|
68
67
|
"lint-pkg": "npmPkgJsonLint .",
|
|
69
|
-
"build": "yarn clean && tsc -p tsconfig.build.cjs.json && tsc -p tsconfig.build.esm.json && yarn gen:docs",
|
|
70
|
-
"gen:docs": "typedoc ./src/index.ts --json ./dist/docs.json --tsconfig ./tsconfig.json",
|
|
71
68
|
"license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
|
|
72
69
|
},
|
|
73
70
|
"sideEffects": true,
|
|
74
71
|
"types": "dist/esm/index.d.ts",
|
|
75
|
-
"version": "2.20.
|
|
72
|
+
"version": "2.20.36",
|
|
76
73
|
"packageManager": "yarn@3.1.1"
|
|
77
74
|
}
|