@arkadiuminc/sdk 2.52.2 → 2.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,11 @@ interface ConfigSchema {
26
26
  conditions: string;
27
27
  config: {
28
28
  adTypes: string[];
29
+ isEnabled: boolean;
30
+ cooldown?: never;
31
+ } | {
32
+ adTypes: string[];
33
+ isEnabled?: never;
29
34
  cooldown: number;
30
35
  };
31
36
  }>;
@@ -92,19 +97,37 @@ export declare const schema: {
92
97
  };
93
98
  config: {
94
99
  type: string;
95
- properties: {
96
- adTypes: {
97
- type: string;
98
- items: {
100
+ oneOf: ({
101
+ required: string[];
102
+ properties: {
103
+ adTypes: {
104
+ type: string;
105
+ items: {
106
+ type: string;
107
+ };
108
+ };
109
+ isEnabled: {
99
110
  type: string;
100
111
  };
112
+ cooldown: boolean;
101
113
  };
102
- cooldown: {
103
- type: string;
114
+ additionalProperties: boolean;
115
+ } | {
116
+ required: string[];
117
+ properties: {
118
+ adTypes: {
119
+ type: string;
120
+ items: {
121
+ type: string;
122
+ };
123
+ };
124
+ isEnabled: boolean;
125
+ cooldown: {
126
+ type: string;
127
+ };
104
128
  };
105
- };
106
- required: string[];
107
- additionalProperties: boolean;
129
+ additionalProperties: boolean;
130
+ })[];
108
131
  };
109
132
  };
110
133
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkadiuminc/sdk",
3
- "version": "2.52.2",
3
+ "version": "2.53.1",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/pkg/arkadium-sdk.umd.js",