@instroc/auth 2.0.0-alpha.1 → 2.0.0-alpha.2

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.
@@ -29,7 +29,7 @@ import { getInstrocConfig } from "@instroc/client";
29
29
 
30
30
  // src/version.ts
31
31
  var SDK_NAME = "instroc-auth";
32
- var SDK_VERSION = true ? "2.0.0-alpha.1" : "0.0.0-dev";
32
+ var SDK_VERSION = true ? "2.0.0-alpha.2" : "0.0.0-dev";
33
33
  function withSdkHeader(init) {
34
34
  const headers = new Headers(init?.headers ?? {});
35
35
  headers.set("X-Instroc-SDK", `${SDK_NAME}/${SDK_VERSION}`);
package/dist/forms.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  useOtpForm,
5
5
  useResetPasswordForm,
6
6
  useSignupForm
7
- } from "./chunk-L3F76GZD.js";
7
+ } from "./chunk-26ODM5TP.js";
8
8
  export {
9
9
  useForgotPasswordForm,
10
10
  useLoginForm,
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  useSession,
15
15
  useSignupForm,
16
16
  useUser
17
- } from "./chunk-L3F76GZD.js";
17
+ } from "./chunk-26ODM5TP.js";
18
18
 
19
19
  // src/provider.tsx
20
20
  import { useEffect } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instroc/auth",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0-alpha.2",
4
4
  "description": "Authentication hooks for Instroc Cloud — store-based useAuth/useUser with backward-compatible AuthProvider shim",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -18,15 +18,11 @@
18
18
  "files": [
19
19
  "dist"
20
20
  ],
21
- "scripts": {
22
- "build": "tsup",
23
- "dev": "tsup --watch"
24
- },
25
21
  "peerDependencies": {
26
22
  "react": "^18.0.0 || ^19.0.0"
27
23
  },
28
24
  "dependencies": {
29
- "@instroc/client": "workspace:*"
25
+ "@instroc/client": "1.0.0-alpha.1"
30
26
  },
31
27
  "devDependencies": {
32
28
  "tsup": "^8.0.0",
@@ -40,5 +36,9 @@
40
36
  },
41
37
  "publishConfig": {
42
38
  "access": "public"
39
+ },
40
+ "scripts": {
41
+ "build": "tsup",
42
+ "dev": "tsup --watch"
43
43
  }
44
- }
44
+ }