@yaakapp/api 0.2.25 → 0.2.26

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.
@@ -205,6 +205,7 @@ export type FormInputText = {
205
205
  };
206
206
  export type GetHttpAuthenticationResponse = {
207
207
  name: string;
208
+ pluginName: string;
208
209
  config: Array<FormInput>;
209
210
  };
210
211
  export type GetHttpRequestActionsRequest = Record<string, never>;
@@ -1,5 +1,5 @@
1
1
  import { CallHttpAuthenticationRequest, CallHttpAuthenticationResponse, GetHttpAuthenticationResponse } from '..';
2
2
  import type { Context } from './Context';
3
- export type AuthenticationPlugin = GetHttpAuthenticationResponse & {
3
+ export type AuthenticationPlugin = Omit<GetHttpAuthenticationResponse, 'pluginName'> & {
4
4
  onApply(ctx: Context, args: CallHttpAuthenticationRequest): Promise<CallHttpAuthenticationResponse> | CallHttpAuthenticationResponse;
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaakapp/api",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "main": "lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "files": [