subos-frontend 1.0.54 → 1.0.56
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/index.js
CHANGED
|
@@ -173,7 +173,8 @@ var plansApi = {
|
|
|
173
173
|
};
|
|
174
174
|
var subscriptionApi = {
|
|
175
175
|
getActiveSubscription: async (externalId) => {
|
|
176
|
-
|
|
176
|
+
console.log("getDefaultProjectId", getDefaultProjectId());
|
|
177
|
+
return apiRequest(`${ENDPOINTS.SUBSCRIPTION}/${externalId}`, "GET", void 0, { projectId: getDefaultProjectId() });
|
|
177
178
|
},
|
|
178
179
|
cancelSubscription: async (externalId, options) => {
|
|
179
180
|
let endpoint = `${ENDPOINTS.SUBSCRIPTION}/${externalId}`;
|
|
@@ -1031,7 +1032,7 @@ var PlanCard = ({
|
|
|
1031
1032
|
billingCycle,
|
|
1032
1033
|
onSelect,
|
|
1033
1034
|
isActive = false,
|
|
1034
|
-
comparisonUrl = "https://
|
|
1035
|
+
comparisonUrl = "https://arthajobboard.com/pricing"
|
|
1035
1036
|
}) => {
|
|
1036
1037
|
const features = getPlanFeatures(plan);
|
|
1037
1038
|
const description = getPlanDescription(plan);
|
|
@@ -2820,9 +2821,11 @@ var UpgradeSummary = ({
|
|
|
2820
2821
|
return null;
|
|
2821
2822
|
}
|
|
2822
2823
|
const displayInfo = checkoutInfo;
|
|
2824
|
+
console.log("displayInfo", displayInfo);
|
|
2823
2825
|
const intervalDisplay = displayInfo.planInterval === "MONTHLY" ? "Mo" : "Yr";
|
|
2824
2826
|
const dueToday = displayInfo.proration > 0 ? displayInfo.proration : displayInfo.planPrice;
|
|
2825
2827
|
const shouldContactSupport = !!displayInfo.contactSupport;
|
|
2828
|
+
console.log("displayInfo", displayInfo);
|
|
2826
2829
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2827
2830
|
"div",
|
|
2828
2831
|
{
|