@intuned/runtime-dev 1.0.6-cli-auth.0.0.20-test → 1.0.6-cli-auth.0.1.0-test

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.
@@ -189,7 +189,9 @@ async function storeAuthSessionInstance(authSessionInstance, customName, authSes
189
189
  const authSessionMetadata = {
190
190
  createdAt: existingMetadata.createdAt || new Date().toISOString(),
191
191
  updatedAt: new Date().toISOString(),
192
- authSessionInput: authSessionInput || existingMetadata.authSessionInput || {},
192
+ ...(projectAuthConfig.type === "API" && {
193
+ authSessionInput: authSessionInput || existingMetadata.authSessionInput || {}
194
+ }),
193
195
  authSessionId: authSessionInstanceId,
194
196
  authSessionType: projectAuthConfig.type ?? existingMetadata.authSessionType ?? "API",
195
197
  ...(projectAuthConfig.type === "MANUAL" && {
@@ -4,5 +4,5 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- const exclusions = ["node_modules/**", ".git/**", "dist/**", "build/**", "coverage/**", ".next/**", ".cache/**", "out/**", "tmp/**", ".DS_Store", "npm-debug.log*", "yarn-debug.log*", "yarn-error.log*", ".env", ".env.*", "**/*.map", "**/*.tsbuildinfo", "tsconfig.json", "parameters/**", "output/**", "README.md"];
7
+ const exclusions = ["node_modules/**", ".git/**", "dist/**", "build/**", "coverage/**", ".next/**", ".cache/**", "out/**", "tmp/**", ".DS_Store", "npm-debug.log*", "yarn-debug.log*", "yarn-error.log*", ".env", ".env.*", "**/*.map", "**/*.tsbuildinfo", "tsconfig.json", "parameters/**", "output/**", "auth-sessions-instances/**", "README.md"];
8
8
  var _default = exports.default = exclusions;
@@ -59,9 +59,9 @@ export type AuthSessionType = "API" | "MANUAL";
59
59
  export type AuthSessionMetadata = {
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- authSessionInput: Record<string, any>;
63
62
  authSessionId: string;
64
63
  authSessionType: AuthSessionType;
64
+ authSessionInput?: Record<string, any>;
65
65
  recorderStartUrl?: string;
66
66
  recorderEndUrl?: string;
67
67
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.0.6-cli-auth.0.0.20-test",
3
+ "version": "1.0.6-cli-auth.0.1.0-test",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",