@insforge/sdk 1.4.1 → 1.4.3

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.
@@ -50,6 +50,30 @@ interface InsForgeConfig {
50
50
  * @default false
51
51
  */
52
52
  isServerMode?: boolean;
53
+ /**
54
+ * Advanced auth module options.
55
+ */
56
+ auth?: {
57
+ /**
58
+ * Detect and exchange OAuth callback parameters on browser client
59
+ * initialization. SSR browser clients disable this so auth mutations can
60
+ * stay server-owned.
61
+ * @default true
62
+ */
63
+ detectOAuthCallback?: boolean;
64
+ };
65
+ /**
66
+ * Database module options.
67
+ */
68
+ db?: {
69
+ /**
70
+ * Default Postgres schema for database queries. Maps to PostgREST's
71
+ * `Accept-Profile`/`Content-Profile` headers. Override per-query with
72
+ * `client.database.schema('other')`.
73
+ * @default "public"
74
+ */
75
+ schema?: string;
76
+ };
53
77
  /**
54
78
  * Custom headers to include with every request
55
79
  */
@@ -50,6 +50,30 @@ interface InsForgeConfig {
50
50
  * @default false
51
51
  */
52
52
  isServerMode?: boolean;
53
+ /**
54
+ * Advanced auth module options.
55
+ */
56
+ auth?: {
57
+ /**
58
+ * Detect and exchange OAuth callback parameters on browser client
59
+ * initialization. SSR browser clients disable this so auth mutations can
60
+ * stay server-owned.
61
+ * @default true
62
+ */
63
+ detectOAuthCallback?: boolean;
64
+ };
65
+ /**
66
+ * Database module options.
67
+ */
68
+ db?: {
69
+ /**
70
+ * Default Postgres schema for database queries. Maps to PostgREST's
71
+ * `Accept-Profile`/`Content-Profile` headers. Override per-query with
72
+ * `client.database.schema('other')`.
73
+ * @default "public"
74
+ */
75
+ schema?: string;
76
+ };
53
77
  /**
54
78
  * Custom headers to include with every request
55
79
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/sdk",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Official JavaScript/TypeScript client for InsForge Backend-as-a-Service platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",