@xyo-network/typeof 3.0.6 → 3.0.8
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/TypeOfTypes.d.ts +2 -0
- package/dist/neutral/TypeOfTypes.d.ts.map +1 -0
- package/dist/neutral/ifDefined.d.ts +2 -0
- package/dist/neutral/ifDefined.d.ts.map +1 -0
- package/dist/neutral/ifTypeOf.d.ts +3 -0
- package/dist/neutral/ifTypeOf.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +6 -11
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/typeOf.d.ts +3 -0
- package/dist/neutral/typeOf.d.ts.map +1 -0
- package/dist/neutral/validateType.d.ts +3 -0
- package/dist/neutral/validateType.d.ts.map +1 -0
- package/package.json +22 -22
- package/xy.config.ts +1 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeOfTypes.d.ts","sourceRoot":"","sources":["../../src/TypeOfTypes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ifDefined.d.ts","sourceRoot":"","sources":["../../src/ifDefined.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAAG,CAAC,GAAG,SAW1E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ifTypeOf.d.ts","sourceRoot":"","sources":["../../src/ifTypeOf.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,eAAO,MAAM,QAAQ,GAAI,CAAC,EAAE,CAAC,YACjB,WAAW,SACd,OAAO,gBACA,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,eAChB,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,KACjC,CAAC,GAAG,SAMN,CAAA"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare const typeOf: <T>(item: T) => TypeOfTypes;
|
|
8
|
-
|
|
9
|
-
declare const validateType: <T>(typeName: TypeOfTypes, value: T, optional?: boolean) => [T | undefined, Error[]];
|
|
10
|
-
|
|
11
|
-
export { type TypeOfTypes, ifDefined, ifTypeOf, typeOf, validateType };
|
|
1
|
+
export * from './ifDefined.ts';
|
|
2
|
+
export * from './ifTypeOf.ts';
|
|
3
|
+
export * from './typeOf.ts';
|
|
4
|
+
export * from './TypeOfTypes.ts';
|
|
5
|
+
export * from './validateType.ts';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typeOf.d.ts","sourceRoot":"","sources":["../../src/typeOf.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,eAAO,MAAM,MAAM,GAAI,CAAC,QAAQ,CAAC,KAAG,WAEnC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateType.d.ts","sourceRoot":"","sources":["../../src/validateType.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,eAAO,MAAM,YAAY,GAAI,CAAC,YAAY,WAAW,SAAS,CAAC,yBAAqB,CAAC,CAAC,GAAG,SAAS,EAAE,KAAK,EAAE,CAY1G,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/typeof",
|
|
3
|
+
"version": "3.0.8",
|
|
4
|
+
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
|
+
"homepage": "https://xyo.network",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
8
|
+
"email": "support@xyo.network"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
13
|
+
},
|
|
14
|
+
"license": "LGPL-3.0-only",
|
|
3
15
|
"author": {
|
|
4
|
-
"email": "support@xyo.network",
|
|
5
16
|
"name": "XYO Development Team",
|
|
6
|
-
"url": "https://xyo.network"
|
|
7
|
-
},
|
|
8
|
-
"bugs": {
|
|
9
17
|
"email": "support@xyo.network",
|
|
10
|
-
"url": "
|
|
11
|
-
},
|
|
12
|
-
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"@types/node": "^22.5.0",
|
|
15
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.30",
|
|
16
|
-
"@xylabs/tsconfig": "^4.0.0-rc.30",
|
|
17
|
-
"typescript": "^5.5.4"
|
|
18
|
+
"url": "https://xyo.network"
|
|
18
19
|
},
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"type": "module",
|
|
19
22
|
"exports": {
|
|
20
23
|
".": {
|
|
21
24
|
"types": "./dist/neutral/index.d.ts",
|
|
@@ -25,16 +28,13 @@
|
|
|
25
28
|
},
|
|
26
29
|
"module": "dist/neutral/index.mjs",
|
|
27
30
|
"types": "dist/neutral/index.d.ts",
|
|
28
|
-
"
|
|
29
|
-
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/node": "^22.5.0",
|
|
33
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
34
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
35
|
+
"typescript": "^5.5.4"
|
|
36
|
+
},
|
|
30
37
|
"publishConfig": {
|
|
31
38
|
"access": "public"
|
|
32
|
-
}
|
|
33
|
-
"repository": {
|
|
34
|
-
"type": "git",
|
|
35
|
-
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
36
|
-
},
|
|
37
|
-
"sideEffects": false,
|
|
38
|
-
"version": "3.0.6",
|
|
39
|
-
"type": "module"
|
|
39
|
+
}
|
|
40
40
|
}
|