From b0fdd520f3ac1d06ac8a41d2b79854ca175648a8 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 19 Feb 2020 17:00:31 +0000 Subject: [PATCH] BREAKING CHANGE(account): authorization now uses the new Account API --- readme.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/readme.md b/readme.md index d335a9b..ecca492 100644 --- a/readme.md +++ b/readme.md @@ -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