"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseClientFeaturesDelta = void 0;
const parseClientFeaturesDelta = (delta) => {
    if (typeof delta === 'object' &&
        delta !== null &&
        'events' in delta &&
        Array.isArray(delta.events)) {
        return delta;
    }
    throw new Error(`Invalid delta response: ${JSON.stringify(delta, null, 2)}`);
};
exports.parseClientFeaturesDelta = parseClientFeaturesDelta;//# sourceMappingURL=https://main.vscode-cdn.net/sourcemaps/e0b7a2bcf575cfba10528c4e7c10bd3ce2d7769a/node_modules/unleash-client/lib/feature.js.map