@newskit-render/core 4.18.7-alpha.0 → 4.19.0-alpha.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.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
resource "aws_sqs_queue_policy" "user_account_messages_policy" {
|
|
2
|
+
queue_url = aws_sqs_queue.user_account_messages.id
|
|
3
|
+
|
|
4
|
+
policy = jsonencode({
|
|
5
|
+
Version = "2012-10-17",
|
|
6
|
+
Statement = [
|
|
7
|
+
{
|
|
8
|
+
Effect = "Allow",
|
|
9
|
+
Principal = "*",
|
|
10
|
+
Action = "sqs:SendMessage",
|
|
11
|
+
Resource = aws_sqs_queue.user_account_messages.arn,
|
|
12
|
+
Condition = {
|
|
13
|
+
ArnEquals = {
|
|
14
|
+
"aws:SourceArn" = "arn:aws:sns:eu-north-1:576141025645:User-Account-Messaging"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
})
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0-alpha.0",
|
|
4
4
|
"description": "Newskit Render - Core package",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@newrelic/winston-enricher": "4.0.1",
|
|
45
45
|
"@newskit-render/api": "^1.10.0",
|
|
46
46
|
"@newskit-render/auth": "^1.7.2",
|
|
47
|
-
"@newskit-render/checkout": "^3.8.
|
|
47
|
+
"@newskit-render/checkout": "^3.8.2-alpha.0",
|
|
48
48
|
"@newskit-render/feature-flags": "^1.7.0",
|
|
49
49
|
"@newskit-render/feed": "^1.8.3",
|
|
50
|
-
"@newskit-render/my-account": "^7.16.3-alpha.
|
|
51
|
-
"@newskit-render/shared-components": "^4.9.0",
|
|
52
|
-
"@newskit-render/standalone-components": "^3.18.
|
|
50
|
+
"@newskit-render/my-account": "^7.16.3-alpha.1",
|
|
51
|
+
"@newskit-render/shared-components": "^4.9.1-alpha.0",
|
|
52
|
+
"@newskit-render/standalone-components": "^3.18.2-alpha.0",
|
|
53
53
|
"@newskit-render/validation": "^1.13.0",
|
|
54
54
|
"cross-fetch": "3.1.5",
|
|
55
55
|
"graphql": "16.6.0",
|
package/pages/_app.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import { AppContext as AppContextType, AppProps } from 'next/app'
|
|
|
3
3
|
import Head from 'next/head'
|
|
4
4
|
import { ThemeProvider, Global, styled } from 'newskit'
|
|
5
5
|
import { Publisher } from '@newskit-render/api'
|
|
6
|
+
import { getFontFamilyFromNextFont } from '@newskit-render/shared-components'
|
|
6
7
|
import { AppContextProvider, AppContext } from '../context/app-context'
|
|
7
8
|
import { InstrumentationContextProvider } from '../app-context/InstrumentationContextProvider'
|
|
8
9
|
import { getTenant } from '../helpers/multiTenancy'
|
|
@@ -72,6 +73,21 @@ function MyApp({ Component, pageProps, tenant }: MyAppProps) {
|
|
|
72
73
|
{...{
|
|
73
74
|
themeDropdownObject,
|
|
74
75
|
customTheme: theme,
|
|
76
|
+
context: {
|
|
77
|
+
fontFamilies: getFontFamilyFromNextFont([
|
|
78
|
+
bitter,
|
|
79
|
+
poppins,
|
|
80
|
+
dmSans,
|
|
81
|
+
theSun,
|
|
82
|
+
roboto,
|
|
83
|
+
timesModern,
|
|
84
|
+
timesDigital,
|
|
85
|
+
montserrat,
|
|
86
|
+
publicoHeadline,
|
|
87
|
+
publicoText,
|
|
88
|
+
graphik,
|
|
89
|
+
]),
|
|
90
|
+
},
|
|
75
91
|
}}
|
|
76
92
|
/>
|
|
77
93
|
</PageContainer>
|
|
@@ -4,7 +4,13 @@ import { replaceConsoleAndSetTransactionName } from '../../../helpers/logger'
|
|
|
4
4
|
import { initAndGetFeatureFlag } from '@newskit-render/feature-flags' /* cra-effected */
|
|
5
5
|
import { optimizelysdkKey } from '../../../config' /* cra-effected */
|
|
6
6
|
|
|
7
|
-
const AccountNewsletters = (props) =>
|
|
7
|
+
const AccountNewsletters = (props) => (
|
|
8
|
+
// Dummy change to trigger core package update
|
|
9
|
+
// I'm going to remove this div with the revert PR
|
|
10
|
+
<div>
|
|
11
|
+
<Newsletters {...props} />
|
|
12
|
+
</div>
|
|
13
|
+
)
|
|
8
14
|
|
|
9
15
|
export default AccountNewsletters
|
|
10
16
|
|