@segment/action-destinations 3.339.0 → 3.340.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.
|
@@ -28,9 +28,9 @@ const getAudienceInput = {
|
|
|
28
28
|
externalId: 'audience-id-123'
|
|
29
29
|
};
|
|
30
30
|
beforeAll(() => {
|
|
31
|
-
process.env.
|
|
32
|
-
process.env.
|
|
33
|
-
process.env.
|
|
31
|
+
process.env.ACTIONS_FIRST_PARTY_DV360_REFRESH_TOKEN = 'mock-refresh-token';
|
|
32
|
+
process.env.ACTIONS_FIRST_PARTY_DV360_CLIENT_ID = 'mock-client-id';
|
|
33
|
+
process.env.ACTIONS_FIRST_PARTY_DV360_CLIENT_SECRET = 'mock-client-secret';
|
|
34
34
|
});
|
|
35
35
|
beforeEach(() => {
|
|
36
36
|
nock_1.default('https://accounts.google.com')
|
|
@@ -8,9 +8,9 @@ const CONSENT_STATUS_GRANTED = 'CONSENT_STATUS_GRANTED';
|
|
|
8
8
|
const OAUTH_URL = 'https://accounts.google.com/o/oauth2/token';
|
|
9
9
|
const getAuthSettings = () => {
|
|
10
10
|
return {
|
|
11
|
-
refresh_token: process.env.
|
|
12
|
-
client_id: process.env.
|
|
13
|
-
client_secret: process.env.
|
|
11
|
+
refresh_token: process.env.ACTIONS_FIRST_PARTY_DV360_REFRESH_TOKEN,
|
|
12
|
+
client_id: process.env.ACTIONS_FIRST_PARTY_DV360_CLIENT_ID,
|
|
13
|
+
client_secret: process.env.ACTIONS_FIRST_PARTY_DV360_CLIENT_SECRET
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
exports.getAuthSettings = getAuthSettings;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@segment/action-destinations",
|
|
3
3
|
"description": "Destination Actions engine and definitions.",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.340.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"__tests__/__helpers__/"
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "bff7a841bc5831d7f7360875bc8f956143bbaf72"
|
|
92
92
|
}
|