@distilled.cloud/resend 1.0.0-rc.15 → 1.0.0-rc.16

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Resend credentials — hand-written.
2
+ * Resend credentials -- hand-written.
3
3
  *
4
4
  * The `Credentials` service holds an *effect* that resolves the current
5
5
  * credentials on every request (the protocol layer resolves it per request
@@ -15,7 +15,7 @@ export interface Config {
15
15
  readonly apiBaseUrl: string;
16
16
  }
17
17
  declare const Credentials_base: Context.ServiceClass<Credentials, "ResendCredentials", Effect.Effect<Config, never, never>>;
18
- export declare class Credentials extends Credentials_base {
18
+ export declare class Credentials extends /*@__PURE__*/ Credentials_base {
19
19
  }
20
20
  /** Layer from a redacted API key + optional base URL. */
21
21
  export declare const fromApiKey: (config: {
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAEJ,yDAAyD;AACzD,eAAO,MAAM,UAAU,WAAY;IACjC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,KAAG,KAAK,CAAC,KAAK,CAAC,WAAW,CAOxB,CAAC;AAEJ,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAgBvD,CAAC"}
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAE7D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WACX,SAAQ,aAAa,CAAC,gBAErB;CAAG;AAEN,yDAAyD;AACzD,eAAO,MAAM,UAAU,WAAY;IACjC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC3C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B,KAAG,KAAK,CAAC,KAAK,CAAC,WAAW,CAOxB,CAAC;AAEJ,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAgBvD,CAAC"}
@@ -1,25 +1,26 @@
1
1
  import { ConfigError } from "@distilled.cloud/core/errors";
2
- /**
3
- * Resend credentials — hand-written.
4
- *
5
- * The `Credentials` service holds an *effect* that resolves the current
6
- * credentials on every request (the protocol layer resolves it per request
7
- * on the calling fiber).
8
- */
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
9
  import * as Context from "effect/Context";
10
10
  import * as Effect from "effect/Effect";
11
11
  import * as Layer from "effect/Layer";
12
12
  import * as Redacted from "effect/Redacted";
13
13
  export const DEFAULT_API_BASE_URL = "https://api.resend.com";
14
- export class Credentials extends Context.Service()("ResendCredentials") {
14
+ export class Credentials extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("ResendCredentials") {
15
15
  }
16
- /** Layer from a redacted API key + optional base URL. */
16
+
17
17
  export const fromApiKey = (config) => Layer.succeed(Credentials, Effect.succeed({
18
18
  apiKey: config.apiKey,
19
19
  apiBaseUrl: config.apiBaseUrl ?? DEFAULT_API_BASE_URL,
20
20
  }));
21
- /** Reads RESEND_API_KEY (required) and RESEND_API_BASE_URL (optional). */
22
- export const CredentialsFromEnv = Layer.succeed(Credentials, Effect.gen(function* () {
21
+
22
+ export const CredentialsFromEnv = /*@__PURE__*/ Layer.succeed(Credentials,
23
+ /*@__PURE__*/ Effect.gen(function* () {
23
24
  const apiKey = process.env.RESEND_API_KEY;
24
25
  if (!apiKey) {
25
26
  return yield* new ConfigError({
@@ -1 +1 @@
1
- {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D;;;;;;GAMG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AAO7D,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAsC,CACpF,mBAAmB,CACpB;CAAG;AAEJ,yDAAyD;AACzD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAG1B,EAA4B,EAAE,CAC7B,KAAK,CAAC,OAAO,CACX,WAAW,EACX,MAAM,CAAC,OAAO,CAAC;IACb,MAAM,EAAE,MAAM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CAAC,OAAO,CAAC;IACb,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,oBAAoB;CACtD,CAAC,CACH,CAAC;AAEJ,0EAA0E;AAC1E,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CAAC,KAAK,CAAC,OAAO,CACrF,WAAW;AACX,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAChC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC;IAE1C,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,KAAK,CAAC,CAAC,IAAI,WAAW,CAAC;YAC5B,OAAO,EAAE,iDAAiD;SAC3D,CAAC,CAAC;IACL,CAAC;IAED,OAAO;QACL,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;QAC7B,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,oBAAoB;KACpE,CAAC;AACJ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CACtB,CAAC"}
package/lib/errors.d.ts CHANGED
@@ -3,34 +3,34 @@
3
3
  *
4
4
  * Re-exports the common HTTP errors from core and adds the Resend fallback
5
5
  * errors. Note the generated service module additionally defines its own
6
- * per-status matcher classes (BadRequest/NotFound/…) for the statuses each
7
- * operation declares — those share `_tag`s with the core classes here, so
6
+ * per-status matcher classes (BadRequest/NotFound/...) for the statuses each
7
+ * operation declares -- those share `_tag`s with the core classes here, so
8
8
  * `catchTag` works against either.
9
9
  */
10
10
  export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
11
11
  export type { DefaultErrors } from "@distilled.cloud/core/errors";
12
- import * as Schema from "effect/Schema";
13
- declare const UnknownResendError_base: Schema.Class<UnknownResendError, Schema.TaggedStruct<"UnknownResendError", {
14
- readonly code: Schema.optional<Schema.String>;
15
- readonly message: Schema.optional<Schema.String>;
16
- readonly body: Schema.Unknown;
17
- }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
12
+ import * as Schema from "@distilled.cloud/core/schema-lite-typed";
13
+ declare const UnknownResendError_base: Schema.TaggedErrorClass<"UnknownResendError", {
14
+ readonly code: import("effect/Schema").optional<import("effect/Schema").String>;
15
+ readonly message: import("effect/Schema").optional<import("effect/Schema").String>;
16
+ readonly body: import("effect/Schema").Unknown;
17
+ }> & (new (...args: any[]) => {
18
18
  "@distilled.cloud/error/categories": {
19
19
  ServerError: true;
20
20
  };
21
21
  });
22
- /** Unknown Resend error — returned when nothing else matches the failure. */
23
- export declare class UnknownResendError extends UnknownResendError_base {
22
+ /** Unknown Resend error -- returned when nothing else matches the failure. */
23
+ export declare class UnknownResendError extends /*@__PURE__*/ UnknownResendError_base {
24
24
  }
25
- declare const ResendParseError_base: Schema.Class<ResendParseError, Schema.TaggedStruct<"ResendParseError", {
26
- readonly body: Schema.Unknown;
27
- readonly cause: Schema.Unknown;
28
- }>, import("effect/Cause").YieldableError> & (new (...args: any[]) => {
25
+ declare const ResendParseError_base: Schema.TaggedErrorClass<"ResendParseError", {
26
+ readonly body: import("effect/Schema").Unknown;
27
+ readonly cause: import("effect/Schema").Unknown;
28
+ }> & (new (...args: any[]) => {
29
29
  "@distilled.cloud/error/categories": {
30
30
  ParseError: true;
31
31
  };
32
32
  });
33
33
  /** Schema parse error wrapper. */
34
- export declare class ResendParseError extends ResendParseError_base {
34
+ export declare class ResendParseError extends /*@__PURE__*/ ResendParseError_base {
35
35
  }
36
36
  //# sourceMappingURL=errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAGlE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;;;;;;;;;;AAExC,6EAA6E;AAC7E,qBAAa,kBAAmB,SAAQ,uBAOR;CAAG;;;;;;;;;AAEnC,kCAAkC;AAClC,qBAAa,gBAAiB,SAAQ,qBAGN;CAAG"}
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAGlE,OAAO,KAAK,MAAM,MAAM,yCAAyC,CAAC;;;;;;;;;;AAElE,8EAA8E;AAC9E,qBAAa,kBACX,SAAQ,aAAa,CAAC,uBAIW;CAAG;;;;;;;;;AAEtC,kCAAkC;AAClC,qBAAa,gBACX,SAAQ,aAAa,CAAC,qBAGU;CAAG"}
package/lib/errors.js CHANGED
@@ -1,24 +1,24 @@
1
- /**
2
- * Resend-specific error types.
3
- *
4
- * Re-exports the common HTTP errors from core and adds the Resend fallback
5
- * errors. Note the generated service module additionally defines its own
6
- * per-status matcher classes (BadRequest/NotFound/…) for the statuses each
7
- * operation declares — those share `_tag`s with the core classes here, so
8
- * `catchTag` works against either.
9
- */
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
10
  export { BadGateway, BadRequest, Conflict, ConfigError, Forbidden, GatewayTimeout, InternalServerError, Locked, NotFound, ServiceUnavailable, TooManyRequests, Unauthorized, UnprocessableEntity, HTTP_STATUS_MAP, DEFAULT_ERRORS, API_ERRORS, } from "@distilled.cloud/core/errors";
11
11
  import * as Category from "@distilled.cloud/core/category";
12
- import * as Schema from "effect/Schema";
13
- /** Unknown Resend error — returned when nothing else matches the failure. */
14
- export class UnknownResendError extends Schema.TaggedError()("UnknownResendError", {
15
- code: Schema.optional(Schema.String),
16
- message: Schema.optional(Schema.String),
12
+ import * as Schema from "@distilled.cloud/core/schema-lite-typed";
13
+
14
+ export class UnknownResendError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("UnknownResendError", {
15
+ code: /*@__PURE__*/ Schema.optional(Schema.String),
16
+ message: /*@__PURE__*/ Schema.optional(Schema.String),
17
17
  body: Schema.Unknown,
18
18
  }).pipe(Category.withServerError) {
19
19
  }
20
- /** Schema parse error wrapper. */
21
- export class ResendParseError extends Schema.TaggedError()("ResendParseError", {
20
+
21
+ export class ResendParseError extends /*@__PURE__*/ /*@__PURE__*/ Schema.TaggedError()("ResendParseError", {
22
22
  body: Schema.Unknown,
23
23
  cause: Schema.Unknown,
24
24
  }).pipe(Category.withParseError) {
package/lib/errors.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,cAAc,EACd,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,cAAc,EACd,UAAU,GACX,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,QAAQ,MAAM,gCAAgC,CAAC;AAC3D,OAA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AQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,MAAM,CAAC,OAAO;CACrB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC;CAAG;AAEtC,kCAAkC;AAClC,MAAM,OAAO,gBACX,SAAQ,aAAa,CAAb,aAAa,CAAC,MAAM,CAAC,WAAW,EAAoB,CAAC,kBAAkB,EAAE;IAC/E,IAAI,EAAE,MAAM,CAAC,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC,OAAO;CACtB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;CAAG"}
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @distilled.cloud/resend — Resend SDK for Effect.
2
+ * @distilled.cloud/resend -- Resend SDK for Effect.
3
3
  *
4
4
  * `./services` is generated by `scripts/generate.ts` from the Smithy model
5
5
  * in `.generated-specs` (written by `scripts/convert.ts` from the OpenAPI
package/lib/index.js CHANGED
@@ -1,17 +1,17 @@
1
- /**
2
- * @distilled.cloud/resend — Resend SDK for Effect.
3
- *
4
- * `./services` is generated by `scripts/generate.ts` from the Smithy model
5
- * in `.generated-specs` (written by `scripts/convert.ts` from the OpenAPI
6
- * spec). Everything else in this folder is hand-written.
7
- *
8
- * @example
9
- * ```ts
10
- * import * as Resend from "@distilled.cloud/resend";
11
- *
12
- * const emails = yield* Resend.Services.resend.getEmails({});
13
- * ```
14
- */
1
+
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
15
  export * from "./credentials.js";
16
16
  export * from "./errors.js";
17
17
  export * as T from "./traits.js";
@@ -21,7 +21,7 @@ export * as Retry from "./retry.js";
21
21
  export * as Services from "./services/index.js";
22
22
  // Operations (and their request/response types) are importable straight off
23
23
  // the package root. The OpenAPI document does not declare per-status error
24
- // bodies, so typed error classes are not generated — failures ride
24
+ // bodies, so typed error classes are not generated -- failures ride
25
25
  // ResendOpError / the shared HTTP-status map.
26
26
  export * from "./services/resend.js";
27
27
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,cAAc,EAA4C,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,4EAA4E;AAC5E,2EAA2E;AAC3E,mEAAmE;AACnE,8CAA8C;AAC9C,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,cAAc,EAA4C,MAAM,eAAe,CAAC;AACzF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,4EAA4E;AAC5E,2EAA2E;AAC3E,oEAAoE;AACpE,8CAA8C;AAC9C,cAAc,sBAAsB,CAAC"}
package/lib/pagination.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import * as Pagination from "@distilled.cloud/core/pagination";
2
- /**
3
- * Resend pagination — hand-written.
4
- *
5
- * Resend's paginated list operations are cursor-mode (`after`/`limit` in,
6
- * `has_more` + last `data[].id` out). There is no next-cursor field on the
7
- * response — the docs say to pass the last item's `id` as `after` — so
8
- * generated operations pass {@link paginateResend} rather than core's
9
- * paginateCursor.
10
- */
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
11
  import * as Effect from "effect/Effect";
12
12
  import * as Stream from "effect/Stream";
13
- /**
14
- * Walk forward with `after` set to the last item's `id` while `has_more` is
15
- * true. An empty page or a repeated cursor terminates even if `has_more`
16
- * claims otherwise.
17
- */
13
+
14
+
15
+
16
+
17
+
18
18
  export const paginateResend = (operation, input, pagination) => {
19
19
  const inputToken = pagination.inputToken;
20
20
  if (!inputToken) {
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAmB5E,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,KAAK,eAAe,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GACrB,YAAY,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,GACzC,kBAAkB,GAClB,WAAW,GACX,eAAe,CAAC,eAAe,GAC/B,gBAAgB,CAAC;AAErB,yEAAyE;AACzE,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CA8BnD,CAAC"}
1
+ {"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,GAAG,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAmB5E,OAAO,KAAK,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,KAAK,eAAe,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GACrB,YAAY,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,GACzC,kBAAkB,GAClB,WAAW,GACX,eAAe,CAAC,eAAe,GAC/B,gBAAgB,CAAC;AAErB,yEAAyE;AACzE,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC;AAElE,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CA2BnD,CAAC"}
package/lib/protocol.js CHANGED
@@ -1,31 +1,28 @@
1
1
  import { makeRestProtocol } from "@distilled.cloud/core/protocol-rest";
2
- /**
3
- * ResendProtocol — hand-written.
4
- *
5
- * Resend speaks plain bearer-authenticated JSON REST (no response envelope),
6
- * so the whole protocol is one `makeRestProtocol` call from
7
- * `core/protocol-rest`:
8
- *
9
- * request: credentials → `Authorization: Bearer <apiKey>` + base URL
10
- * (default https://api.resend.com), resolved from the
11
- * calling fiber on every request
12
- *
13
- * response: 2xx JSON is the payload (sensitive members delivered as
14
- * `Redacted`); non-2xx `{ name?, message, statusCode? }` bodies
15
- * map to the operation's typed error classes by status, then the
16
- * shared HTTP-status classes, then {@link UnknownResendError}.
17
- */
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
18
  import * as Effect from "effect/Effect";
19
19
  import * as Redacted from "effect/Redacted";
20
20
  import { Credentials } from "./credentials.js";
21
21
  import { UnknownResendError, ResendParseError } from "./errors.js";
22
- export const ResendProtocol = makeRestProtocol({
23
- // The Credentials service holds an effect — resolving it here (per
22
+ export const ResendProtocol = /*@__PURE__*/ makeRestProtocol({
23
+ // The Credentials service holds an effect -- resolving it here (per
24
24
  // request, on the calling fiber) picks up context-provided credentials.
25
- credentials: Effect.gen(function* () {
26
- const resolve = yield* Credentials;
27
- return yield* resolve;
28
- }),
25
+ credentials: /*@__PURE__*/ Effect.flatMap(Credentials, (resolve) => resolve),
29
26
  baseUrl: (creds) => creds.apiBaseUrl,
30
27
  headers: (creds) => ({
31
28
  Authorization: `Bearer ${Redacted.value(creds.apiKey)}`,
@@ -1 +1 @@
1
- {"version":3,"file":"protocol.js","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAe,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAkBnE,MAAM,CAAC,MAAM,cAAc,GAA8B,gBAAgB,CAAS;IAChF,mEAAmE;IACnE,wEAAwE;IACxE,WAAW,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC/B,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,WAAW,CAAC;QACnC,OAAO,KAAK,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC,CAAC;IACF,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU;IACpC,OAAO,EAAE,CAAC,KAAK,EA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AChG,MAAM,OAAO,GAAG,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;QAC1E,IAAI,IAAI,KAAK,SAAS,IAAI,OAAO,KAAK,SAAS;YAAE,OAAO,SAAS,CAAC;QAClE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAC3B,CAAC;IACD,YAAY,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CACxC,IAAI,kBAAkB,CAAC;QACrB,IAAI,EAAE,OAAO,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;QACrF,OAAO;QACP,IAAI;KACL,CAAC;IACJ,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,IAAI,gBAAgB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;CACvE,CAAC,CAAC"}
package/lib/retry.d.ts CHANGED
@@ -19,7 +19,7 @@ import * as Effect from "effect/Effect";
19
19
  export { type Options, type Factory, type Policy, makeDefault, jittered, capped, throttlingOptions, transientOptions, throttlingFactory, transientFactory, } from "@distilled.cloud/core/retry";
20
20
  declare const Retry_base: Context.ServiceClass<Retry, "ResendRetry", Policy>;
21
21
  /** Context tag for configuring retry behavior of Resend API calls. */
22
- export declare class Retry extends Retry_base {
22
+ export declare class Retry extends /*@__PURE__*/ Retry_base {
23
23
  }
24
24
  /** Provides a custom retry policy to every Resend API call below it. */
25
25
  export declare const policy: (optionsOrFactory: Policy) => <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Retry>>;
@@ -1 +1 @@
1
- {"version":3,"file":"retry.d.ts","sourceRoot":"","sources":["../src/retry.ts"],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C,eAAO,MAAM,IAAI,mFAEhB,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,UAAU,mFAA0C,CAAC;AAElE,oFAAoF;AACpF,eAAO,MAAM,SAAS,mFAAyC,CAAC"}
package/lib/retry.js CHANGED
@@ -1,32 +1,33 @@
1
1
  import { throttlingFactory, transientFactory } from "@distilled.cloud/core/retry";
2
- /**
3
- * Resend retry configuration.
4
- *
5
- * Defines the per-SDK `Retry` Context.Service tag that generated operations
6
- * wire into `API.make`. Callers can install a blanket retry policy at the
7
- * layer level and have every Resend API call below it pick it up:
8
- *
9
- * @example
10
- * ```ts
11
- * import * as Resend from "@distilled.cloud/resend";
12
- *
13
- * myEffect.pipe(Resend.Retry.transient);
14
- * Effect.provide(myEffect, Layer.succeed(Resend.Retry.Retry, customPolicy));
15
- * ```
16
- */
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
17
  import * as Context from "effect/Context";
18
18
  import * as Effect from "effect/Effect";
19
19
  import * as Layer from "effect/Layer";
20
20
  export { makeDefault, jittered, capped, throttlingOptions, transientOptions, throttlingFactory, transientFactory, } from "@distilled.cloud/core/retry";
21
- /** Context tag for configuring retry behavior of Resend API calls. */
22
- export class Retry extends Context.Service()("ResendRetry") {
21
+
22
+ export class Retry extends /*@__PURE__*/ /*@__PURE__*/ Context.Service()("ResendRetry") {
23
23
  }
24
- /** Provides a custom retry policy to every Resend API call below it. */
24
+
25
25
  export const policy = (optionsOrFactory) => Effect.provide(Layer.succeed(Retry, optionsOrFactory));
26
- /** Disables all automatic retries. */
27
- export const none = Effect.provide(Layer.succeed(Retry, { while: () => false }));
28
- /** Apply the throttling retry policy (retries throttling errors indefinitely). */
29
- export const throttling = policy(throttlingFactory);
30
- /** Apply the transient retry policy (retries all transient errors indefinitely). */
31
- export const transient = policy(transientFactory);
26
+
27
+ export const none = /*@__PURE__*/ Effect.provide(
28
+ /*@__PURE__*/ Layer.succeed(Retry, { while: () => false }));
29
+
30
+ export const throttling = /*@__PURE__*/ policy(throttlingFactory);
31
+
32
+ export const transient = /*@__PURE__*/ policy(transientFactory);
32
33
  //# sourceMappingURL=retry.js.map
package/lib/retry.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/retry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/F;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,EAIL,WAAW,EACX,QAAQ,EACR,MAAM,EACN,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AAErC,sEAAsE;AACtE,MAAM,OAAO,KAAM,SAAQ,OAAO,CAAC,OAAO,EAAiB,CAAC,aAAa,CAAC;CAAG;AAE7E,wEAAwE;AACxE,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,gBAAwB,EAAE,EAAE,CACjD,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC;AAEzD,sCAAsC;AACtC,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;AAEjF,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAEpD,oFAAoF;AACpF,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"retry.js","sourceRoot":"","sources":["../src/ret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