@mochabug/adaptkit 1.0.0-rc.30 → 1.0.0-rc.32
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.
- package/assets/configurator_none.ts +2 -2
- package/assets/configurator_react.tsx +2 -2
- package/bin/index.js +1 -1
- package/bin/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -22,8 +22,8 @@ export default {
|
|
|
22
22
|
});
|
|
23
23
|
})
|
|
24
24
|
.add('GET', '/api/config', async (_req, api) => {
|
|
25
|
-
const
|
|
26
|
-
return new Response(JSON.stringify(
|
|
25
|
+
const { metadata } = await api.getConfig('metadata');
|
|
26
|
+
return new Response(JSON.stringify(metadata), {
|
|
27
27
|
headers: {
|
|
28
28
|
'Content-Type': 'application/json'
|
|
29
29
|
}
|
|
@@ -22,8 +22,8 @@ export default {
|
|
|
22
22
|
});
|
|
23
23
|
})
|
|
24
24
|
.add('GET', '/api/config', async (_req, api) => {
|
|
25
|
-
const
|
|
26
|
-
return new Response(JSON.stringify(
|
|
25
|
+
const { metadata } = await api.getConfig('metadata');
|
|
26
|
+
return new Response(JSON.stringify(metadata), {
|
|
27
27
|
headers: {
|
|
28
28
|
'Content-Type': 'application/json'
|
|
29
29
|
}
|
package/bin/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
// <define:__PACKAGE_JSON__>
|
|
4
|
-
var define_PACKAGE_JSON_default = { name: "@mochabug/adaptkit", version: "1.0.0-rc.
|
|
4
|
+
var define_PACKAGE_JSON_default = { name: "@mochabug/adaptkit", version: "1.0.0-rc.32" };
|
|
5
5
|
|
|
6
6
|
// node_modules/@bufbuild/protobuf/dist/esm/is-message.js
|
|
7
7
|
function isMessage(arg, schema) {
|