@thalorlabs/jokeapi 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 { JokeApiClient, JokeApiClientConfig, JokeApiQueryParams, } from './JokeApiClient';
2
2
  export declare const JOKE_API_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.JOKE_API_CONFIG = exports.JokeApiClient = void 0;
4
4
  var JokeApiClient_1 = require("./JokeApiClient");
5
5
  Object.defineProperty(exports, "JokeApiClient", { enumerable: true, get: function () { return JokeApiClient_1.JokeApiClient; } });
6
6
  exports.JOKE_API_CONFIG = {
7
- cacheTtlMs: 1000 * 60 * 60, // 1h
7
+ cacheTtlMs: 0, // random endpoint no caching
8
8
  isBillable: false, // jokeapi.dev is free
9
9
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@thalorlabs/jokeapi",
3
3
  "author": "ThalorLabs",
4
4
  "private": false,
5
- "version": "1.0.0",
5
+ "version": "1.0.1",
6
6
  "description": "Provider adapter for v2.jokeapi.dev — returns TLJoke",
7
7
  "homepage": "https://github.com/ThalorLabs/jokeapi#readme",
8
8
  "bugs": {
package/src/index.ts CHANGED
@@ -5,6 +5,6 @@ export {
5
5
  } from './JokeApiClient';
6
6
 
7
7
  export const JOKE_API_CONFIG = {
8
- cacheTtlMs: 1000 * 60 * 60, // 1h
8
+ cacheTtlMs: 0, // random endpoint no caching
9
9
  isBillable: false, // jokeapi.dev is free
10
10
  } as const;