@versori/run 0.3.0-veta.2 → 0.4.0-alpha.2

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.
Files changed (209) hide show
  1. package/esm/src/connection/DirectConnectionFactory.d.ts +1 -1
  2. package/esm/src/connection/DirectConnectionFactory.d.ts.map +1 -1
  3. package/esm/src/connection/DirectConnectionFactory.js +6 -9
  4. package/esm/src/connection/StaticFetchFactory.d.ts.map +1 -1
  5. package/esm/src/connection/internal/CredentialHolder.d.ts.map +1 -1
  6. package/esm/src/connection/internal/CredentialHolder.js +11 -2
  7. package/esm/src/connection/internal/FetchBuilder.d.ts +3 -2
  8. package/esm/src/connection/internal/FetchBuilder.d.ts.map +1 -1
  9. package/esm/src/connection/internal/FetchBuilder.js +103 -4
  10. package/esm/src/connection/internal/OutboundConnectionFactory.d.ts +1 -1
  11. package/esm/src/connection/internal/OutboundConnectionFactory.d.ts.map +1 -1
  12. package/esm/src/connection/internal/OutboundConnectionFactory.js +2 -3
  13. package/esm/src/context/AsyncWorkflow.js +1 -1
  14. package/esm/src/context/Context.d.ts +7 -6
  15. package/esm/src/context/Context.d.ts.map +1 -1
  16. package/esm/src/context/Context.js +3 -13
  17. package/esm/src/context/ContextProvider.d.ts +1 -3
  18. package/esm/src/context/ContextProvider.d.ts.map +1 -1
  19. package/esm/src/context/ContextProvider.js +3 -6
  20. package/esm/src/dsl/Workflow.d.ts.map +1 -1
  21. package/esm/src/dsl/Workflow.js +2 -0
  22. package/esm/src/dsl/http/versori/configloader.js +1 -1
  23. package/esm/src/dsl/http/versori/cronapi.d.ts +2 -3
  24. package/esm/src/dsl/http/versori/cronapi.d.ts.map +1 -1
  25. package/esm/src/dsl/http/versori/cronapi.js +14 -14
  26. package/esm/src/dsl/http/versori/kvapi/core/OpenAPI.js +1 -1
  27. package/esm/src/dsl/http/versori/webhookmiddleware.d.ts +1 -1
  28. package/esm/src/dsl/http/versori/webhookmiddleware.d.ts.map +1 -1
  29. package/esm/src/dsl/http/versori/webhookmiddleware.js +24 -19
  30. package/esm/src/dsl/tasks/HttpTask.d.ts +1 -2
  31. package/esm/src/dsl/tasks/HttpTask.d.ts.map +1 -1
  32. package/esm/src/dsl/tasks/HttpTask.js +0 -3
  33. package/esm/src/dsl/triggers/DurableTrigger.d.ts +1 -0
  34. package/esm/src/dsl/triggers/DurableTrigger.d.ts.map +1 -1
  35. package/esm/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -1
  36. package/esm/src/dsl/triggers/WebhookTrigger.js +3 -1
  37. package/esm/src/internal/constants.d.ts +3 -1
  38. package/esm/src/internal/constants.d.ts.map +1 -1
  39. package/esm/src/internal/constants.js +4 -1
  40. package/esm/src/internal/supervisor.d.ts +21 -0
  41. package/esm/src/internal/supervisor.d.ts.map +1 -0
  42. package/esm/src/internal/supervisor.js +122 -0
  43. package/esm/src/interpreter/durable/DurableInterpreter.d.ts +8 -2
  44. package/esm/src/interpreter/durable/DurableInterpreter.d.ts.map +1 -1
  45. package/esm/src/interpreter/durable/DurableInterpreter.js +62 -22
  46. package/esm/src/interpreter/durable/ObservableCompiler.d.ts +6 -1
  47. package/esm/src/interpreter/durable/ObservableCompiler.d.ts.map +1 -1
  48. package/esm/src/interpreter/durable/Queue.d.ts +16 -24
  49. package/esm/src/interpreter/durable/Queue.d.ts.map +1 -1
  50. package/esm/src/interpreter/durable/Queue.js +5 -4
  51. package/esm/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
  52. package/esm/src/interpreter/durable/compilers/catch.js +3 -2
  53. package/esm/src/interpreter/durable/compilers/durableworkflow.d.ts.map +1 -1
  54. package/esm/src/interpreter/durable/compilers/durableworkflow.js +19 -19
  55. package/esm/src/interpreter/durable/compilers/fn.d.ts.map +1 -1
  56. package/esm/src/interpreter/durable/compilers/fn.js +17 -4
  57. package/esm/src/interpreter/durable/compilers/http.d.ts.map +1 -1
  58. package/esm/src/interpreter/durable/compilers/http.js +8 -2
  59. package/esm/src/interpreter/durable/compilers/schedule.d.ts.map +1 -1
  60. package/esm/src/interpreter/durable/compilers/schedule.js +2 -1
  61. package/esm/src/interpreter/durable/compilers/webhook.d.ts.map +1 -1
  62. package/esm/src/interpreter/durable/compilers/webhook.js +4 -1
  63. package/esm/src/interpreter/memory/MemoryInterpreter.d.ts +8 -2
  64. package/esm/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  65. package/esm/src/interpreter/memory/MemoryInterpreter.js +46 -18
  66. package/esm/src/interpreter/memory/ObservableCompiler.d.ts +6 -1
  67. package/esm/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
  68. package/esm/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
  69. package/esm/src/interpreter/memory/compilers/catch.js +3 -2
  70. package/esm/src/interpreter/memory/compilers/fn.d.ts.map +1 -1
  71. package/esm/src/interpreter/memory/compilers/fn.js +17 -4
  72. package/esm/src/interpreter/memory/compilers/http.d.ts.map +1 -1
  73. package/esm/src/interpreter/memory/compilers/http.js +33 -3
  74. package/esm/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
  75. package/esm/src/interpreter/memory/compilers/schedule.js +2 -1
  76. package/esm/src/interpreter/memory/compilers/webhook.d.ts.map +1 -1
  77. package/esm/src/interpreter/memory/compilers/webhook.js +5 -1
  78. package/esm/src/issues/Issues.js +1 -1
  79. package/esm/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
  80. package/esm/src/kv/sdk/SDKKeyValue.js +3 -9
  81. package/esm/src/services/createConnectRpcClient.d.ts +16 -0
  82. package/esm/src/services/createConnectRpcClient.d.ts.map +1 -0
  83. package/esm/src/services/createConnectRpcClient.js +63 -0
  84. package/package.json +3 -1
  85. package/script/src/connection/DirectConnectionFactory.d.ts +1 -1
  86. package/script/src/connection/DirectConnectionFactory.d.ts.map +1 -1
  87. package/script/src/connection/DirectConnectionFactory.js +5 -8
  88. package/script/src/connection/StaticFetchFactory.d.ts.map +1 -1
  89. package/script/src/connection/internal/CredentialHolder.d.ts.map +1 -1
  90. package/script/src/connection/internal/CredentialHolder.js +11 -2
  91. package/script/src/connection/internal/FetchBuilder.d.ts +3 -2
  92. package/script/src/connection/internal/FetchBuilder.d.ts.map +1 -1
  93. package/script/src/connection/internal/FetchBuilder.js +126 -4
  94. package/script/src/connection/internal/OutboundConnectionFactory.d.ts +1 -1
  95. package/script/src/connection/internal/OutboundConnectionFactory.d.ts.map +1 -1
  96. package/script/src/connection/internal/OutboundConnectionFactory.js +2 -3
  97. package/script/src/context/AsyncWorkflow.js +1 -1
  98. package/script/src/context/Context.d.ts +7 -6
  99. package/script/src/context/Context.d.ts.map +1 -1
  100. package/script/src/context/Context.js +3 -13
  101. package/script/src/context/ContextProvider.d.ts +1 -3
  102. package/script/src/context/ContextProvider.d.ts.map +1 -1
  103. package/script/src/context/ContextProvider.js +3 -6
  104. package/script/src/dsl/Workflow.d.ts.map +1 -1
  105. package/script/src/dsl/Workflow.js +2 -0
  106. package/script/src/dsl/http/versori/configloader.js +1 -1
  107. package/script/src/dsl/http/versori/cronapi.d.ts +2 -3
  108. package/script/src/dsl/http/versori/cronapi.d.ts.map +1 -1
  109. package/script/src/dsl/http/versori/cronapi.js +14 -14
  110. package/script/src/dsl/http/versori/kvapi/core/OpenAPI.js +1 -1
  111. package/script/src/dsl/http/versori/webhookmiddleware.d.ts +1 -1
  112. package/script/src/dsl/http/versori/webhookmiddleware.d.ts.map +1 -1
  113. package/script/src/dsl/http/versori/webhookmiddleware.js +24 -19
  114. package/script/src/dsl/tasks/HttpTask.d.ts +1 -2
  115. package/script/src/dsl/tasks/HttpTask.d.ts.map +1 -1
  116. package/script/src/dsl/tasks/HttpTask.js +0 -3
  117. package/script/src/dsl/triggers/DurableTrigger.d.ts +1 -0
  118. package/script/src/dsl/triggers/DurableTrigger.d.ts.map +1 -1
  119. package/script/src/dsl/triggers/WebhookTrigger.d.ts.map +1 -1
  120. package/script/src/dsl/triggers/WebhookTrigger.js +3 -1
  121. package/script/src/internal/constants.d.ts +3 -1
  122. package/script/src/internal/constants.d.ts.map +1 -1
  123. package/script/src/internal/constants.js +5 -2
  124. package/script/src/internal/supervisor.d.ts +21 -0
  125. package/script/src/internal/supervisor.d.ts.map +1 -0
  126. package/script/src/internal/supervisor.js +129 -0
  127. package/script/src/interpreter/durable/DurableInterpreter.d.ts +8 -2
  128. package/script/src/interpreter/durable/DurableInterpreter.d.ts.map +1 -1
  129. package/script/src/interpreter/durable/DurableInterpreter.js +62 -22
  130. package/script/src/interpreter/durable/ObservableCompiler.d.ts +6 -1
  131. package/script/src/interpreter/durable/ObservableCompiler.d.ts.map +1 -1
  132. package/script/src/interpreter/durable/Queue.d.ts +16 -24
  133. package/script/src/interpreter/durable/Queue.d.ts.map +1 -1
  134. package/script/src/interpreter/durable/Queue.js +5 -4
  135. package/script/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
  136. package/script/src/interpreter/durable/compilers/catch.js +3 -2
  137. package/script/src/interpreter/durable/compilers/durableworkflow.d.ts.map +1 -1
  138. package/script/src/interpreter/durable/compilers/durableworkflow.js +19 -19
  139. package/script/src/interpreter/durable/compilers/fn.d.ts.map +1 -1
  140. package/script/src/interpreter/durable/compilers/fn.js +17 -4
  141. package/script/src/interpreter/durable/compilers/http.d.ts.map +1 -1
  142. package/script/src/interpreter/durable/compilers/http.js +8 -2
  143. package/script/src/interpreter/durable/compilers/schedule.d.ts.map +1 -1
  144. package/script/src/interpreter/durable/compilers/schedule.js +2 -1
  145. package/script/src/interpreter/durable/compilers/webhook.d.ts.map +1 -1
  146. package/script/src/interpreter/durable/compilers/webhook.js +4 -1
  147. package/script/src/interpreter/memory/MemoryInterpreter.d.ts +8 -2
  148. package/script/src/interpreter/memory/MemoryInterpreter.d.ts.map +1 -1
  149. package/script/src/interpreter/memory/MemoryInterpreter.js +46 -18
  150. package/script/src/interpreter/memory/ObservableCompiler.d.ts +6 -1
  151. package/script/src/interpreter/memory/ObservableCompiler.d.ts.map +1 -1
  152. package/script/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
  153. package/script/src/interpreter/memory/compilers/catch.js +3 -2
  154. package/script/src/interpreter/memory/compilers/fn.d.ts.map +1 -1
  155. package/script/src/interpreter/memory/compilers/fn.js +17 -4
  156. package/script/src/interpreter/memory/compilers/http.d.ts.map +1 -1
  157. package/script/src/interpreter/memory/compilers/http.js +33 -3
  158. package/script/src/interpreter/memory/compilers/schedule.d.ts.map +1 -1
  159. package/script/src/interpreter/memory/compilers/schedule.js +2 -1
  160. package/script/src/interpreter/memory/compilers/webhook.d.ts.map +1 -1
  161. package/script/src/interpreter/memory/compilers/webhook.js +5 -1
  162. package/script/src/issues/Issues.js +1 -1
  163. package/script/src/kv/sdk/SDKKeyValue.d.ts.map +1 -1
  164. package/script/src/kv/sdk/SDKKeyValue.js +3 -9
  165. package/script/src/services/createConnectRpcClient.d.ts +16 -0
  166. package/script/src/services/createConnectRpcClient.d.ts.map +1 -0
  167. package/script/src/services/createConnectRpcClient.js +66 -0
  168. package/esm/src/context/WorkflowClient.d.ts +0 -29
  169. package/esm/src/context/WorkflowClient.d.ts.map +0 -1
  170. package/esm/src/context/WorkflowClient.js +0 -95
  171. package/esm/src/dsl/http/versori/activation.d.ts +0 -13
  172. package/esm/src/dsl/http/versori/activation.d.ts.map +0 -1
  173. package/esm/src/dsl/http/versori/activation.js +0 -65
  174. package/esm/src/dsl/http/versori/cli.d.ts +0 -2
  175. package/esm/src/dsl/http/versori/cli.d.ts.map +0 -1
  176. package/esm/src/dsl/http/versori/cli.js +0 -20
  177. package/esm/src/dsl/http/versori/constants.d.ts +0 -20
  178. package/esm/src/dsl/http/versori/constants.d.ts.map +0 -1
  179. package/esm/src/dsl/http/versori/constants.js +0 -25
  180. package/esm/src/dsl/http/versori/internalauth.d.ts +0 -15
  181. package/esm/src/dsl/http/versori/internalauth.d.ts.map +0 -1
  182. package/esm/src/dsl/http/versori/internalauth.js +0 -90
  183. package/esm/src/dsl/http/versori/platformapi.d.ts +0 -19
  184. package/esm/src/dsl/http/versori/platformapi.d.ts.map +0 -1
  185. package/esm/src/dsl/http/versori/platformapi.js +0 -148
  186. package/esm/src/dsl/http/versori/proxyroundtripper.d.ts +0 -23
  187. package/esm/src/dsl/http/versori/proxyroundtripper.d.ts.map +0 -1
  188. package/esm/src/dsl/http/versori/proxyroundtripper.js +0 -196
  189. package/script/src/context/WorkflowClient.d.ts +0 -29
  190. package/script/src/context/WorkflowClient.d.ts.map +0 -1
  191. package/script/src/context/WorkflowClient.js +0 -99
  192. package/script/src/dsl/http/versori/activation.d.ts +0 -13
  193. package/script/src/dsl/http/versori/activation.d.ts.map +0 -1
  194. package/script/src/dsl/http/versori/activation.js +0 -69
  195. package/script/src/dsl/http/versori/cli.d.ts +0 -2
  196. package/script/src/dsl/http/versori/cli.d.ts.map +0 -1
  197. package/script/src/dsl/http/versori/cli.js +0 -23
  198. package/script/src/dsl/http/versori/constants.d.ts +0 -20
  199. package/script/src/dsl/http/versori/constants.d.ts.map +0 -1
  200. package/script/src/dsl/http/versori/constants.js +0 -28
  201. package/script/src/dsl/http/versori/internalauth.d.ts +0 -15
  202. package/script/src/dsl/http/versori/internalauth.d.ts.map +0 -1
  203. package/script/src/dsl/http/versori/internalauth.js +0 -94
  204. package/script/src/dsl/http/versori/platformapi.d.ts +0 -19
  205. package/script/src/dsl/http/versori/platformapi.d.ts.map +0 -1
  206. package/script/src/dsl/http/versori/platformapi.js +0 -152
  207. package/script/src/dsl/http/versori/proxyroundtripper.d.ts +0 -23
  208. package/script/src/dsl/http/versori/proxyroundtripper.d.ts.map +0 -1
  209. package/script/src/dsl/http/versori/proxyroundtripper.js +0 -200
