@insforge/sdk 1.4.1 → 1.4.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.
@@ -50,6 +50,18 @@ 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
+ };
53
65
  /**
54
66
  * Custom headers to include with every request
55
67
  */
@@ -50,6 +50,18 @@ 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
+ };
53
65
  /**
54
66
  * Custom headers to include with every request
55
67
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/sdk",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
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",