@metarouter/ajs-starter-kit 1.0.35 → 1.0.38

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.
@@ -1 +1 @@
1
- "92b4fd944be41a62e2ad46300c775456"
1
+ "d6a97c9fb257249f2d277c4880c7ebae"
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "default": {
9
9
  "endpoint": "https://api2.amplitude.com/batch",
10
- "batchSize": 1000,
10
+ "batchSize": 10,
11
11
  "transform": {
12
12
  "lang": "lua",
13
13
  "body": "request.body = { events = batch, api_key = '$$API_KEY$$' }\nreturn request"
@@ -1 +1 @@
1
- "662ccfc459443df8faa20f374eb754ca"
1
+ "385c95d2c5d208ad0ce3c2d8f073e320"
@@ -25,11 +25,15 @@
25
25
  },
26
26
  {
27
27
  "date": "2021-08-26T00:00:00.000Z",
28
- "note": "adds some context input"
28
+ "note": "Adds some context input"
29
29
  },
30
30
  {
31
31
  "date": "2021-11-19T00:00:00.000Z",
32
- "note": "uses batch endpoint"
32
+ "note": "Uses batch endpoint"
33
+ },
34
+ {
35
+ "date": "2022-05-18T00:00:00.000Z",
36
+ "note": "Tune Down the batch size"
33
37
  }
34
38
  ]
35
39
  }
@@ -167,9 +167,22 @@
167
167
  "kafka": {
168
168
  "type": "object",
169
169
  "properties": {
170
+ "batchSize": {
171
+ "type": "number"
172
+ },
170
173
  "brokers": {
171
174
  "type": "string"
172
175
  },
176
+ "compression": {
177
+ "type": "number",
178
+ "description": "0: NONE_UNSPECIFIED; 1: snappy; 2: gzip; 3: uncompressed",
179
+ "enum": [
180
+ 0,
181
+ 1,
182
+ 2,
183
+ 3
184
+ ]
185
+ },
173
186
  "saslPlain": {
174
187
  "type": "object",
175
188
  "properties": {
@@ -180,6 +193,35 @@
180
193
  "type": "string"
181
194
  }
182
195
  },
196
+ "required": [
197
+ "username",
198
+ "password"
199
+ ],
200
+ "additionalProperties": false
201
+ },
202
+ "saslScram": {
203
+ "type": "object",
204
+ "properties": {
205
+ "algorithm": {
206
+ "type": "number",
207
+ "description": "0: NONE_UNSPECIFIED; 1: SHA_256; 2: SHA_512",
208
+ "enum": [
209
+ 0,
210
+ 1,
211
+ 2
212
+ ]
213
+ },
214
+ "password": {
215
+ "type": "string"
216
+ },
217
+ "username": {
218
+ "type": "string"
219
+ }
220
+ },
221
+ "required": [
222
+ "username",
223
+ "password"
224
+ ],
183
225
  "additionalProperties": false
184
226
  },
185
227
  "tls": {
@@ -1 +1 @@
1
- "ffc6ae809d69bb231effd6f805894565"
1
+ "d5ca02338956602b73bfef7503abb33e"
@@ -16,7 +16,7 @@
16
16
  "default": {
17
17
  "endpoint": "https://graph.facebook.com/$$API_VERSION$$/$$PIXEL_ID$$/events?access_token=$$ACCESS_TOKEN$$",
18
18
  "method": "POST",
19
- "batchSize": 1000,
19
+ "batchSize": 10,
20
20
  "transform": {
21
21
  "lang": "lua",
22
22
  "body": "request.body = { data = batch }\nreturn request"
@@ -1 +1 @@
1
- "bc571a996baa33a0232799ddf3db03db"
1
+ "4454a05ef6771f08fbdfa3cab67e86cb"
@@ -25,11 +25,15 @@
25
25
  },
26
26
  {
27
27
  "date": "2021-11-19T00:00:00.000Z",
28
- "note": "uses batch endpoint"
28
+ "note": "Uses batch endpoint"
29
29
  },
30
30
  {
31
31
  "date": "2022-02-18T00:00:00.000Z",
32
- "note": "updated from v12.0 to v13.0"
32
+ "note": "Updated from v12.0 to v13.0"
33
+ },
34
+ {
35
+ "date": "2022-05-18T00:00:00.000Z",
36
+ "note": "Tune Down the batch size"
33
37
  }
34
38
  ]
35
39
  }
@@ -1 +1 @@
1
- "8df13fb27e6e880029db92afec41b893"
1
+ "e9435cd753f61c415365294c80074e66"
@@ -1,5 +1,5 @@
1
1
  {
2
- "isDraft": true,
2
+ "isDraft": false,
3
3
  "friendlyName": "Google Analytics",
4
4
  "description": "Google Analytics gives you tools to help you better understand your customers so you can improve your website and drive better results.",
5
5
  "logo": "https://cdn.metarouter.io/logo.svg",
@@ -14,6 +14,10 @@
14
14
  {
15
15
  "date": "2021-06-24T00:00:00.000Z",
16
16
  "note": "Google Analytics initial release."
17
+ },
18
+ {
19
+ "date": "2022-05-17T00:00:00.000Z",
20
+ "note": "Minor mapping improvements; Removed Draft mode"
17
21
  }
18
22
  ]
19
23
  }
