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
|
```javascript
|
||||||
import * as cflare from '@mojoio/cloudflare';
|
import * as cflare from '@mojoio/cloudflare';
|
||||||
|
|
||||||
const myCflareAccount = new cflare.CflareAccount();
|
const myCflareAccount = new cflare.CflareAccount('mySuperAwesomeAccountToken');
|
||||||
testCflareAccount.auth({
|
|
||||||
email: 'someuser@example.com',
|
|
||||||
key: 'someLongApiKey'
|
|
||||||
});
|
|
||||||
|
|
||||||
const myAsyncCflareManagement = async () => {
|
const myAsyncCflareManagement = async () => {
|
||||||
// get things
|
// get things
|
||||||
|
Loading…
Reference in New Issue
Block a user