Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amanda-mitchell/biblia-api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amanda-mitchell/biblia-api - npm Package Compare versions

Comparing version 3.2.2 to 4.0.0

dist/__tests__/client.d.ts

10

dist/client.d.ts

@@ -36,4 +36,4 @@ export declare const usageAcknowledgment = "<a href=\"https://biblia.com/\"><img src=\"https://api.biblia.com/v1/PoweredByBiblia_small.png\" alt=\"Powered by Biblia\" /></a>\nThis site uses the <a href=\"https://biblia.com/\">Biblia</a> web services from <a href=\"https://www.logos.com/\">Logos Bible Software</a>.";

footer?: string | undefined;
bible: "asv" | "arvandyke" | "kjv" | "lsg" | "byz" | "darby" | "elzevir" | "itdiodati1649" | "emphbbl" | "kjv1900" | "kjvapoc" | "leb" | "scrmorph" | "fi-raamattu" | "rvr60" | "rva" | "bb-sbb-rusbt" | "eo-zamenbib" | "tr1881" | "tr1894mr" | "svv" | "stephens" | "tanakh" | "wbtc-ptbrnt" | "wh1881mr" | "ylt";
passage: string;
bible: "asv" | "arvandyke" | "kjv" | "lsg" | "byz" | "darby" | "elzevir" | "itdiodati1649" | "emphbbl" | "kjv1900" | "kjvapoc" | "leb" | "scrmorph" | "fi-raamattu" | "rvr60" | "rva" | "bb-sbb-rusbt" | "eo-zamenbib" | "tr1881" | "tr1894mr" | "svv" | "stephens" | "tanakh" | "wbtc-ptbrnt" | "wh1881mr" | "ylt";
format: "txt" | "html";

@@ -52,8 +52,8 @@ }) => Promise<string>;

search: (options: {
sort?: "relevance" | "passage" | undefined;
start?: number | undefined;
limit?: number | undefined;
sort?: "passage" | "relevance" | undefined;
mode?: "verse" | "fuzzy" | undefined;
passages?: string | undefined;
preview?: "html" | "none" | "text" | undefined;
start?: number | undefined;
limit?: number | undefined;
bible: "asv" | "arvandyke" | "kjv" | "lsg" | "byz" | "darby" | "elzevir" | "itdiodati1649" | "emphbbl" | "kjv1900" | "kjvapoc" | "leb" | "scrmorph" | "fi-raamattu" | "rvr60" | "rva" | "bb-sbb-rusbt" | "eo-zamenbib" | "tr1881" | "tr1894mr" | "svv" | "stephens" | "tanakh" | "wbtc-ptbrnt" | "wh1881mr" | "ylt";

@@ -89,5 +89,5 @@ query: string;

find: (options: {
query?: string | undefined;
start?: number | undefined;
limit?: number | undefined;
query?: string | undefined;
strictQuery?: boolean | undefined;

@@ -94,0 +94,0 @@ }) => Promise<{

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createBibliaApiClient = exports.usageAcknowledgment = void 0;
const baseUrl = 'https://api.biblia.com/v1/';
exports.usageAcknowledgment = `<a href="https://biblia.com/"><img src="https://api.biblia.com/v1/PoweredByBiblia_small.png" alt="Powered by Biblia" /></a>
export const usageAcknowledgment = `<a href="https://biblia.com/"><img src="https://api.biblia.com/v1/PoweredByBiblia_small.png" alt="Powered by Biblia" /></a>
This site uses the <a href="https://biblia.com/">Biblia</a> web services from <a href="https://www.logos.com/">Logos Bible Software</a>.`;

@@ -197,3 +194,3 @@ function expectContentType(response, ...expectedTypes) {

});
function createBibliaApiClient({ apiKey, fetch, }) {
export function createBibliaApiClient({ apiKey, fetch, }) {
function createUrlTemplate(urlParts, ...names) {

@@ -238,3 +235,2 @@ for (const name of names) {

}
exports.createBibliaApiClient = createBibliaApiClient;
//# sourceMappingURL=client.js.map

@@ -1,14 +0,2 @@

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./client"), exports);
export * from './client';
//# sourceMappingURL=index.js.map

@@ -1,1 +0,1 @@

module.exports = require('./dist');
export * from './dist/index.js';
{
"name": "@amanda-mitchell/biblia-api",
"version": "3.2.2",
"version": "4.0.0",
"description": "A Javascript wrapper for the Biblia API.",
"type": "module",
"main": "index.js",

@@ -22,7 +23,7 @@ "files": [

"devDependencies": {
"@amanda-mitchell/node-project-scripts": "^2.37.2",
"@amanda-mitchell/node-project-scripts": "^3.10.2",
"@types/node-fetch": "^2.5.8",
"dotenv": "^8.2.0",
"node-fetch": "^2.6.1"
"dotenv": "^16.0.0",
"node-fetch": "^3.2.2"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc