@segment/analytics-browser-actions-adobe-target 1.76.0 → 1.77.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segment/analytics-browser-actions-adobe-target",
3
- "version": "1.76.0",
3
+ "version": "1.77.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -21,5 +21,5 @@
21
21
  "peerDependencies": {
22
22
  "@segment/analytics-next": ">=1.55.0"
23
23
  },
24
- "gitHead": "8eb8b1dc177887bb747e5071c61c6434d1922a1b"
24
+ "gitHead": "e9f28fd73979966799c9ea78d15b31ae8c9fd976"
25
25
  }
@@ -1,6 +1,7 @@
1
1
  import { Analytics, Context } from '@segment/analytics-next'
2
2
  import adobeTarget, { destination } from '../index'
3
3
  import { Subscription } from '@segment/browser-destination-runtime/types'
4
+ import { JSONArray } from '@segment/actions-core'
4
5
 
5
6
  describe('Adobe Target Web', () => {
6
7
  test('can load ATJS', async () => {
@@ -19,7 +20,7 @@ describe('Adobe Target Web', () => {
19
20
  version: '2.8.0',
20
21
  cookie_domain: 'segment.com',
21
22
  mbox_name: 'target-global-mbox',
22
- subscriptions
23
+ subscriptions: subscriptions as unknown as JSONArray
23
24
  })
24
25
 
25
26
  jest.spyOn(destination, 'initialize')
@@ -1,6 +1,7 @@
1
1
  import { Analytics, Context } from '@segment/analytics-next'
2
2
  import adobeTarget, { destination } from '../../index'
3
3
  import { Subscription } from '@segment/browser-destination-runtime/types'
4
+ import { JSONArray } from '@segment/actions-core'
4
5
 
5
6
  describe('Adobe Target Web', () => {
6
7
  describe('#page', () => {
@@ -44,7 +45,7 @@ describe('Adobe Target Web', () => {
44
45
 
45
46
  const [event] = await adobeTarget({
46
47
  ...targetSettings,
47
- subscriptions
48
+ subscriptions: subscriptions as unknown as JSONArray
48
49
  })
49
50
 
50
51
  jest.spyOn(destination, 'initialize')
@@ -1,6 +1,7 @@
1
1
  import { Analytics, Context } from '@segment/analytics-next'
2
2
  import adobeTarget, { destination } from '../../index'
3
3
  import { Subscription } from '@segment/browser-destination-runtime/types'
4
+ import { JSONArray } from '@segment/actions-core'
4
5
 
5
6
  describe('Adobe Target Web', () => {
6
7
  describe('#identify', () => {
@@ -52,7 +53,7 @@ describe('Adobe Target Web', () => {
52
53
 
53
54
  const [event] = await adobeTarget({
54
55
  ...targetSettings,
55
- subscriptions
56
+ subscriptions: subscriptions as unknown as JSONArray
56
57
  })
57
58
 
58
59
  jest.spyOn(destination, 'initialize')