BREAKING CHANGE(account): authorization now uses the new Account API
This commit is contained in:
parent
a746577945
commit
b0fdd520f3
@ -23,11 +23,7 @@ Use TypeScript for best in class instellisense.
|
||||
```javascript
|
||||
import * as cflare from '@mojoio/cloudflare';
|
||||
|
||||
const myCflareAccount = new cflare.CflareAccount();
|
||||
testCflareAccount.auth({
|
||||
email: 'someuser@example.com',
|
||||
key: 'someLongApiKey'
|
||||
});
|
||||
const myCflareAccount = new cflare.CflareAccount('mySuperAwesomeAccountToken');
|
||||
|
||||
const myAsyncCflareManagement = async () => {
|
||||
// get things
|
||||
|
Loading…
Reference in New Issue
Block a user