From f8bfff6134d43ac9806a667e8cc411440665195a Mon Sep 17 00:00:00 2001 From: Brice Redmond Date: Thu, 7 Nov 2024 14:40:28 -0800 Subject: [PATCH] [patch] use version numbers in websdk local build I put these to 0.0.0 because i thought it would make it more clear that these come from elsewhere. (we fill these in with the actual gha version when we release). However, some of our apis check the values that we send here. So, having 0.0.0 was breaking some journeys. I put it to 2.85.1. It wont need to be updated unless we make another check on the backend that we want to test --- src/0_config.js | 2 +- test/web-config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/0_config.js b/src/0_config.js index 2ebaec16..70262e48 100644 --- a/src/0_config.js +++ b/src/0_config.js @@ -8,4 +8,4 @@ var DEFAULT_API_ENDPOINT = 'https://api2.branch.io'; config.app_service_endpoint = 'https://app.link'; config.link_service_endpoint = 'https://bnc.lt'; config.api_endpoint = DEFAULT_API_ENDPOINT; -config.version = '0.0.0'; +config.version = '2.85.1'; // will get overwritten by gha on actual deploy diff --git a/test/web-config.js b/test/web-config.js index 152048c4..9636fd6c 100644 --- a/test/web-config.js +++ b/test/web-config.js @@ -6,4 +6,4 @@ goog.provide('config'); config.app_service_endpoint = 'https://app.link'; config.link_service_endpoint = 'https://bnc.lt'; config.api_endpoint = 'https://api.branch.io'; -config.version = '0.0.0'; +config.version = '2.85.1'; // will get overwritten by gha on actual deploy