@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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.d.ts
CHANGED
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:
|
|
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.
|
|
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:
|
|
4
|
+
cacheTtlMs: 0, // random endpoint — no caching
|
|
5
5
|
isBillable: false, // icanhazdadjoke is free
|
|
6
6
|
} as const;
|