"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/ecfbad74d93962fc8ca485d93ab9b4f3d4cb6cf8/node_modules/unleash-client/lib/feature.js.map