ensend 0.0.3 → 0.0.4

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 (2) hide show
  1. package/dist/client.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/client.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { SendApi } from "./apis/SendApi";
2
- import type { ClientOptions } from "./lib/types";
2
+ import type { ClientOptions, HttpClientError } from "./lib/types";
3
3
  export declare class Client<const I extends readonly string[], const T extends readonly string[]> {
4
4
  private ENSEND_BASE_URL;
5
5
  private PROJECT_SECRET;
@@ -7,4 +7,5 @@ export declare class Client<const I extends readonly string[], const T extends r
7
7
  private http;
8
8
  SendApi: SendApi<I, T>;
9
9
  }
10
+ export type EnsendClientError = HttpClientError;
10
11
  export type { TSendApi as SendApi } from "./apis/SendApi";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ensend",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Official Typescript/Javascript SDK for the new Ensend API. See completed documentation at https://docs.ensend.co",