Skip to content

Commit

Permalink
SwG Release 0.1.22.187 (#36266)
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmannr76 committed Oct 6, 2021
1 parent 2796863 commit 39fe526
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions third_party/subscriptions-project/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** Version: 0.1.22.186 */
/** Version: 0.1.22.187 */
/**
* Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.
*
Expand Down Expand Up @@ -875,10 +875,14 @@ class JsonLdParser {
possibleConfigs = [possibleConfigs];
}

const configs = /** @type {!Array<!JsonObject>} */ (possibleConfigs);
let configs = /** @type {!Array<!JsonObject>} */ (possibleConfigs);
for (let i = 0; i < configs.length; i++) {
const config = configs[i];

if (config['@graph'] && Array.isArray(config['@graph'])) {
configs = configs.concat(config['@graph']);
}

// Must be an ALLOWED_TYPE
if (!this.checkType_.checkValue(config['@type'], ALLOWED_TYPES)) {
continue;
Expand Down
2 changes: 1 addition & 1 deletion third_party/subscriptions-project/swg-gaa.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** Version: 0.1.22.186 */
/** Version: 0.1.22.187 */
/**
* Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.
*
Expand Down
8 changes: 4 additions & 4 deletions third_party/subscriptions-project/swg.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/** Version: 0.1.22.186 */
/** Version: 0.1.22.187 */
/**
* Copyright 2018 The Subscribe with Google Authors. All Rights Reserved.
*
Expand Down Expand Up @@ -4741,7 +4741,7 @@ function feCached(url) {
*/
function feArgs(args) {
return Object.assign(args, {
'_client': 'SwG 0.1.22.186',
'_client': 'SwG 0.1.22.187',
});
}

Expand Down Expand Up @@ -6009,7 +6009,7 @@ class ActivityPorts$1 {
'analyticsContext': context.toArray(),
'publicationId': pageConfig.getPublicationId(),
'productId': pageConfig.getProductId(),
'_client': 'SwG 0.1.22.186',
'_client': 'SwG 0.1.22.187',
'supportsEventManager': true,
},
args || {}
Expand Down Expand Up @@ -6888,7 +6888,7 @@ class AnalyticsService {
context.setTransactionId(getUuid());
}
context.setReferringOrigin(parseUrl(this.getReferrer_()).origin);
context.setClientVersion('SwG 0.1.22.186');
context.setClientVersion('SwG 0.1.22.187');
context.setUrl(getCanonicalUrl(this.doc_));

const utmParams = parseQueryString(this.getQueryString_());
Expand Down

0 comments on commit 39fe526

Please sign in to comment.