@arc-publishing/sdk-amp
Version:
Arc AMP SDK to work with Google AMP Pages
12 lines • 521 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isArcIdentity = exports.isInjectableIdentity = void 0;
function isInjectableIdentity(identity) {
return (!!identity.heartbeat && typeof identity._selectedStorage === 'undefined');
}
exports.isInjectableIdentity = isInjectableIdentity;
function isArcIdentity(identity) {
return !!identity.heartbeat && typeof identity._selectedStorage !== 'undefined';
}
exports.isArcIdentity = isArcIdentity;
//# sourceMappingURL=identity.js.map