bul-email 0.1.0 → 0.1.1
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/README.md +5 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,6 +96,11 @@ const { id } = await bul.emails.send(
|
|
|
96
96
|
|
|
97
97
|
Almost the same code: change the import and the key. Full guide: [Migrating from Resend](https://bul.friman.app/docs#migrate-from-resend).
|
|
98
98
|
|
|
99
|
+
### Changelog
|
|
100
|
+
|
|
101
|
+
- **0.1.1** — documentation (this changelog) and the version string. No behavior changes. The first release published straight from the build pipeline, with a verified publisher.
|
|
102
|
+
- **0.1.0** — first release.
|
|
103
|
+
|
|
99
104
|
### License
|
|
100
105
|
|
|
101
106
|
MIT
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ interface RequestSpec {
|
|
|
36
36
|
/** POST that is safe to repeat even without an Idempotency-Key (the API deduplicates). */
|
|
37
37
|
idempotent?: boolean;
|
|
38
38
|
}
|
|
39
|
-
export declare const SDK_VERSION = "0.1.
|
|
39
|
+
export declare const SDK_VERSION = "0.1.1";
|
|
40
40
|
export declare class Bul {
|
|
41
41
|
private readonly apiKey;
|
|
42
42
|
private readonly baseUrl;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export * from "./errors";
|
|
|
3
3
|
export * from "./types";
|
|
4
4
|
export { constructWebhookEvent, verifyWebhookSignature } from "./webhooks";
|
|
5
5
|
const RETRY_STATUS = new Set([500, 502, 503, 504]);
|
|
6
|
-
export const SDK_VERSION = "0.1.
|
|
6
|
+
export const SDK_VERSION = "0.1.1";
|
|
7
7
|
function newKey() {
|
|
8
8
|
return typeof crypto !== "undefined" && "randomUUID" in crypto
|
|
9
9
|
? crypto.randomUUID()
|