@crvouga/mockingbird-runtime 0.2.1 → 0.3.0

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 (41) hide show
  1. package/README.md +15 -1
  2. package/dist/adapter-node.d.ts +38 -11
  3. package/dist/adapter-node.js +82 -174
  4. package/dist/adapter-node.js.map +4 -4
  5. package/dist/{chunk-4BRVNPWR.js → chunk-KD6FHYQP.js} +6 -6
  6. package/dist/{chunk-4BRVNPWR.js.map → chunk-KD6FHYQP.js.map} +2 -2
  7. package/dist/{chunk-LL6NKAJO.js → chunk-M4HUKBLC.js} +3 -2
  8. package/dist/chunk-M4HUKBLC.js.map +7 -0
  9. package/dist/chunk-RI2UQCHP.js +21 -0
  10. package/dist/chunk-RI2UQCHP.js.map +7 -0
  11. package/dist/{chunk-2Y25NPCV.js → chunk-U36J5GCB.js} +290 -1
  12. package/dist/{chunk-2Y25NPCV.js.map → chunk-U36J5GCB.js.map} +3 -3
  13. package/dist/{chunk-RO7FHXO3.js → chunk-ZQBZSSSP.js} +3 -3
  14. package/dist/core.d.ts +86 -2
  15. package/dist/core.js +23 -1
  16. package/dist/http-provider.js +7 -7
  17. package/dist/http-provider.js.map +1 -1
  18. package/dist/mqtt-broker/node.js +4 -4
  19. package/dist/mqtt-broker.js +4 -4
  20. package/dist/preview/artifacts.d.ts +4 -9
  21. package/dist/preview/artifacts.js +4 -16
  22. package/dist/preview/artifacts.js.map +2 -2
  23. package/dist/preview/bridge.d.ts +8 -8
  24. package/dist/preview/bridge.js +1 -1
  25. package/dist/preview/harness.d.ts +1 -1
  26. package/dist/preview/harness.js +10 -56
  27. package/dist/preview/harness.js.map +2 -2
  28. package/dist/preview/host.d.ts +4 -9
  29. package/dist/preview/host.js +30 -37
  30. package/dist/preview/host.js.map +2 -2
  31. package/dist/service/admin.js +2 -2
  32. package/dist/service.d.ts +3 -1
  33. package/dist/service.js +6 -4
  34. package/dist/ui.d.ts +1 -37
  35. package/dist/ui.js +2 -701
  36. package/dist/ui.js.map +3 -3
  37. package/package.json +7 -6
  38. package/dist/chunk-EBGYPQPA.js +0 -198
  39. package/dist/chunk-EBGYPQPA.js.map +0 -7
  40. package/dist/chunk-LL6NKAJO.js.map +0 -7
  41. /package/dist/{chunk-RO7FHXO3.js.map → chunk-ZQBZSSSP.js.map} +0 -0
@@ -49,12 +49,12 @@ import {
49
49
  toHex,
50
50
  upstreamRequest,
51
51
  upstreamState
52
- } from "./chunk-LL6NKAJO.js";
52
+ } from "./chunk-M4HUKBLC.js";
53
53
  import {
54
54
  Timeline,
55
55
  forwardMountContext,
56
56
  mount
57
- } from "./chunk-2Y25NPCV.js";
57
+ } from "./chunk-U36J5GCB.js";
58
58
  import {
59
59
  operationMetadata
60
60
  } from "./chunk-EQLY2YOA.js";
@@ -5849,8 +5849,8 @@ var stateAdminRoutes = (routes) => {
5849
5849
  };
5850
5850
 
5851
5851
  // ../service/core/dist/version.js
5852
- var UNRELEASED_VERSION = "0.2.1";
5853
- var PACKAGE_VERSION = true ? "0.2.1" : UNRELEASED_VERSION;
5852
+ var UNRELEASED_VERSION = "0.3.0";
5853
+ var PACKAGE_VERSION = true ? "0.3.0" : UNRELEASED_VERSION;
5854
5854
 
5855
5855
  // ../service/core/dist/webhooks.js
5856
5856
  var signers = {
@@ -7390,7 +7390,7 @@ var createRuntime = (options) => {
7390
7390
  forwarded = true;
7391
7391
  let response2;
7392
7392
  try {
7393
- let outgoing = upstreamRequest(request, upstream.baseUrl);
7393
+ let outgoing = (options.upstreamRequest ?? upstreamRequest)(request, upstream.baseUrl);
7394
7394
  if (options.upstream.rewriteAuth)
7395
7395
  outgoing = await options.upstream.rewriteAuth(outgoing);
7396
7396
  response2 = await options.upstream.fetch(outgoing);
@@ -7743,4 +7743,4 @@ export {
7743
7743
  signV4,
7744
7744
  putObject
7745
7745
  };
7746
- //# sourceMappingURL=chunk-4BRVNPWR.js.map
7746
+ //# sourceMappingURL=chunk-KD6FHYQP.js.map