@fabriktor/fx 0.0.153 → 0.0.155
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.
|
@@ -55,6 +55,7 @@ export type StartMarketplaceSessionOptions = MarketplacePullContext & {
|
|
|
55
55
|
on_error?: MarketplaceSessionErrorHandler;
|
|
56
56
|
};
|
|
57
57
|
export type StartMarketplaceWelcomeSessionOptions = {
|
|
58
|
+
research?: string;
|
|
58
59
|
signal?: AbortSignal;
|
|
59
60
|
country: string;
|
|
60
61
|
state?: string;
|
|
@@ -446,11 +446,8 @@ function marketplaceLocationResearch(opts) {
|
|
|
446
446
|
msg: msgMarketplaceCountryRequired,
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
return country;
|
|
452
|
-
}
|
|
453
|
-
return `${state}, ${country}`;
|
|
449
|
+
const location = [opts.state?.trim(), country].filter(Boolean).join(", ");
|
|
450
|
+
return [opts.research?.trim(), location].filter(Boolean).join("\n");
|
|
454
451
|
}
|
|
455
452
|
function marketplaceSessionToken(out) {
|
|
456
453
|
const token = resolvedValue(out.value?.session_token);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabriktor/fx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.155",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"typescript": "^6.0.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fabriktor/client": "0.0.
|
|
20
|
+
"@fabriktor/client": "0.0.101",
|
|
21
21
|
"@fabriktor/fx": "0.0.94",
|
|
22
22
|
"@fabriktor/schema": "0.0.70",
|
|
23
23
|
"convert": "8.0.2"
|