@fatagnus/dink-sdk 2.23.1 → 2.24.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.
@@ -1,25 +1,27 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
1
3
  /**
2
4
  * Credentials loaded from a .dink/ environment or env vars.
3
5
  */
4
6
  export interface DinkEnv {
5
- name: string;
6
- server: string;
7
- apiKey: string;
8
- appId: string;
9
- syncKey: string;
7
+ name: string;
8
+ server: string;
9
+ apiKey: string;
10
+ appId: string;
11
+ syncKey: string;
10
12
  }
11
13
  /**
12
14
  * Options for loadDinkEnv.
13
15
  */
14
16
  export interface LoadOptions {
15
- app?: string;
17
+ app?: string;
16
18
  }
17
19
  /**
18
20
  * Error thrown when environment resolution fails.
19
21
  */
20
22
  export declare class DinkEnvError extends Error {
21
- readonly code: 'NO_ENVIRONMENT' | 'NOT_FOUND';
22
- constructor(message: string, code: 'NO_ENVIRONMENT' | 'NOT_FOUND');
23
+ readonly code: "NO_ENVIRONMENT" | "NOT_FOUND";
24
+ constructor(message: string, code: "NO_ENVIRONMENT" | "NOT_FOUND");
23
25
  }
24
26
  /**
25
27
  * Load Dink credentials.
@@ -38,4 +40,5 @@ export declare class DinkEnvError extends Error {
38
40
  * 5. empty string
39
41
  */
40
42
  export declare function loadDinkEnv(name?: string, options?: LoadOptions): Promise<DinkEnv>;
41
- //# sourceMappingURL=index.d.ts.map
43
+
44
+ export {};
package/dist/errors.d.ts CHANGED
@@ -50,4 +50,3 @@ export declare class ConfigError extends DinkError {
50
50
  export declare class WebhookError extends DinkError {
51
51
  constructor(message: string, code?: string);
52
52
  }
53
- //# sourceMappingURL=errors.d.ts.map