@lokalise/harmony 1.6.0-exp-jwtutils.6 → 1.6.0-exp-jwtutils.7

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,6 +1,6 @@
1
1
  import { Wretch, WretchAddon } from 'wretch/types';
2
2
  import { JwtAuthProps } from './middleware/jwtAuthMiddleware';
3
- export interface LokaliseAuthAddonInterface {
4
- lokaliseAuth<T extends LokaliseAuthAddonInterface>(this: T & Wretch<T>, props: JwtAuthProps): this;
3
+ export interface LokaliseAuthAddon {
4
+ lokaliseAuth<T extends LokaliseAuthAddon>(this: T & Wretch<T>, props: JwtAuthProps): this;
5
5
  }
6
- export declare const LokaliseAuthAddon: WretchAddon<LokaliseAuthAddonInterface>;
6
+ export declare const LokaliseAuthAddon: WretchAddon<LokaliseAuthAddon>;
@@ -20,9 +20,9 @@ type BrowserPromoteAuthProps = Omit<PromoteAuthProps, 'getCachedJwtToken' | 'get
20
20
  */
21
21
  getCsrfToken?: PromoteAuthProps['getCsrfToken'];
22
22
  };
23
- export interface LokaliseAuthBrowserAddonInterface {
24
- lokaliseAuth<T extends LokaliseAuthBrowserAddonInterface>(this: T & Wretch<T>, props?: BrowserJwtAuthProps): this;
25
- promoteClassicSession<T extends LokaliseAuthBrowserAddonInterface>(this: T & Wretch<T>, props: BrowserPromoteAuthProps): this;
23
+ export interface LokaliseAuthBrowserAddon {
24
+ lokaliseAuth<T extends LokaliseAuthBrowserAddon>(this: T & Wretch<T>, props?: BrowserJwtAuthProps): this;
25
+ promoteClassicSession<T extends LokaliseAuthBrowserAddon>(this: T & Wretch<T>, props: BrowserPromoteAuthProps): this;
26
26
  }
27
- export declare const LokaliseAuthBrowserAddon: WretchAddon<LokaliseAuthBrowserAddonInterface>;
27
+ export declare const LokaliseAuthBrowserAddon: WretchAddon<LokaliseAuthBrowserAddon>;
28
28
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lokalise/harmony",
3
- "version": "1.6.0-exp-jwtutils.6",
3
+ "version": "1.6.0-exp-jwtutils.7",
4
4
  "author": {
5
5
  "name": "Lokalise",
6
6
  "url": "https://lokalise.com/"