@axinom/mosaic-fe-samples-host 0.32.0 → 0.33.0-rc.0
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/Profiles/ProfileURLs.d.ts.map +1 -1
- package/dist/Profiles/Profiles.d.ts.map +1 -1
- package/dist/common/types/profile-config.d.ts +0 -4
- package/dist/common/types/profile-config.d.ts.map +1 -1
- package/dist/common/utils/storage-utils.d.ts.map +1 -1
- package/dist/index.es.js +17 -39
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +17 -39
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/Profiles/ProfileURLs.tsx +0 -28
- package/src/Profiles/Profiles.tsx +0 -13
- package/src/common/types/profile-config.ts +0 -4
- package/src/common/utils/storage-utils.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-fe-samples-host",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0-rc.0",
|
|
4
4
|
"description": "The host application, React components and hooks used when developing fe-sample scenarios",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "4b24a73e39e3a13eee1769a78695eada14784e11"
|
|
88
88
|
}
|
|
@@ -38,27 +38,6 @@ export const ProfileURLs: React.FC<ProfileURLProps> = ({
|
|
|
38
38
|
value={selectedProfile?.imageServiceBaseURL}
|
|
39
39
|
onChange={handleInputChange}
|
|
40
40
|
/>
|
|
41
|
-
<Form.Input
|
|
42
|
-
width={6}
|
|
43
|
-
label="Billing Service Base URL"
|
|
44
|
-
name="billingServiceBaseURL"
|
|
45
|
-
value={selectedProfile?.billingServiceBaseURL}
|
|
46
|
-
onChange={handleInputChange}
|
|
47
|
-
/>
|
|
48
|
-
<Form.Input
|
|
49
|
-
width={6}
|
|
50
|
-
label="Subscription Monetization Service Base URL"
|
|
51
|
-
name={'subscriptionMonetizationServiceBaseURL'}
|
|
52
|
-
value={selectedProfile?.subscriptionMonetizationServiceBaseURL}
|
|
53
|
-
onChange={handleInputChange}
|
|
54
|
-
/>
|
|
55
|
-
<Form.Input
|
|
56
|
-
width={6}
|
|
57
|
-
label="Monetization Grants Service Base URL"
|
|
58
|
-
name={'monetizationGrantsServiceBaseURL'}
|
|
59
|
-
value={selectedProfile?.monetizationGrantsServiceBaseURL}
|
|
60
|
-
onChange={handleInputChange}
|
|
61
|
-
/>
|
|
62
41
|
<Form.Input
|
|
63
42
|
width={6}
|
|
64
43
|
label="Personalization Service Base URL"
|
|
@@ -90,13 +69,6 @@ export const ProfileURLs: React.FC<ProfileURLProps> = ({
|
|
|
90
69
|
value={selectedProfile?.entitlementServiceBaseURL}
|
|
91
70
|
onChange={handleInputChange}
|
|
92
71
|
/>
|
|
93
|
-
<Form.Input
|
|
94
|
-
width={6}
|
|
95
|
-
label="Stripe Payment Connector Base URL"
|
|
96
|
-
name="stripePaymentConnectorBaseURL"
|
|
97
|
-
value={selectedProfile?.stripePaymentConnectorBaseURL}
|
|
98
|
-
onChange={handleInputChange}
|
|
99
|
-
/>
|
|
100
72
|
|
|
101
73
|
<Divider />
|
|
102
74
|
|
|
@@ -77,18 +77,6 @@ export const Profiles: React.FC<ProfileProps> = ({ match }) => {
|
|
|
77
77
|
type === 'local'
|
|
78
78
|
? 'http://localhost:10400'
|
|
79
79
|
: 'https://image.service.eu.axinom.net',
|
|
80
|
-
billingServiceBaseURL:
|
|
81
|
-
type === 'local'
|
|
82
|
-
? 'http://localhost:11500'
|
|
83
|
-
: 'https://billing.service.eu.axinom.net',
|
|
84
|
-
subscriptionMonetizationServiceBaseURL:
|
|
85
|
-
type === 'local'
|
|
86
|
-
? 'http://localhost:11400'
|
|
87
|
-
: 'https://subscription-monetization.service.eu.axinom.net',
|
|
88
|
-
monetizationGrantsServiceBaseURL:
|
|
89
|
-
type === 'local'
|
|
90
|
-
? 'http://localhost:11401'
|
|
91
|
-
: 'https://monetization-grants.service.eu.axinom.net',
|
|
92
80
|
personalizationServiceBaseURL:
|
|
93
81
|
type === 'local'
|
|
94
82
|
? 'http://localhost:11200'
|
|
@@ -96,7 +84,6 @@ export const Profiles: React.FC<ProfileProps> = ({ match }) => {
|
|
|
96
84
|
mediaServiceBaseURL: 'http://localhost:10200',
|
|
97
85
|
catalogServiceBaseURL: 'http://localhost:10300',
|
|
98
86
|
entitlementServiceBaseURL: 'http://localhost:11600',
|
|
99
|
-
stripePaymentConnectorBaseURL: 'http://localhost:20001',
|
|
100
87
|
tenantId: '00000000-0000-0000-0000-000000000000',
|
|
101
88
|
environmentId: '00000000-0000-0000-0000-000000000000',
|
|
102
89
|
applicationId: '00000000-0000-0000-0000-000000000000',
|
|
@@ -5,14 +5,10 @@ export interface ProfileConfig {
|
|
|
5
5
|
userAuthBaseURL: string;
|
|
6
6
|
userServiceBaseURL: string;
|
|
7
7
|
imageServiceBaseURL: string;
|
|
8
|
-
billingServiceBaseURL: string;
|
|
9
|
-
subscriptionMonetizationServiceBaseURL: string;
|
|
10
|
-
monetizationGrantsServiceBaseURL: string;
|
|
11
8
|
personalizationServiceBaseURL: string;
|
|
12
9
|
mediaServiceBaseURL: string;
|
|
13
10
|
catalogServiceBaseURL: string;
|
|
14
11
|
entitlementServiceBaseURL: string;
|
|
15
|
-
stripePaymentConnectorBaseURL: string;
|
|
16
12
|
|
|
17
13
|
tenantId: string;
|
|
18
14
|
environmentId: string;
|
|
@@ -25,13 +25,6 @@ export const migrateProfileStructuralChanges = () => {
|
|
|
25
25
|
profile.userServiceBaseURL ?? 'http://localhost:11100',
|
|
26
26
|
imageServiceBaseURL:
|
|
27
27
|
profile.imageServiceBaseURL ?? 'http://localhost:10400',
|
|
28
|
-
billingServiceBaseURL:
|
|
29
|
-
profile.billingServiceBaseURL ?? 'http://localhost:11500',
|
|
30
|
-
subscriptionMonetizationServiceBaseURL:
|
|
31
|
-
profile.subscriptionMonetizationServiceBaseURL ??
|
|
32
|
-
'http://localhost:11400',
|
|
33
|
-
monetizationGrantsServiceBaseURL:
|
|
34
|
-
profile.monetizationGrantsServiceBaseURL ?? 'http://localhost:11401',
|
|
35
28
|
personalizationServiceBaseURL:
|
|
36
29
|
profile.personalizationServiceBaseURL ?? 'http://localhost:11200',
|
|
37
30
|
|
|
@@ -41,8 +34,6 @@ export const migrateProfileStructuralChanges = () => {
|
|
|
41
34
|
profile.catalogServiceBaseURL ?? 'http://localhost:10300',
|
|
42
35
|
entitlementServiceBaseURL:
|
|
43
36
|
profile.entitlementServiceBaseURL ?? 'http://localhost:11600',
|
|
44
|
-
stripePaymentConnectorBaseURL:
|
|
45
|
-
profile.stripePaymentConnectorBaseURL ?? 'http://localhost:20001',
|
|
46
37
|
|
|
47
38
|
tenantId: profile.tenantId ?? '00000000-0000-0000-0000-000000000000',
|
|
48
39
|
environmentId:
|