@furystack/shades 11.0.9 → 11.0.11
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.
|
@@ -8,5 +8,5 @@ export type ShadeComponent<TProps = object> = (arg: TProps, children?: ChildrenL
|
|
|
8
8
|
* @param obj The object to check
|
|
9
9
|
* @returns a value that indicates if the object is a Shade component
|
|
10
10
|
*/
|
|
11
|
-
export declare const isShadeComponent: (obj: any) => obj is ShadeComponent<
|
|
11
|
+
export declare const isShadeComponent: <T = any>(obj: any) => obj is ShadeComponent<T>;
|
|
12
12
|
//# sourceMappingURL=shade-component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-component.d.ts","sourceRoot":"","sources":["../../src/models/shade-component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,YAAY,KAAK,GAAG,CAAC,OAAO,CAAA;AAEnG;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"shade-component.d.ts","sourceRoot":"","sources":["../../src/models/shade-component.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,MAAM,GAAG,MAAM,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,YAAY,KAAK,GAAG,CAAC,OAAO,CAAA;AAEnG;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,CAAC,aAAa,GAAG,KAAG,GAAG,IAAI,cAAc,CAAC,CAAC,CAE3E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shade-component.js","sourceRoot":"","sources":["../../src/models/shade-component.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,
|
|
1
|
+
{"version":3,"file":"shade-component.js","sourceRoot":"","sources":["../../src/models/shade-component.ts"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAU,GAAQ,EAA4B,EAAE;IAC9E,OAAO,OAAO,GAAG,KAAK,UAAU,CAAA;AAClC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@furystack/shades",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.11",
|
|
4
4
|
"description": "Google Authentication Provider for FuryStack",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"homepage": "https://github.com/furystack/furystack",
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/jsdom": "^21.1.7",
|
|
41
|
-
"@types/node": "^22.
|
|
41
|
+
"@types/node": "^22.9.3",
|
|
42
42
|
"jsdom": "^25.0.1",
|
|
43
|
-
"typescript": "^5.
|
|
44
|
-
"vitest": "^2.1.
|
|
43
|
+
"typescript": "^5.7.2",
|
|
44
|
+
"vitest": "^2.1.5"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@furystack/inject": "^12.0.
|
|
48
|
-
"@furystack/rest": "^8.0.
|
|
49
|
-
"@furystack/utils": "^8.0.
|
|
47
|
+
"@furystack/inject": "^12.0.8",
|
|
48
|
+
"@furystack/rest": "^8.0.10",
|
|
49
|
+
"@furystack/utils": "^8.0.7",
|
|
50
50
|
"path-to-regexp": "^8.2.0",
|
|
51
51
|
"semaphore-async-await": "^1.5.1"
|
|
52
52
|
},
|
|
@@ -10,6 +10,6 @@ export type ShadeComponent<TProps = object> = (arg: TProps, children?: ChildrenL
|
|
|
10
10
|
* @param obj The object to check
|
|
11
11
|
* @returns a value that indicates if the object is a Shade component
|
|
12
12
|
*/
|
|
13
|
-
export const isShadeComponent = (obj: any): obj is ShadeComponent<
|
|
13
|
+
export const isShadeComponent = <T = any>(obj: any): obj is ShadeComponent<T> => {
|
|
14
14
|
return typeof obj === 'function'
|
|
15
15
|
}
|