@tywalk/pcf-helper 1.5.4 → 1.5.5
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.
- package/dist/package.json +1 -1
- package/dist/tasks/session-pcf.js +3 -3
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -71,10 +71,10 @@ function loadConfig(config) {
|
|
|
71
71
|
remoteStylesheetToIntercept: remoteStylesheetToIntercept,
|
|
72
72
|
localCssPath: process.env.LOCAL_CSS_PATH ||
|
|
73
73
|
fileConfig.localCssPath ||
|
|
74
|
-
path_1.default.join(
|
|
74
|
+
path_1.default.join(process.cwd(), 'dist', 'local-control-styles.css'),
|
|
75
75
|
localBundlePath: process.env.LOCAL_BUNDLE_PATH ||
|
|
76
76
|
fileConfig.localBundlePath ||
|
|
77
|
-
path_1.default.join(
|
|
77
|
+
path_1.default.join(process.cwd(), 'dist', 'local-control-bundle.js')
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
function runSession(remoteEnvironmentUrl, remoteScriptToIntercept, remoteStylesheetToIntercept, localBundlePath, localCssPath) {
|
|
@@ -96,7 +96,7 @@ function runSession(remoteEnvironmentUrl, remoteScriptToIntercept, remoteStylesh
|
|
|
96
96
|
color_logger_1.default.debug(` Local CSS path: ${LOCAL_CSS_PATH}`);
|
|
97
97
|
color_logger_1.default.debug('');
|
|
98
98
|
// Path to store your session cookies
|
|
99
|
-
const AUTH_DIR = path_1.default.join(
|
|
99
|
+
const AUTH_DIR = path_1.default.join(process.cwd(), '.auth');
|
|
100
100
|
const STATE_FILE = path_1.default.join(AUTH_DIR, 'state.json');
|
|
101
101
|
(() => __awaiter(this, void 0, void 0, function* () {
|
|
102
102
|
color_logger_1.default.log('🚀 Starting ephemeral browser session...');
|