@forge/csp 6.2.0-next.0-experimental-28c9ab7 → 6.3.0-experimental-0b00ed8
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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# @forge/csp
|
|
2
2
|
|
|
3
|
-
## 6.
|
|
3
|
+
## 6.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 87d2d74: Update csp-injection-service to included new reaction service hosts
|
|
8
|
+
|
|
9
|
+
## 6.3.0-next.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 87d2d74: Update csp-injection-service to included new reaction service hosts
|
|
14
|
+
|
|
15
|
+
## 6.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
6
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"csp-injection-service.d.ts","sourceRoot":"","sources":["../../src/csp/csp-injection-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAmB,MAAM,UAAU,CAAC;AAEvD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAIF,KAAK,oBAAoB,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,SAAS,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"csp-injection-service.d.ts","sourceRoot":"","sources":["../../src/csp/csp-injection-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,OAAO,EAAE,UAAU,EAAmB,MAAM,UAAU,CAAC;AAEvD,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAIF,KAAK,oBAAoB,GAAG;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,SAAS,GAAG,iBAAiB,GAAG,oBAAoB,CAAC;AA4L1D,eAAO,MAAM,qBAAqB,GAAI,WAAW,iBAAiB,EAAE,YAAY,SAAS,KAAG,MAAM,EAajG,CAAC;AAMF,eAAO,MAAM,kCAAkC,UAAiE,CAAC;AAEjH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,eAAe;IAQvB,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,qBAAqB;IAI7B,OAAO,CAAC,aAAa;IAmCrB,OAAO,CAAC,iBAAiB;IA4ElB,gBAAgB,GAAI,2JAUxB;QACD,kBAAkB,EAAE,UAAU,CAAC;QAC/B,SAAS,EAAE,iBAAiB,CAAC;QAC7B,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,SAAS,CAAC,EAAE,SAAS,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;QAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC,KAAG,MAAM,EAAE,CAsGV;CACH"}
|
|
@@ -73,6 +73,14 @@ const ATLASSIAN_HOST = {
|
|
|
73
73
|
'fedramp-prod': 'https://pf-emoji-service.frontend.cdn.atlassian-us-gov-mod.com',
|
|
74
74
|
...makeICHosts((env, icOptions) => `https://pf-emoji-service.${getICDomain(env, icOptions)}/bfa/emoji-service/`)
|
|
75
75
|
},
|
|
76
|
+
ATLASSIAN_REACTIONS_HOST: {
|
|
77
|
+
dev: 'https://pf-reactions-service.ddev.frontend.public.atl-paas.net',
|
|
78
|
+
stg: 'https://pf-reactions-service.stg-east.frontend.public.atl-paas.net',
|
|
79
|
+
prod: 'https://pf-reactions-service.prod-east.frontend.public.atl-paas.net',
|
|
80
|
+
'fedramp-stg': 'https://pf-reactions-service.frontend.staging.cdn.atlassian-us-gov-mod.com',
|
|
81
|
+
'fedramp-prod': 'https://pf-reactions-service.frontend.cdn.atlassian-us-gov-mod.com',
|
|
82
|
+
...makeICHosts((env, icOptions) => `https://pf-reactions-service.${getICDomain(env, icOptions)}/bfa/reactions-service/`)
|
|
83
|
+
},
|
|
76
84
|
ATLASSIAN_FOP_GE_HOST: {
|
|
77
85
|
dev: 'https://forge-outbound-proxy.dev.services.atlassian.com',
|
|
78
86
|
stg: 'https://forge-outbound-proxy.stg.services.atlassian.com',
|
|
@@ -129,6 +137,10 @@ const getFOSCDNUrls = (microsEnv, icOptions) => {
|
|
|
129
137
|
const fosCDNHost = getFOSCDNHost(microsEnv, icOptions);
|
|
130
138
|
return fosCDNHost ? [`${fosCDNHost}${FOS_CDN_PATH}`] : [];
|
|
131
139
|
};
|
|
140
|
+
const getReactionsImageHost = (microsEnv, icOptions) => {
|
|
141
|
+
const host = getAtlassianHost('ATLASSIAN_REACTIONS_HOST', microsEnv, icOptions);
|
|
142
|
+
return host ? [host] : [];
|
|
143
|
+
};
|
|
132
144
|
const getAtlassianImageHost = (microsEnv, icOptions) => {
|
|
133
145
|
return [
|
|
134
146
|
`https://${getAtlassianHost('ATLASSIAN_AVATAR_HOST', microsEnv, icOptions)}`,
|
|
@@ -136,6 +148,7 @@ const getAtlassianImageHost = (microsEnv, icOptions) => {
|
|
|
136
148
|
getAtlassianHost('ATLASSIAN_API_GATEWAY_HOST', microsEnv, icOptions),
|
|
137
149
|
getAtlassianHost('ATLASSIAN_MEDIA_GATEWAY_HOST', microsEnv, icOptions),
|
|
138
150
|
getAtlassianHost('ATLASSIAN_EMOJIS_HOST', microsEnv, icOptions),
|
|
151
|
+
...getReactionsImageHost(microsEnv, icOptions),
|
|
139
152
|
getAtlassianHost('ATLASSIAN_TEAM_AVATAR_HOST', microsEnv, icOptions),
|
|
140
153
|
getAtlassianHost('ATLASSIAN_TEAM_HEADER_HOST', microsEnv, icOptions),
|
|
141
154
|
...getFOSHostDownload(microsEnv, icOptions),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/csp",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0-experimental-0b00ed8",
|
|
4
4
|
"description": "Contains the CSP configuration for Custom UI resources in Forge",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"author": "Atlassian",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"clean": "rm -rf ./out && rm -f tsconfig.tsbuildinfo"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@forge/cli-shared": "9.
|
|
15
|
-
"@forge/manifest": "13.
|
|
14
|
+
"@forge/cli-shared": "9.3.1-next.1-experimental-0b00ed8",
|
|
15
|
+
"@forge/manifest": "13.3.0-experimental-0b00ed8",
|
|
16
16
|
"@types/jest": "^29.5.14",
|
|
17
17
|
"@types/node": "20.19.1",
|
|
18
18
|
"cheerio": "^1.2.0",
|