@shushed/helpers 0.0.198-tom-debug-20251120155343 → 0.0.198-tom-debug-20251120164506

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.
@@ -92,12 +92,14 @@ class Runtime {
92
92
  }
93
93
  }
94
94
  getRuntimeUrl(options) {
95
- const systemEnvName = this.getSystemEnvName(options);
96
95
  const [_, ...idParts] = (process.env.GCLOUD_PROJECT || '').split('-');
96
+ this.logging.log('getRuntimeUrl ', JSON.stringify(options));
97
+ this.logging.log('getRuntimeUrl ', JSON.stringify(idParts));
98
+ this.logging.log('getRuntimeUrl ', JSON.stringify(process.env.RUNTIME_URL));
97
99
  if (process.env.RUNTIME_URL) {
98
100
  return process.env.RUNTIME_URL;
99
101
  }
100
- return `https://${systemEnvName}-${idParts.join('-')}.buildship.run`;
102
+ return `https://${this.systemEnvName}-${idParts.join('-')}.buildship.run`;
101
103
  }
102
104
  getSystemEnvName(options) {
103
105
  if (options instanceof Runtime) {
@@ -109,7 +109,7 @@ class SchedulerHelper extends env_1.default {
109
109
  if (target.pubsubTarget) {
110
110
  updateMaskFields.push('pubsubTarget');
111
111
  }
112
- this.logging.log('update', JSON.stringify({ updateMaskFields, name, schedule, timezone, extraQuery, url: this.runtimeUrl }));
112
+ this.logging.log('update-tom', JSON.stringify({ updateMaskFields, name, schedule, timezone, extraQuery, url: this.runtimeUrl }));
113
113
  try {
114
114
  const job = await this.callScheduler(name, {
115
115
  method: 'PATCH',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.198-tom-debug-20251120155343",
3
+ "version": "0.0.198-tom-debug-20251120164506",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",