@authhero/kysely-adapter 0.24.4 → 0.25.0

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.
@@ -2987,10 +2987,11 @@ export interface ListCodesResponse extends Totals {
2987
2987
  codes: Code[];
2988
2988
  }
2989
2989
  export interface CodesAdapter {
2990
- create: (tenant_id: string, authCode: CodeInsert) => Promise<Code>;
2990
+ create: (tenant_id: string, code: CodeInsert) => Promise<Code>;
2991
2991
  get: (tenant_id: string, code_id: string, type: CodeType) => Promise<Code | null>;
2992
2992
  list: (tenant_id: string, params: ListParams) => Promise<ListCodesResponse>;
2993
- remove: (tenant_id: string, code: string) => Promise<boolean>;
2993
+ used: (tenant_id: string, code_id: string) => Promise<boolean>;
2994
+ remove: (tenant_id: string, code_id: string) => Promise<boolean>;
2994
2995
  }
2995
2996
  export interface PasswordsAdapter {
2996
2997
  create: (tenant_id: string, params: PasswordInsert) => Promise<Password>;