react-email-rails 0.1.2 → 0.1.3

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/bin/dev.mjs CHANGED
@@ -4,7 +4,9 @@ import { fail, isolatedViteConfig, loadReactEmailRailsConfig } from "./shared.mj
4
4
  import { RENDER_PROTOCOL_VERSION, VERSION } from "../dist/version.js"
5
5
 
6
6
  if (process.argv.includes("--health")) {
7
- process.stdout.write(JSON.stringify({ ok: true, protocolVersion: RENDER_PROTOCOL_VERSION, packageVersion: VERSION }))
7
+ process.stdout.write(
8
+ JSON.stringify({ ok: true, protocolVersion: RENDER_PROTOCOL_VERSION, packageVersion: VERSION }),
9
+ )
8
10
  process.exit(0)
9
11
  }
10
12
 
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.2";
1
+ export declare const VERSION = "0.1.3";
2
2
  export declare const RENDER_PROTOCOL_VERSION = 1;
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.1.2";
1
+ export const VERSION = "0.1.3";
2
2
  export const RENDER_PROTOCOL_VERSION = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-email-rails",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Build and send emails using React and Rails",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/runtime.ts CHANGED
@@ -134,7 +134,9 @@ async function writePersistentResponse(
134
134
  return
135
135
  }
136
136
 
137
- write(`${JSON.stringify({ ok: true, ...(await renderEmail(request, registry)), ...protocolMetadata() })}\n`)
137
+ write(
138
+ `${JSON.stringify({ ok: true, ...(await renderEmail(request, registry)), ...protocolMetadata() })}\n`,
139
+ )
138
140
  } catch (error) {
139
141
  write(
140
142
  `${JSON.stringify({
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.1.2"
1
+ export const VERSION = "0.1.3"
2
2
  export const RENDER_PROTOCOL_VERSION = 1