@aura-stack/hono 0.1.0 → 0.2.1
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.
- package/dist/index.d.ts +2 -2
- package/dist/oauth/authentik.cjs +1 -0
- package/dist/oauth/authentik.d.ts +1 -0
- package/dist/oauth/authentik.js +1 -0
- package/dist/oauth/google.cjs +1 -0
- package/dist/oauth/google.d.ts +1 -0
- package/dist/oauth/google.js +1 -0
- package/dist/oauth/hubspot.cjs +1 -0
- package/dist/oauth/hubspot.d.ts +1 -0
- package/dist/oauth/hubspot.js +1 -0
- package/dist/oauth/huggingface.cjs +1 -0
- package/dist/oauth/huggingface.d.ts +1 -0
- package/dist/oauth/huggingface.js +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import * as _$hono from "hono";
|
|
|
4
4
|
import { Context } from "hono";
|
|
5
5
|
import * as _$_aura_stack_auth_types0 from "@aura-stack/auth/types";
|
|
6
6
|
import { AuthConfig, AuthInstance, Session, User } from "@aura-stack/auth/types";
|
|
7
|
-
import * as _$_aura_stack_auth_oauth0 from "@aura-stack/auth/oauth";
|
|
8
7
|
|
|
9
8
|
//#region src/lib/with-auth.d.ts
|
|
10
9
|
type EnvWithSession<DefaultUser extends User$1 = User$1> = {
|
|
@@ -651,8 +650,9 @@ declare const createAuth: <Identity extends Identities>(config: AuthConfig$1<Ide
|
|
|
651
650
|
}, string, {}, Response>;
|
|
652
651
|
api: {
|
|
653
652
|
getSession: (options: _$_aura_stack_auth_types0.GetSessionAPIOptions) => Promise<_$_aura_stack_auth_types0.GetSessionAPIReturn<FromShapeToObject<Identity>>>;
|
|
654
|
-
signIn: (oauth: _$_aura_stack_auth_types0.LiteralUnion<_$
|
|
653
|
+
signIn: (oauth: _$_aura_stack_auth_types0.LiteralUnion<_$_aura_stack_auth_types0.BuiltInOAuthProvider>, options?: _$_aura_stack_auth_types0.SignInAPIOptions) => Promise<_$_aura_stack_auth_types0.SignInAPIReturn>;
|
|
655
654
|
signInCredentials: (options: _$_aura_stack_auth_types0.SignInCredentialsAPIOptions) => Promise<_$_aura_stack_auth_types0.SignInCredentialsAPIReturn>;
|
|
655
|
+
signUp: <Payload extends Record<string, any> = {}>(options: _$_aura_stack_auth_types0.SignUpAPIOptions<Payload>) => Promise<_$_aura_stack_auth_types0.SignUpAPIReturn>;
|
|
656
656
|
updateSession: (options: _$_aura_stack_auth_types0.UpdateSessionAPIOptions<FromShapeToObject<Identity>>) => Promise<_$_aura_stack_auth_types0.UpdateSessionAPIReturn<FromShapeToObject<Identity>>>;
|
|
657
657
|
signOut: (options: _$_aura_stack_auth_types0.SignOutAPIOptions) => Promise<_$_aura_stack_auth_types0.SignOutAPIReturn>;
|
|
658
658
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=require(`@aura-stack/auth/oauth/authentik`);Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@aura-stack/auth/oauth/authentik";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"@aura-stack/auth/oauth/authentik";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=require(`@aura-stack/auth/oauth/google`);Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@aura-stack/auth/oauth/google";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"@aura-stack/auth/oauth/google";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=require(`@aura-stack/auth/oauth/hubspot`);Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@aura-stack/auth/oauth/hubspot";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"@aura-stack/auth/oauth/hubspot";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=require(`@aura-stack/auth/oauth/huggingface`);Object.keys(e).forEach(function(t){t!==`default`&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@aura-stack/auth/oauth/huggingface";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from"@aura-stack/auth/oauth/huggingface";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aura-stack/hono",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Authentication integration for Hono applications. Provides middleware, route handlers and session verification powered by Aura Auth.",
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
},
|
|
79
79
|
"license": "MIT",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@aura-stack/auth": "0.
|
|
81
|
+
"@aura-stack/auth": "0.8.1"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"hono": "^4.12.
|
|
84
|
+
"hono": "^4.12.21",
|
|
85
85
|
"@types/bun": "^1.3.9",
|
|
86
86
|
"vitest": "4.1.4",
|
|
87
87
|
"@aura-stack/tsconfig": "0.0.0",
|