@@ -1 +1 @@
1
- "b4153f4f7cdbb869ce83afe7d76ef7c4"
1
+ "21eae37048ac678c5698288a0994e568"
@@ -34,10 +34,6 @@
34
34
  "inputKey": "context.providers.google.dclid",
35
35
  "outputKey": "dclid"
36
36
  },
37
- {
38
- "inputKey": "context.providers.google.gid",
39
- "outputKey": "_gid"
40
- },
41
37
  {
42
38
  "inputKey": "anonymousId",
43
39
  "outputKey": "cid"
@@ -46,18 +42,6 @@
46
42
  "inputKey": "context.providers.google.cid",
47
43
  "outputKey": "cid"
48
44
  },
49
- {
50
- "inputKey": "context.providers.google.jid",
51
- "outputKey": "jid"
52
- },
53
- {
54
- "inputKey": "context.providers.google.gjid",
55
- "outputKey": "gjid"
56
- },
57
- {
58
- "inputKey": "context.providers.google.gac",
59
- "outputKey": "gac"
60
- },
61
45
  {
62
46
  "inputKey": "context.page.url",
63
47
  "outputKey": "dl"
@@ -1 +1 @@
1
- "793518d00e62d120d00e19f3406f8652"
1
+ "265d29af0480a2802474bb6e58f4ae0e"
@@ -1,5 +1,5 @@
1
1
  {
2
- "isDraft": false,
2
+ "isDraft": true,
3
3
  "friendlyName": "Kafka",
4
4
  "description": "Apache Kafka is an open-source distributed event streaming platform used by thousands of companies for high-performance data pipelines, streaming analytics, data integration, and mission-critical applications.",
5
5
  "logo": "https://cdn.metarouter.io/logo.svg",
@@ -18,6 +18,10 @@
18
18
  {
19
19
  "date": "2021-06-28T00:00:00.000Z",
20
20
  "note": "Setting isDraft to false"
21
+ },
22
+ {
23
+ "date": "2022-04-26T00:00:00.000Z",
24
+ "note": "Setting isDraft to true"
21
25
  }
22
26
  ]
23
27
  }
@@ -1 +1 @@
1
- "212997f22690a4e5206f15e1a5c5b242"
1
+ "5119bda1879448fa80660bd228a12d9d"
@@ -30,7 +30,7 @@
30
30
  }
31
31
  ],
32
32
  "method": "POST",
33
- "batchSize": 1000,
33
+ "batchSize": 10,
34
34
  "transform": {
35
35
  "lang": "lua",
36
36
  "body": "request.body = batch\nreturn request"
@@ -1 +1 @@
1
- "59e919b7e943ee362c17bd64d59c2aaa"
1
+ "eb79dcce8230e965a2b1ac42cfde1f73"
@@ -14,6 +14,10 @@
14
14
  {
15
15
  "date": "2022-03-23T00:00:00.000Z",
16
16
  "note": "Mixpanel initial release."
17
+ },
18
+ {
19
+ "date": "2022-05-18T00:00:00.000Z",
20
+ "note": "Tune Down the batch size"
17
21
  }
18
22
  ]
19
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metarouter/ajs-starter-kit",
3
- "version": "1.0.35",
3
+ "version": "1.0.38",
4
4
  "description": "MetaRouter analytics.js starter kit",
5
5
  "main": "index.js",
6
6
  "scripts": {