@duckity/js 0.1.6 → 0.2.0

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/dist/index.d.ts CHANGED
@@ -3,15 +3,11 @@
3
3
  */
4
4
  interface GetDuckityChallengeOptions {
5
5
  /**
6
- * The custom-context threat correlation keys to be sent with the request.
7
- */
8
- keys?: {
9
- [key: string]: string;
10
- };
11
- /**
12
- * The base URL to the API endpoint. Defaults to `https://quack.duckity.com` if not provided.
6
+ * The base URL to the API endpoint. Defaults to `https://api.duckity.com/d1` if not provided.
7
+ *
8
+ * The version must be specified in the URL path.
13
9
  *
14
- * Update this when self-hosting a Duckling. No trailing slash must be included in the URL.
10
+ * Only update this when self-hosting a Duckling.
15
11
  */
16
12
  api?: string;
17
13
  }
@@ -24,9 +20,6 @@ interface GetDuckityChallengeOptions {
24
20
  * @returns The solution to the challenge issued by Duckity.
25
21
  */
26
22
  declare function solve(protectionProfileId: string, options?: GetDuckityChallengeOptions): Promise<string>;
27
- declare const _default: {
28
- solve: typeof solve;
29
- };
30
23
 
31
- export { _default as default, solve };
24
+ export { solve };
32
25
  export type { GetDuckityChallengeOptions };