@molecule/api-resource-payment 1.0.5 → 1.0.6
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/plans.d.ts.map +1 -1
- package/dist/plans.js +13 -11
- package/dist/plans.js.map +1 -1
- package/package.json +1 -1
package/dist/plans.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../src/plans.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"plans.d.ts","sourceRoot":"","sources":["../src/plans.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAA;AAwBtC,gEAAgE;AAChE,eAAO,MAAM,aAAa,EAAE,IAe3B,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,YAAY,EAAE,IAmB1B,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,YAAY,EAAE,IAe1B,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,WAAW,EAAE,IAmBzB,CAAA;AAED,wEAAwE;AACxE,eAAO,MAAM,aAAa,EAAE,IAe3B,CAAA;AAED,uEAAuE;AACvE,eAAO,MAAM,YAAY,EAAE,IAmB1B,CAAA;AAED,uGAAuG;AACvG,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAQtC,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,aAAa,GAAI,aAAa,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,KAAG,IAIjE,CAAA"}
|
package/dist/plans.js
CHANGED
|
@@ -9,10 +9,12 @@ const defaultPlan = {
|
|
|
9
9
|
title: t('payment.plan.free.title', undefined, { defaultValue: 'Free' }),
|
|
10
10
|
titleKey: 'payment.plan.free.title',
|
|
11
11
|
description: t('payment.plan.free.description', undefined, {
|
|
12
|
-
defaultValue: '
|
|
12
|
+
defaultValue: 'Certain features are limited. Upgrade your plan to unlock premium features.',
|
|
13
13
|
}),
|
|
14
14
|
descriptionKey: 'payment.plan.free.description',
|
|
15
|
-
shortDescription: t('payment.plan.free.shortDescription', undefined, {
|
|
15
|
+
shortDescription: t('payment.plan.free.shortDescription', undefined, {
|
|
16
|
+
defaultValue: 'Limited features and usage.',
|
|
17
|
+
}),
|
|
16
18
|
shortDescriptionKey: 'payment.plan.free.shortDescription',
|
|
17
19
|
capabilities: {
|
|
18
20
|
premium: false,
|
|
@@ -30,7 +32,7 @@ export const stripeMonthly = {
|
|
|
30
32
|
title: t('payment.plan.monthly.title', undefined, { defaultValue: 'Monthly' }),
|
|
31
33
|
titleKey: 'payment.plan.monthly.title',
|
|
32
34
|
description: t('payment.plan.premium.description', undefined, {
|
|
33
|
-
defaultValue: '
|
|
35
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
34
36
|
}),
|
|
35
37
|
descriptionKey: 'payment.plan.premium.description',
|
|
36
38
|
capabilities: { premium: true },
|
|
@@ -47,11 +49,11 @@ export const stripeYearly = {
|
|
|
47
49
|
title: t('payment.plan.yearly.title', undefined, { defaultValue: 'Yearly' }),
|
|
48
50
|
titleKey: 'payment.plan.yearly.title',
|
|
49
51
|
description: t('payment.plan.premium.description', undefined, {
|
|
50
|
-
defaultValue: '
|
|
52
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
51
53
|
}),
|
|
52
54
|
descriptionKey: 'payment.plan.premium.description',
|
|
53
55
|
highlightedDescription: t('payment.plan.yearly.highlightedDescription', undefined, {
|
|
54
|
-
defaultValue: '
|
|
56
|
+
defaultValue: 'Get one month free, every year.',
|
|
55
57
|
}),
|
|
56
58
|
highlightedDescriptionKey: 'payment.plan.yearly.highlightedDescription',
|
|
57
59
|
capabilities: { premium: true },
|
|
@@ -68,7 +70,7 @@ export const appleMonthly = {
|
|
|
68
70
|
title: t('payment.plan.monthly.title', undefined, { defaultValue: 'Monthly' }),
|
|
69
71
|
titleKey: 'payment.plan.monthly.title',
|
|
70
72
|
description: t('payment.plan.premium.description', undefined, {
|
|
71
|
-
defaultValue: '
|
|
73
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
72
74
|
}),
|
|
73
75
|
descriptionKey: 'payment.plan.premium.description',
|
|
74
76
|
capabilities: { premium: true },
|
|
@@ -85,11 +87,11 @@ export const appleYearly = {
|
|
|
85
87
|
title: t('payment.plan.yearly.title', undefined, { defaultValue: 'Yearly' }),
|
|
86
88
|
titleKey: 'payment.plan.yearly.title',
|
|
87
89
|
description: t('payment.plan.premium.description', undefined, {
|
|
88
|
-
defaultValue: '
|
|
90
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
89
91
|
}),
|
|
90
92
|
descriptionKey: 'payment.plan.premium.description',
|
|
91
93
|
highlightedDescription: t('payment.plan.yearly.highlightedDescription', undefined, {
|
|
92
|
-
defaultValue: '
|
|
94
|
+
defaultValue: 'Get one month free, every year.',
|
|
93
95
|
}),
|
|
94
96
|
highlightedDescriptionKey: 'payment.plan.yearly.highlightedDescription',
|
|
95
97
|
capabilities: { premium: true },
|
|
@@ -106,7 +108,7 @@ export const googleMonthly = {
|
|
|
106
108
|
title: t('payment.plan.monthly.title', undefined, { defaultValue: 'Monthly' }),
|
|
107
109
|
titleKey: 'payment.plan.monthly.title',
|
|
108
110
|
description: t('payment.plan.premium.description', undefined, {
|
|
109
|
-
defaultValue: '
|
|
111
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
110
112
|
}),
|
|
111
113
|
descriptionKey: 'payment.plan.premium.description',
|
|
112
114
|
capabilities: { premium: true },
|
|
@@ -123,11 +125,11 @@ export const googleYearly = {
|
|
|
123
125
|
title: t('payment.plan.yearly.title', undefined, { defaultValue: 'Yearly' }),
|
|
124
126
|
titleKey: 'payment.plan.yearly.title',
|
|
125
127
|
description: t('payment.plan.premium.description', undefined, {
|
|
126
|
-
defaultValue: '
|
|
128
|
+
defaultValue: 'Premium features and unlimited usage.',
|
|
127
129
|
}),
|
|
128
130
|
descriptionKey: 'payment.plan.premium.description',
|
|
129
131
|
highlightedDescription: t('payment.plan.yearly.highlightedDescription', undefined, {
|
|
130
|
-
defaultValue: '
|
|
132
|
+
defaultValue: 'Get one month free, every year.',
|
|
131
133
|
}),
|
|
132
134
|
highlightedDescriptionKey: 'payment.plan.yearly.highlightedDescription',
|
|
133
135
|
capabilities: { premium: true },
|
package/dist/plans.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plans.js","sourceRoot":"","sources":["../src/plans.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAA;AAItC,MAAM,WAAW,GAAS;IACxB,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,iBAAiB,EAAE,EAAE;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,CAAC,CAAC,yBAAyB,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;IACxE,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,CAAC,CAAC,+BAA+B,EAAE,SAAS,EAAE;QACzD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"plans.js","sourceRoot":"","sources":["../src/plans.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,oBAAoB,CAAA;AAItC,MAAM,WAAW,GAAS;IACxB,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,EAAE;IACf,iBAAiB,EAAE,EAAE;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,CAAC,CAAC,yBAAyB,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC;IACxE,QAAQ,EAAE,yBAAyB;IACnC,WAAW,EAAE,CAA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