@blocklet/launcher-workflow 2.3.64 → 2.3.65

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/es/prepare.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import Center from '@arcblock/ux/lib/Center';
2
2
  import Toast from '@arcblock/ux/lib/Toast';
3
3
  import { LAUNCH_STATUS } from '@blocklet/launcher-util/es/constant';
4
- import { getBlockletAdminURL, getBlockletLogoUrl, getBlockletMetaUrlFromQuery, getDefaultTrialEnd } from '@blocklet/launcher-util/es/util';
4
+ import { getBlockletAdminURL, getBlockletLogoUrl, getBlockletMetaUrlFromQuery } from '@blocklet/launcher-util/es/util';
5
5
  import useMobile from '@blocklet/launcher-ux/lib/use-mobile';
6
6
  import CheckoutOnDemand from '@blocklet/launcher-ux/lib/payment/checkout/on-demand';
7
7
  import { CheckoutTable, PaymentProvider } from '@blocklet/payment-react';
@@ -339,7 +339,6 @@ function Content({
339
339
  mode: "inline",
340
340
  extraParams: {
341
341
  'metadata.session_id': launch._id,
342
- 'subscription_data.trial_end': getDefaultTrialEnd(),
343
342
  'subscription_data.days_until_due': 0,
344
343
  'subscription_data.days_until_cancel': window.blocklet?.preferences?.daysUntilCancel || 30
345
344
  },
package/lib/prepare.js CHANGED
@@ -354,7 +354,6 @@ function Content(_ref) {
354
354
  mode: "inline",
355
355
  extraParams: {
356
356
  'metadata.session_id': launch._id,
357
- 'subscription_data.trial_end': (0, _util.getDefaultTrialEnd)(),
358
357
  'subscription_data.days_until_due': 0,
359
358
  'subscription_data.days_until_cancel': ((_window$blocklet5 = window.blocklet) === null || _window$blocklet5 === void 0 || (_window$blocklet5 = _window$blocklet5.preferences) === null || _window$blocklet5 === void 0 ? void 0 : _window$blocklet5.daysUntilCancel) || 30
360
359
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/launcher-workflow",
3
- "version": "2.3.64",
3
+ "version": "2.3.65",
4
4
  "description": "Purchase components for Launcher UI",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -47,8 +47,8 @@
47
47
  "@arcblock/react-hooks": "^2.10.40",
48
48
  "@arcblock/ux": "^2.10.40",
49
49
  "@blocklet/launcher-layout": "^2.10.40",
50
- "@blocklet/launcher-util": "2.3.64",
51
- "@blocklet/launcher-ux": "2.3.64",
50
+ "@blocklet/launcher-util": "2.3.65",
51
+ "@blocklet/launcher-ux": "2.3.65",
52
52
  "@blocklet/payment": "^1.14.8",
53
53
  "@blocklet/payment-react": "^1.15.14",
54
54
  "@emotion/react": "^11.13.3",
@@ -105,5 +105,5 @@
105
105
  "require": "./lib/locales/index.js"
106
106
  }
107
107
  },
108
- "gitHead": "95c58de49aba2495c7d832b268d27fe3eace24be"
108
+ "gitHead": "fd9d8f05cc456803d3b15c9435a907d963efc061"
109
109
  }