File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11# TerminusDB Client v10.0.30
22## Fixes 🛠
3+ * Fix schema endpoint for system database
4+ # TerminusDB Client v10.0.30
5+ ## Fixes 🛠
36* Fix DiffObject type definition
47
58# TerminusDB Client v10.0.29
Original file line number Diff line number Diff line change @@ -479,6 +479,7 @@ ConnectionConfig.prototype.queryURL = function () {
479479 * @returns {string }
480480 */
481481ConnectionConfig . prototype . log = function ( ) {
482+ if ( this . db ( ) === this . system_db ) return this . dbBase ( 'log' ) ;
482483 return this . branchBase ( 'log' ) ;
483484} ;
484485
@@ -735,6 +736,9 @@ ConnectionConfig.prototype.queryParameter = function (params) {
735736
736737ConnectionConfig . prototype . jsonSchemaURL = function ( params ) {
737738 const paramsStr = this . queryParameter ( params ) ;
739+ if ( this . db ( ) === this . system_db ) {
740+ return this . dbBase ( 'schema' ) + paramsStr ;
741+ }
738742 return this . branchBase ( 'schema' ) + paramsStr ;
739743} ;
740744
Original file line number Diff line number Diff line change 11{
22 "name" : " @terminusdb/terminusdb-client" ,
3- "version" : " 10.0.30 " ,
3+ "version" : " 10.0.31 " ,
44 "description" : " TerminusDB client library" ,
55 "main" : " index.js" ,
66 "types" : " ./dist/typescript/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments