@big-whale-labs/botcaster
Advanced tools
Comparing version 0.0.7 to 0.0.8
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const unfetch_1 = require("unfetch"); | ||
const ky_1 = require("ky"); | ||
function default_1(cursor, bearerToken) { | ||
return (0, unfetch_1.default)(cursor | ||
return (0, ky_1.default)(cursor | ||
? `https://api.farcaster.xyz/v2/mention-and-reply-notifications?limit=10&cursor=${cursor}` | ||
@@ -12,5 +12,5 @@ : 'https://api.farcaster.xyz/v2/mention-and-reply-notifications?limit=10', { | ||
}, | ||
}).then((res) => res.json()); | ||
}).json(); | ||
} | ||
exports.default = default_1; | ||
//# sourceMappingURL=fetchNotifications.js.map |
{ | ||
"name": "@big-whale-labs/botcaster", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Farcaster bot framework", | ||
@@ -27,4 +27,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"node-persist": "^3.1.0", | ||
"unfetch": "^4.2.0" | ||
"ky": "^0.33.0", | ||
"node-persist": "^3.1.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12352
+ Addedky@^0.33.0
+ Addedky@0.33.3(transitive)
- Removedunfetch@^4.2.0
- Removedunfetch@4.2.0(transitive)