@thalorlabs/dadjoke 1.0.0 → 1.0.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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DadJokeClient, DadJokeClientConfig } from './DadJokeClient';
2
2
  export declare const DAD_JOKE_CONFIG: {
3
- readonly cacheTtlMs: number;
3
+ readonly cacheTtlMs: 0;
4
4
  readonly isBillable: false;
5
5
  };
package/dist/index.js CHANGED
@@ -4,6 +4,6 @@ exports.DAD_JOKE_CONFIG = exports.DadJokeClient = void 0;
4
4
  var DadJokeClient_1 = require("./DadJokeClient");
5
5
  Object.defineProperty(exports, "DadJokeClient", { enumerable: true, get: function () { return DadJokeClient_1.DadJokeClient; } });
6
6
  exports.DAD_JOKE_CONFIG = {
7
- cacheTtlMs: 1000 * 60 * 60 * 24, // 24hjokes don't change
7
+ cacheTtlMs: 0, // random endpoint no caching
8
8
  isBillable: false, // icanhazdadjoke is free
9
9
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@thalorlabs/dadjoke",
3
3
  "author": "ThalorLabs",
4
4
  "private": false,
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "description": "Provider adapter for icanhazdadjoke.com — returns TLJoke",
7
7
  "homepage": "https://github.com/ThalorLabs/dadjoke#readme",
8
8
  "bugs": {
package/src/index.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { DadJokeClient, DadJokeClientConfig } from './DadJokeClient';
2
2
 
3
3
  export const DAD_JOKE_CONFIG = {
4
- cacheTtlMs: 1000 * 60 * 60 * 24, // 24hjokes don't change
4
+ cacheTtlMs: 0, // random endpoint no caching
5
5
  isBillable: false, // icanhazdadjoke is free
6
6
  } as const;