@dymo-api/better-auth 1.2.15 → 1.2.16

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.
@@ -35,7 +35,7 @@ const dymoEmailPlugin = ({ apiKey, emailRules }) => {
35
35
  reasons: decision.reasons
36
36
  });
37
37
  }
38
- return { context: ctx, payload: decision.response };
38
+ return { context: ctx, dymoEmail: decision.response };
39
39
  })
40
40
  }
41
41
  ]
package/dist/esm/index.js CHANGED
@@ -29,7 +29,7 @@ export const dymoEmailPlugin = ({ apiKey, emailRules }) => {
29
29
  reasons: decision.reasons
30
30
  });
31
31
  }
32
- return { context: ctx, payload: decision.response };
32
+ return { context: ctx, dymoEmail: decision.response };
33
33
  })
34
34
  }
35
35
  ]
@@ -10,7 +10,7 @@ export declare const dymoEmailPlugin: ({ apiKey, emailRules }: DymoEmailPluginOp
10
10
  matcher: (context: any) => any;
11
11
  handler: (inputContext: import("better-auth").MiddlewareInputContext<import("better-auth").MiddlewareOptions>) => Promise<{
12
12
  context: any;
13
- payload: DataEmailValidationAnalysis;
13
+ dymoEmail: DataEmailValidationAnalysis;
14
14
  }>;
15
15
  }[];
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dymo-api/better-auth",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/cjs/dymo-api.js",
6
6
  "module": "dist/esm/dymo-api.js",