File tree Expand file tree Collapse file tree 7 files changed +79
-7
lines changed Expand file tree Collapse file tree 7 files changed +79
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @firebase/messaging ' : patch
3
+ ---
4
+
5
+ Tag product id for big query metric logging
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
1
18
module . exports = {
2
19
extends : '../../config/.eslintrc.js' ,
3
20
parserOptions : {
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
1
18
module . exports = {
2
19
extends : '../../config/.eslintrc.js' ,
3
20
parserOptions : {
Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ export async function stageLog(
163
163
await messaging . firebaseDependencies . installations . getId ( )
164
164
) ;
165
165
166
-
167
166
createAndEnqueueLogEvent ( messaging , fcmEvent , internalPayload . productId ) ;
168
167
}
169
168
@@ -231,9 +230,9 @@ function buildComplianceData(productId: number): ComplianceData {
231
230
const complianceData : ComplianceData = {
232
231
privacy_context : {
233
232
prequest : {
234
- origin_associated_product_id : productId ,
235
- } ,
236
- } ,
233
+ origin_associated_product_id : productId
234
+ }
235
+ }
237
236
} ;
238
237
239
238
return complianceData ;
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ function getFakeComplianceData(): ComplianceData {
57
57
/* eslint-disable camelcase */
58
58
privacy_context : {
59
59
prequest : {
60
- origin_associated_product_id : 123 ,
61
- } ,
62
- } ,
60
+ origin_associated_product_id : 123
61
+ }
62
+ }
63
63
/* eslint-enable camelcase */
64
64
} ;
65
65
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
1
18
module . exports = {
2
19
extends : '../../config/.eslintrc.js' ,
3
20
parserOptions : {
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
1
18
module . exports = {
2
19
extends : '../../config/.eslintrc.js' ,
3
20
parserOptions : {
You can’t perform that action at this time.
0 commit comments