forked from loafle/openapi-generator-original
Exclude btoa in browser
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import {RequestContext} from '../http/http';
|
||||
// typings for btoa are incorrect
|
||||
{{#node}}
|
||||
//@ts-ignore
|
||||
import * as btoa from "btoa";
|
||||
{{/node}}
|
||||
|
||||
/**
|
||||
* Base class for all authentication schemes.
|
||||
|
||||
@@ -43,7 +43,9 @@
|
||||
{{#useRxJS}}
|
||||
"rxjs": "^6.4.0",
|
||||
{{/useRxJS}}
|
||||
{{#node}}
|
||||
"btoa": "^1.2.1",
|
||||
{{/node}}
|
||||
"es6-promise": "^4.2.4",
|
||||
"url-parse": "^1.4.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user