BREAKING CHANGE(account): authorization now uses the new Account API
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user