@@ -1,200 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProxyRoundTripper = void 0;
4
- const mod_js_1 = require("../../../services/platform/mod.js");
5
- const configloader_js_1 = require("./configloader.js");
6
- const constants_js_1 = require("./constants.js");
7
- const helpers_js_1 = require("./helpers.js");
8
- const internalauth_js_1 = require("./internalauth.js");
9
- // TODO(@teo): there's a stub implementation of this at src/connection/ProxyConnectionFactory.ts, it may be worth
10
- // skipping this for getting performance tests over the line, and implement this next week when things calm down. We
11
- // can sort out running locally another day.
12
- // ProxyRoundTripper is a factory for creating roundtrippers that use the Versori Platform API proxy endpoints.
13
- // this should allow code from the platform to be run locally.
14
- class ProxyRoundTripper {
15
- constructor(log, platformApiBaseUrl, platformApi, cfgReader, orgId, envId) {
16
- Object.defineProperty(this, "platformApiBaseUrl", {
17
- enumerable: true,
18
- configurable: true,
19
- writable: true,
20
- value: void 0
21
- });
22
- Object.defineProperty(this, "cfgReader", {
23
- enumerable: true,
24
- configurable: true,
25
- writable: true,
26
- value: void 0
27
- });
28
- Object.defineProperty(this, "platformApi", {
29
- enumerable: true,
30
- configurable: true,
31
- writable: true,
32
- value: void 0
33
- });
34
- Object.defineProperty(this, "internalAuth", {
35
- enumerable: true,
36
- configurable: true,
37
- writable: true,
38
- value: void 0
39
- });
40
- Object.defineProperty(this, "log", {
41
- enumerable: true,
42
- configurable: true,
43
- writable: true,
44
- value: void 0
45
- });
46
- Object.defineProperty(this, "organisationId", {
47
- enumerable: true,
48
- configurable: true,
49
- writable: true,
50
- value: void 0
51
- });
52
- Object.defineProperty(this, "envId", {
53
- enumerable: true,
54
- configurable: true,
55
- writable: true,
56
- value: void 0
57
- });
58
- this.cfgReader = cfgReader;
59
- this.log = log;
60
- this.platformApiBaseUrl = platformApiBaseUrl;
61
- this.platformApi = platformApi;
62
- this.internalAuth = new internalauth_js_1.InternalAuth();
63
- this.organisationId = orgId;
64
- this.envId = envId;
65
- }
66
- static fromEnv(log) {
67
- const baseUrl = Deno.env.get(constants_js_1.envVarPlatformApiBaseURL);
68
- const orgId = Deno.env.get(constants_js_1.envVarOrgId);
69
- const envId = Deno.env.get(constants_js_1.envVarEnvId);
70
- const cfgReader = configloader_js_1.VersoriConfigReader.fromEnv(log);
71
- if (!baseUrl || !orgId || !envId) {
72
- const missingVars = [];
73
- if (!baseUrl)
74
- missingVars.push(constants_js_1.envVarPlatformApiBaseURL);
75
- if (!orgId)
76
- missingVars.push(constants_js_1.envVarOrgId);
77
- if (!envId)
78
- missingVars.push(constants_js_1.envVarEnvId);
79
- log.error(`Missing required environment variables: ${missingVars.join(', ')}`);
80
- throw new Error('Missing required environment variables: ' + missingVars.join(', '));
81
- }
82
- return new ProxyRoundTripper(log, baseUrl, mod_js_1.PlatformApiImpl.create(baseUrl), cfgReader, orgId, envId);
83
- }
84
- makeProxyUrlString(url, cnxId) {
85
- if ((0, helpers_js_1.isValidURL)(url)) {
86
- const _url = new URL(url);
87
- const proxyUrl = `${this.platformApiBaseUrl}/proxy/${cnxId}${_url.pathname}${_url.search}`;
88
- return proxyUrl;
89
- }
90
- // here we assume we just have the path and query string
91
- // although we could have a leading slash
92
- const proxyPath = url.startsWith('/') ? url : `/${url}`;
93
- return `${this.platformApiBaseUrl}/proxy/${cnxId}${proxyPath}`;
94
- }
95
- makeProxyInput(input, cnxId) {
96
- if (typeof input === 'string') {
97
- return this.makeProxyUrlString(input, cnxId);
98
- }
99
- if (input instanceof URL) {
100
- const proxyUrl = new URL(input);
101
- proxyUrl.hostname = this.platformApiBaseUrl.replace(/^https?:\/\//, '');
102
- proxyUrl.pathname = `/proxy/${cnxId}${input.pathname}`;
103
- return proxyUrl;
104
- }
105
- if (input instanceof Request) {
106
- const requestUrl = this.makeProxyUrlString(input.url, cnxId);
107
- // not actually sure if these headers overwrite whatever is in init but I have never seen
108
- // the AI use the Request type
109
- const proxyRequest = new Request(requestUrl, {
110
- ...input,
111
- headers: new Headers(input.headers),
112
- });
113
- return proxyRequest;
114
- }
115
- return input;
116
- }
117
- async makeProxyInit(init) {
118
- if (!init) {
119
- init = {};
120
- }
121
- if (!init.headers) {
122
- init.headers = new Headers();
123
- }
124
- // could be tidied up but this'll do
125
- const authHeader = await this.internalAuth.getAuthHeader();
126
- const cookie = authHeader['Cookie'];
127
- // insert the auth cookie into the headers
128
- if (init.headers instanceof Headers) {
129
- init.headers.set('Cookie', cookie);
130
- }
131
- else if (init.headers instanceof Array) {
132
- init.headers.push(['Cookie', cookie]);
133
- }
134
- else {
135
- init.headers = {
136
- ...init.headers,
137
- ['Cookie']: cookie,
138
- };
139
- }
140
- return init;
141
- }
142
- create(connName) {
143
- const cnxId = this.cfgReader.getConnectionID(connName);
144
- if (!cnxId) {
145
- this.log.error(`Connection ${connName} not found in configuration`);
146
- return Promise.resolve(undefined);
147
- }
148
- const _fn = async (input, init) => {
149
- const proxyInput = this.makeProxyInput(input, cnxId);
150
- const proxyInit = await this.makeProxyInit(init);
151
- this.log.info('proxy input and init', { input: proxyInput, init: proxyInit });
152
- return globalThis.fetch(proxyInput, proxyInit);
153
- };
154
- return Promise.resolve(_fn);
155
- }
156
- createDynamic(templateName) {
157
- const template = this.cfgReader.getTemplateID(templateName);
158
- if (!template) {
159
- this.log.error(`Template ${templateName} not found in configuration, could be a static connection`);
160
- return Promise.resolve(undefined);
161
- }
162
- const _fn = async (activation, input, init) => {
163
- const { data: conn } = await this.platformApi.getActivationConnection({
164
- path: {
165
- organisation_id: this.organisationId,
166
- env_system_id: template,
167
- activation_id: activation.id,
168
- },
169
- });
170
- if (!conn) {
171
- this.log.error(`Connection not found for activation ${activation.id} and template ${template}, using default fetch`);
172
- return globalThis.fetch(input, init);
173
- }
174
- const proxyInput = this.makeProxyInput(input, conn.id);
175
- const proxyInit = await this.makeProxyInit(init);
176
- this.log.info('proxy input and init', { input: proxyInput, init: proxyInit });
177
- return globalThis.fetch(proxyInput, proxyInit);
178
- };
179
- return Promise.resolve(_fn);
180
- }
181
- credentials() {
182
- return {
183
- getRaw: (_name, _actId) => {
184
- return Promise.reject(new Error('Not implemented, getRaw is not supported in proxy mode'));
185
- },
186
- getAccessToken: (_name, _forceRefresh, _actId) => {
187
- return Promise.reject(new Error('Not implemented, getAccessToken is not supported in proxy mode'));
188
- },
189
- getOAuth1Metadata: (_name, _actId) => {
190
- return Promise.reject(new Error('Not implemented, getOAuth1Metadata is not supported in proxy mode'));
191
- },
192
- };
193
- }
194
- baseUrlFetcher(_templateName) {
195
- return async (_activationId) => {
196
- return Promise.resolve("do not use this here");
197
- };
198
- }
199
- }
200
- exports.ProxyRoundTripper = ProxyRoundTripper;