oiu-core 0.0.8 → 0.0.10

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.
@@ -1 +1 @@
1
- ._overlay_o73ej_1{min-width:100%}._dummy_o73ej_7{min-height:100vh}
1
+ ._overlay_1ol4o_1{min-width:100%}._dummy_1ol4o_7{min-height:100vh}.wait-overlay{position:inherit}
@@ -2,6 +2,8 @@ import { PropsWithChildren } from 'react';
2
2
  import { IAuthService } from './_type';
3
3
  /** Props for the AuthenticationProvider component. */
4
4
  export type AuthenticationProviderProps = PropsWithChildren<{
5
+ /** Optional CSS class name to apply to the Wait component wrapper */
6
+ className?: string;
5
7
  /** The authentication service to be used for managing user identity. */
6
8
  service?: IAuthService;
7
9
  }>;
@@ -10,5 +12,5 @@ export type AuthenticationProviderProps = PropsWithChildren<{
10
12
  * @param param0
11
13
  * @returns
12
14
  */
13
- export declare function AuthenticationProvider({ service, children }: AuthenticationProviderProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function AuthenticationProvider({ className, service, children }: AuthenticationProviderProps): import("react/jsx-runtime").JSX.Element;
14
16
  //# sourceMappingURL=AuthenticationProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthenticationProvider.d.ts","sourceRoot":"","sources":["../../lib/auth/AuthenticationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA2C,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,YAAY,EAAY,MAAM,SAAS,CAAC;AAOjD,sDAAsD;AACtD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IACxD,wEAAwE;IACxE,OAAO,CAAC,EAAE,YAAY,CAAA;CACzB,CAAC,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,2BAA2B,2CA2CxF"}
1
+ {"version":3,"file":"AuthenticationProvider.d.ts","sourceRoot":"","sources":["../../lib/auth/AuthenticationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA2C,MAAM,OAAO,CAAC;AAKnF,OAAO,EAAE,YAAY,EAAY,MAAM,SAAS,CAAC;AAOjD,sDAAsD;AACtD,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IACxD,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,OAAO,CAAC,EAAE,YAAY,CAAA;CACzB,CAAC,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,2BAA2B,2CA2CnG"}
@@ -6,6 +6,8 @@ export type PermissionFn = (identity?: Identity) => {
6
6
  denied: Permission[];
7
7
  };
8
8
  export type AuthorizationProviderProps = PropsWithChildren<{
9
+ /** Optional CSS class name to apply to the Wait component wrapper */
10
+ className?: string;
9
11
  /** Get permission for the current identity */
10
12
  getPermissionFor: PermissionFn;
11
13
  /** Default ability to be use */
@@ -16,5 +18,5 @@ export type AuthorizationProviderProps = PropsWithChildren<{
16
18
  * @param param0
17
19
  * @returns
18
20
  */
19
- export declare function AuthorizationProvider({ children, getPermissionFor, defaultAbility }: AuthorizationProviderProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function AuthorizationProvider({ className, children, getPermissionFor, defaultAbility }: AuthorizationProviderProps): import("react/jsx-runtime").JSX.Element;
20
22
  //# sourceMappingURL=AuthorizationProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizationProvider.d.ts","sourceRoot":"","sources":["../../lib/auth/AuthorizationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAsC,YAAY,EAAE,MAAM,eAAe,CAAC;AAKjF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAa/C,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK;IAAE,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,MAAM,EAAE,UAAU,EAAE,CAAA;CAAE,CAAC;AACpG,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACvD,8CAA8C;IAC9C,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gCAAgC;IAChC,cAAc,CAAC,EAAE,YAAY,CAAC;CACjC,CAAC,CAAC;AACH;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,EAAE,0BAA0B,2CA0C/G"}
1
+ {"version":3,"file":"AuthorizationProvider.d.ts","sourceRoot":"","sources":["../../lib/auth/AuthorizationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAgC,MAAM,OAAO,CAAC;AAGxE,OAAO,EAAsC,YAAY,EAAE,MAAM,eAAe,CAAC;AAKjF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAa/C,MAAM,MAAM,YAAY,GAAG,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK;IAAE,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,MAAM,EAAE,UAAU,EAAE,CAAA;CAAE,CAAC;AACpG,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;IACvD,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,gBAAgB,EAAE,YAAY,CAAC;IAC/B,gCAAgC;IAChC,cAAc,CAAC,EAAE,YAAY,CAAC;CACjC,CAAC,CAAC;AACH;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,EAAE,0BAA0B,2CA0C1H"}
@@ -1,6 +1,8 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { Config, FillFn } from '../../utils/config';
3
3
  export type ConfigLoaderProps<TConfig extends Config, TRemoteConfig> = PropsWithChildren<{
4
+ /** Optional CSS class name to apply to the Wait component wrapper */
5
+ className?: string;
4
6
  /** Populate the local configuration from the remote configuration and return the OIUConfig */
5
7
  fill: FillFn<TRemoteConfig>;
6
8
  /** Get reference to the local configuration to be populated */
@@ -18,5 +20,5 @@ export type ConfigLoaderProps<TConfig extends Config, TRemoteConfig> = PropsWith
18
20
  * @param param0
19
21
  * @returns
20
22
  */
21
- export declare function ConfigLoader<TConfig extends Config, TRemoteConfig>({ getRef, fill, customLoad, children, onLoad }: ConfigLoaderProps<TConfig, TRemoteConfig>): import("react/jsx-runtime").JSX.Element;
23
+ export declare function ConfigLoader<TConfig extends Config, TRemoteConfig>({ className, getRef, fill, customLoad, children, onLoad }: ConfigLoaderProps<TConfig, TRemoteConfig>): import("react/jsx-runtime").JSX.Element;
22
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ConfigLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAI/D,OAAO,EAAyB,MAAM,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI3E,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,MAAM,EAAE,aAAa,IAAI,iBAAiB,CAAC;IACrF,8FAA8F;IAC9F,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;IAC5B,+DAA+D;IAC/D,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1C;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC,CAAC;AACH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,SAAS,MAAM,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,2CA4B5J"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ConfigLoader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAI/D,OAAO,EAAyB,MAAM,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI3E,MAAM,MAAM,iBAAiB,CAAC,OAAO,SAAS,MAAM,EAAE,aAAa,IAAI,iBAAiB,CAAC;IACrF,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8FAA8F;IAC9F,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC,CAAC;IAC5B,+DAA+D;IAC/D,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,+FAA+F;IAC/F,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1C;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACzC,CAAC,CAAC;AACH;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,OAAO,SAAS,MAAM,EAAE,aAAa,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,2CA4BvK"}
@@ -7,6 +7,8 @@ export type LangText = Record<string, {
7
7
  };
8
8
  }>;
9
9
  export type LangProviderProps = PropsWithChildren<{
10
+ /** Optional CSS class name to apply to the Wait component wrapper */
11
+ className?: string;
10
12
  /** Language information to be use in the site */
11
13
  lang: LangInfo;
12
14
  defaultTexts?: LangText;
@@ -18,5 +20,5 @@ export type LangProviderProps = PropsWithChildren<{
18
20
  * @param param0 component arguments
19
21
  * @returns
20
22
  */
21
- export declare function LangProvider({ children, lang, langFiles, defaultTexts }: LangProviderProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function LangProvider({ children, className, lang, langFiles, defaultTexts }: LangProviderProps): import("react/jsx-runtime").JSX.Element;
22
24
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/LangProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA8B,MAAM,OAAO,CAAC;AAKtE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAe,MAAM,gBAAgB,CAAC;AAyBhE,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,CAAC;AACrF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,iDAAiD;IACjD,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;CACnD,CAAC,CAAC;AACH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAuB,EAAE,EAAE,iBAAiB,2CAiDrG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/LangProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA8B,MAAM,OAAO,CAAC;AAKtE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAe,MAAM,gBAAgB,CAAC;AAyBhE,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,CAAC;AACrF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;CACnD,CAAC,CAAC;AACH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAuB,EAAE,EAAE,iBAAiB,2CAiDhH"}
@@ -17,6 +17,8 @@ export type SpinOrSkeletonProps<TSpinProps, TSkeletonProps> = {
17
17
  skeleton: SpinProps<TSkeletonProps>;
18
18
  };
19
19
  export type WaitProps<TSpinProps = unknown, TSkeletonProps = unknown> = PropsWithChildren<{
20
+ /** Optional CSS class name to apply to the Wait component wrapper */
21
+ className?: string;
20
22
  /** Use translation api to resolve the text */
21
23
  useTranslation?: boolean;
22
24
  /** Show children when the spin is spinning in other case hide the children component */
@@ -1 +1 @@
1
- {"version":3,"file":"_type.d.ts","sourceRoot":"","sources":["../../../lib/components/Wait/_type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,iBAAiB,CAAC;IACzC,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,CAAC,CAAC;CAClB,CAAC,CAAC;AACH,MAAM,MAAM,mBAAmB,CAAC,UAAU,EAAE,cAAc,IAAI;IAAE,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;CAAE,CAAC;AACxK,MAAM,MAAM,SAAS,CAAC,UAAU,GAAG,OAAO,EAAE,cAAc,GAAG,OAAO,IAAI,iBAAiB,CACrF;IACI,8CAA8C;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wFAAwF;IACxF,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,mBAAmB,CAAC,UAAU,EAAE,cAAc,CAAC,CACtD,CAAC;AACF,MAAM,MAAM,iBAAiB,CAAC,UAAU,EAAE,cAAc,IAAI,aAAa,CAAC,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,GAAG;IAC/G,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB,QAAQ,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,cAAc,CAAC;CAClC,CAAC"}
1
+ {"version":3,"file":"_type.d.ts","sourceRoot":"","sources":["../../../lib/components/Wait/_type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,iBAAiB,CAAC;IACzC,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,CAAC,CAAC;CAClB,CAAC,CAAC;AACH,MAAM,MAAM,mBAAmB,CAAC,UAAU,EAAE,cAAc,IAAI;IAAE,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,IAAI,CAAC,EAAE,KAAK,CAAC;IAAC,QAAQ,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;CAAE,CAAC;AACxK,MAAM,MAAM,SAAS,CAAC,UAAU,GAAG,OAAO,EAAE,cAAc,GAAG,OAAO,IAAI,iBAAiB,CACrF;IACI,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wFAAwF;IACxF,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B,GAAG,mBAAmB,CAAC,UAAU,EAAE,cAAc,CAAC,CACtD,CAAC;AACF,MAAM,MAAM,iBAAiB,CAAC,UAAU,EAAE,cAAc,IAAI,aAAa,CAAC,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC,GAAG;IAC/G,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,UAAU,CAAC;IAEvB,QAAQ,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;IACpD,aAAa,CAAC,EAAE,cAAc,CAAC;CAClC,CAAC"}
@@ -4,6 +4,6 @@ import { WaitProps, SpinProps } from './_type';
4
4
  * @param param0
5
5
  * @returns
6
6
  */
7
- export declare const Wait: import("react").MemoExoticComponent<(<TSpinProps = unknown, TSkeletonProps = unknown>({ showChildren, useTranslation, spin, skeleton, children, }: WaitProps<TSpinProps, TSkeletonProps>) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>> | import("react/jsx-runtime").JSX.Element)>;
7
+ export declare const Wait: import("react").MemoExoticComponent<(<TSpinProps = unknown, TSkeletonProps = unknown>({ showChildren, useTranslation, className, spin, skeleton, children, }: WaitProps<TSpinProps, TSkeletonProps>) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>> | import("react/jsx-runtime").JSX.Element)>;
8
8
  export type { SpinProps, WaitProps };
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Wait/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAqB,MAAM,SAAS,CAAC;AAOlE;;;;GAIG;AACH,eAAO,MAAM,IAAI,wCAAkB,UAAU,YAAY,cAAc,yEAMpE,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC,wUAoBtC,CAAC;AA4DH,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Wait/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAqB,MAAM,SAAS,CAAC;AAOlE;;;;GAIG;AACH,eAAO,MAAM,IAAI,wCAAkB,UAAU,YAAY,cAAc,oFAOpE,SAAS,CAAC,UAAU,EAAE,cAAc,CAAC,wUAoBtC,CAAC;AA+DH,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { A as Re, P as f, a as $, d as Ue } from "./main-t1Pb0Njt.js";
1
+ import { A as Re, P as f, a as $, d as Ue } from "./main-C4gXB3rr.js";
2
2
  class j extends Error {
3
3
  }
4
4
  j.prototype.name = "InvalidTokenError";