1- import { dirname , toBase64 } from "../deps.ts" ;
1+ import { dirname } from "std/path/mod.ts" ;
2+ import { fromUint8Array as toBase64 } from "base64" ;
23import { Provider } from "./index.ts" ;
34
45let speakers : {
@@ -18,12 +19,11 @@ const infoProvider: Provider = ({ baseClient, app }) => {
1819 app . get ( "/version" , async ( c ) => {
1920 await baseClient . get ( "" ) ;
2021
21- return c . json ( "0.2.1 " ) ;
22+ return c . json ( "0.3.0 " ) ;
2223 } ) ;
2324
24- app . get (
25- "/supported_devices" ,
26- ( c ) => c . json ( { cpu : true , cuda : false , dml : false } ) ,
25+ app . get ( "/supported_devices" , ( c ) =>
26+ c . json ( { cpu : true , cuda : false , dml : false } ) ,
2727 ) ;
2828
2929 app . get ( "/engine_manifest" , async ( c ) => {
@@ -33,13 +33,12 @@ const infoProvider: Provider = ({ baseClient, app }) => {
3333 brand_name : "COEIROINK v2" ,
3434 uuid : "96755ba9-6c9d-4166-aaf3-86633dfa0ca5" ,
3535 url : "https://github.com/sevenc-nanashi/coeiroink-v2-bridge" ,
36+ version : "0.3.0" ,
3637 icon : await Deno . readFile (
3738 Deno . execPath ( ) . endsWith ( "deno.exe" )
3839 ? new URL ( "./icon.png" , import . meta. url )
3940 : dirname ( Deno . execPath ( ) ) + "/icon.png" ,
40- ) . then (
41- ( buf ) => toBase64 ( buf ) ,
42- ) ,
41+ ) . then ( ( buf ) => toBase64 ( buf ) ) ,
4342 default_sampling_rate : 24000 ,
4443 terms_of_service : "https://coeiroink.com/terms を参照して下さい。" ,
4544 update_infos : [
@@ -51,33 +50,29 @@ const infoProvider: Provider = ({ baseClient, app }) => {
5150 ] ,
5251 contributors : [ ] ,
5352 } ,
53+ {
54+ version : "0.3.0" ,
55+ descriptions : [ "fix: versionフィールドを修正" ] ,
56+ contributors : [ "sevenc-nanashi" ] ,
57+ } ,
5458 {
5559 version : "0.2.1" ,
56- descriptions : [
57- "Fix: 空のAccentPhraseで無音を返すように" ,
58- ] ,
60+ descriptions : [ "Fix: 空のAccentPhraseで無音を返すように" ] ,
5961 contributors : [ "sevenc-nanashi" ] ,
6062 } ,
6163 {
6264 version : "0.2.0" ,
63- descriptions : [
64- "Change: Coeiroink側のstyleIdを使うように変更" ,
65- ] ,
65+ descriptions : [ "Change: Coeiroink側のstyleIdを使うように変更" ] ,
6666 contributors : [ "sevenc-nanashi" ] ,
6767 } ,
6868 {
6969 version : "0.1.3" ,
70- descriptions : [
71- "Fix: 読点周りの挙動を修正" ,
72- ] ,
70+ descriptions : [ "Fix: 読点周りの挙動を修正" ] ,
7371 contributors : [ "sevenc-nanashi" ] ,
7472 } ,
7573 {
7674 version : "0.1.2" ,
77- descriptions : [
78- "Add: mutexを追加" ,
79- "Add: 自動起動を追加" ,
80- ] ,
75+ descriptions : [ "Add: mutexを追加" , "Add: 自動起動を追加" ] ,
8176 contributors : [ "sevenc-nanashi" ] ,
8277 } ,
8378 {
0 commit comments