|
|
@ -7,7 +7,6 @@ import { ExampleContract } from '../components/VyperResult' |
|
|
|
import EventEmitter from 'events' |
|
|
|
import EventEmitter from 'events' |
|
|
|
import { CustomRemixApi } from '@remix-api' |
|
|
|
import { CustomRemixApi } from '@remix-api' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type VyperComplierAddress = 'https://vyper2.remixproject.org/' | 'http://localhost:8000/' |
|
|
|
export type VyperComplierAddress = 'https://vyper2.remixproject.org/' | 'http://localhost:8000/' |
|
|
|
export class RemixClient extends PluginClient<any, CustomRemixApi> { |
|
|
|
export class RemixClient extends PluginClient<any, CustomRemixApi> { |
|
|
|
private client = createClient<Api, Readonly<RemixApi>>(this) |
|
|
|
private client = createClient<Api, Readonly<RemixApi>>(this) |
|
|
@ -93,15 +92,15 @@ export class RemixClient extends PluginClient<any, CustomRemixApi> { |
|
|
|
{ url: 'https://github.com/vyperlang/vyper', token: null, branch: 'master', singleBranch: false, workspaceName: 'vyper' }, |
|
|
|
{ url: 'https://github.com/vyperlang/vyper', token: null, branch: 'master', singleBranch: false, workspaceName: 'vyper' }, |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// await this.call(
|
|
|
|
await this.call( |
|
|
|
// 'dgitApi',
|
|
|
|
'dgitApi', |
|
|
|
// 'checkout',
|
|
|
|
'checkout', |
|
|
|
// {
|
|
|
|
{ |
|
|
|
// ref:'v0.0.5',
|
|
|
|
ref:'v0.4.0', |
|
|
|
// force: true,
|
|
|
|
force: true, |
|
|
|
// refresh: true,
|
|
|
|
refresh: true, |
|
|
|
// }
|
|
|
|
} |
|
|
|
// )
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
this.call( |
|
|
|
this.call( |
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|