File tree Expand file tree Collapse file tree 3 files changed +31
-34
lines changed Expand file tree Collapse file tree 3 files changed +31
-34
lines changed Original file line number Diff line number Diff line change 136136 },
137137 "integrations/front" : {
138138 "name" : " @gitbook/integration-front" ,
139- "version" : " 1.0.0 " ,
139+ "version" : " 1.0.1 " ,
140140 "dependencies" : {
141141 "@gitbook/runtime" : " *" ,
142142 },
592592 },
593593 "integrations/slack" : {
594594 "name" : " @gitbook/integration-slack" ,
595- "version" : " 2.5.3 " ,
595+ "version" : " 2.6.0 " ,
596596 "dependencies" : {
597597 "@ai-sdk/openai" : " ^2.0.62" ,
598598 "@gitbook/api" : " *" ,
729729 },
730730 "packages/api" : {
731731 "name" : " @gitbook/api" ,
732- "version" : " 0.147 .0" ,
732+ "version" : " 0.151 .0" ,
733733 "dependencies" : {
734734 "event-iterator" : " ^2.0.0" ,
735735 "eventsource-parser" : " ^3.0.0" ,
746746 "name" : " @gitbook/cli" ,
747747 "version" : " 0.26.2" ,
748748 "bin" : {
749- "gitbook" : " ./cli.js" ,
749+ "gitbook" : " ./cli.js"
750750 },
751751 "dependencies" : {
752752 "@1password/op-js" : " ^0.1.13" ,
802802 },
803803 },
804804 },
805- "overrides" : {
806- "@gitbook/openapi-parser" : " ^2.1.0" ,
807- },
808805 "packages" : {
809806 "@1password/op-js" : [
" @1password/[email protected] " ,
" " , {
"dependencies" : {
"lookpath" :
" ^1.2.2" ,
"semver" :
" ^7.6.2" } },
" sha512-ZZBLxVqywFdvIbLv2xWw2N1ImSi183rRKf90vV19KRMReNyLwuD0dv6IrKrIdrJU33IuV3Gz85Z4K2a1PJTBDg==" ],
810807
Original file line number Diff line number Diff line change 11{
2- "name" : " @gitbook/integration-front" ,
3- "version" : " 1.0.1" ,
4- "private" : true ,
5- "scripts" : {
6- "typecheck" : " tsc --noEmit" ,
7- "publish" : " gitbook publish ."
8- },
9- "dependencies" : {
10- "@gitbook/runtime" : " *"
11- },
12- "devDependencies" : {
13- "@gitbook/cli" : " ^0.25.0" ,
14- "@gitbook/tsconfig" : " *" ,
15- "@cloudflare/workers-types" : " *"
16- }
2+ "name" : " @gitbook/integration-front" ,
3+ "version" : " 1.0.1" ,
4+ "private" : true ,
5+ "scripts" : {
6+ "typecheck" : " tsc --noEmit" ,
7+ "publish" : " gitbook publish ."
8+ },
9+ "dependencies" : {
10+ "@gitbook/runtime" : " *"
11+ },
12+ "devDependencies" : {
13+ "@gitbook/cli" : " ^0.25.0" ,
14+ "@gitbook/tsconfig" : " *" ,
15+ "@cloudflare/workers-types" : " *"
16+ }
1717}
Original file line number Diff line number Diff line change 11( ( d , s ) => {
2- const chatId = '<TO_REPLACE>' ;
2+ const chatId = '<TO_REPLACE>' ;
33
4- d = document ;
5- s = d . createElement ( 'script' ) ;
6- s . src = 'https://chat-assets.frontapp.com/v1/chat.bundle.js' ;
7- s . async = 1 ;
4+ d = document ;
5+ s = d . createElement ( 'script' ) ;
6+ s . src = 'https://chat-assets.frontapp.com/v1/chat.bundle.js' ;
7+ s . async = 1 ;
88
9- s . onload = ( ) => {
10- if ( window . FrontChat ) {
11- window . FrontChat ( 'init' , { chatId : chatId , useDefaultLauncher : true } ) ;
12- }
13- } ;
9+ s . onload = ( ) => {
10+ if ( window . FrontChat ) {
11+ window . FrontChat ( 'init' , { chatId : chatId , useDefaultLauncher : true } ) ;
12+ }
13+ } ;
1414
15- // Append to body (just before closing </body> tag) as per Front's documentation
16- d . getElementsByTagName ( 'body' ) [ 0 ] . appendChild ( s ) ;
15+ // Append to body (just before closing </body> tag) as per Front's documentation
16+ d . getElementsByTagName ( 'body' ) [ 0 ] . appendChild ( s ) ;
1717} ) ( window , document ) ;
You can’t perform that action at this time.
0 commit comments