diff --git a/package.json b/package.json index 1b9b0ae..af1d411 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Transcend Inc.", "name": "@transcend-io/airgap.js-types", "description": "TypeScript types for airgap.js interoperability with custom consent UIs", - "version": "10.7.1", + "version": "10.7.2", "homepage": "https://github.com/transcend-io/airgap.js-types", "repository": { "type": "git", diff --git a/src/core.ts b/src/core.ts index 4d1c331..d7cba5f 100644 --- a/src/core.ts +++ b/src/core.ts @@ -5,11 +5,7 @@ import * as t from 'io-ts'; import { FixedLengthArray, valuesOf } from '@transcend-io/type-utils'; // local -import { - ConfigurablePurpose, - SpecialTrackingPurpose, - ViewState, -} from './enums'; +import { SpecialTrackingPurpose, ViewState } from './enums'; /* eslint-disable max-lines */ @@ -314,7 +310,7 @@ export const TrackingPurposeDetails = t.intersection([ }), t.partial({ /** Tracking type */ - trackingType: valuesOf(ConfigurablePurpose), + trackingType: t.string, /** Respected opt-out privacy signals */ optOutSignals: t.array(UserPrivacySignal), }),