UNPKG

twitter-api-v2-patch

Version:

Strongly typed, full-featured, light, versatile yet powerful Twitter API v1.1 and v2 client for Node.js.

18 lines (17 loc) 482 B
import { API_ADS_SANDBOX_PREFIX } from '../globals'; import TwitterAdsSandboxReadOnly from './client.ads-sandbox.read'; /** * Base Twitter ads sandbox client with read/write rights. */ export default class TwitterAdsSandboxReadWrite extends TwitterAdsSandboxReadOnly { constructor() { super(...arguments); this._prefix = API_ADS_SANDBOX_PREFIX; } /** * Get a client with only read rights. */ get readOnly() { return this; } }