@intuned/runtime-dev 1.0.6-cli-auth.0.0.8-test → 1.0.6-cli-auth.0.0.9-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.
@@ -148,8 +148,8 @@ async function storeAuthSessionInstance(authSessionInstance, customName, authSes
148
148
  await fs.ensureDir(authSessionsDirectoryPath);
149
149
  const authSessionInstanceId = customName ?? `auth-session-${Date.now()}`;
150
150
  const authSessionInstancePath = _path.default.join(authSessionsDirectoryPath, authSessionInstanceId);
151
+ await fs.ensureDir(authSessionInstancePath);
151
152
  const authSessionInstanceStoragePath = _path.default.join(authSessionInstancePath, `auth-session.json`);
152
- await fs.ensureDir(authSessionInstanceStoragePath);
153
153
  await fs.writeJSON(authSessionInstanceStoragePath, authSessionInstance, {
154
154
  spaces: 2
155
155
  });
@@ -166,7 +166,6 @@ async function storeAuthSessionInstance(authSessionInstance, customName, authSes
166
166
  })
167
167
  };
168
168
  const authSessionInstanceMetadataPath = _path.default.join(authSessionInstancePath, `metadata.json`);
169
- await fs.ensureDir(authSessionInstanceMetadataPath);
170
169
  await fs.writeJSON(authSessionInstanceMetadataPath, authSessionMetadata, {
171
170
  spaces: 2
172
171
  });
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.8-test",
3
+ "version": "1.0.6-cli-auth.0.0.9-test",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",