Skip to content

Commit

Permalink
Merge pull request #135 from tim-hub/use-pakcage
Browse files Browse the repository at this point in the history
use pakcage
  • Loading branch information
tim-hub authored Sep 13, 2023
2 parents a174466 + a84d084 commit 13caffa
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 0 additions & 1 deletion biblejs-name-converter
Submodule biblejs-name-converter deleted from fecced
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
},
"dependencies": {
"ackee-tracker": "^5.1.0",
"bible-reference-toolkit": "^2.0.8",
"flagsmith-nodejs": "^3.1.1"
}
}
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/provider/BollyLifeProvider.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { IVerse } from '../interfaces/IVerse'
import { IBibleVersion } from '../interfaces/IBibleVersion'
import { BaseBibleAPIProvider } from './BaseBibleAPIProvider'
import { Reference } from '../../biblejs-name-converter'
import * as Tool from 'bible-reference-toolkit/'

const { Reference } = Tool
export class BollyLifeProvider extends BaseBibleAPIProvider {
//private _verseApiUrl: string; // we do not support get verse api yet, but the api supported it
private _chapterApiUrl: string
Expand Down
4 changes: 3 additions & 1 deletion src/utils/getSuggestionsFromQuery.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { BibleReferencePluginSettings } from '../data/constants'
import { VerseSuggesting } from '../verse/VerseSuggesting'
import { BOOK_REG } from './regs'
import { Reference } from '../../biblejs-name-converter'
import * as Tool from 'bible-reference-toolkit/'

const { Reference } = Tool

/**
* Get suggestions from string query
Expand Down

0 comments on commit 13caffa

Please sign in to comment.