@segment/action-destinations 3.118.1-staging.106 → 3.118.1-staging.107
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.
|
@@ -41,11 +41,11 @@ class AdobeTarget {
|
|
|
41
41
|
}
|
|
42
42
|
catch (error) {
|
|
43
43
|
if (error instanceof Error) {
|
|
44
|
-
const errorCode = error.message == 'Forbidden' ? 403 : 500;
|
|
45
|
-
if (errorCode == 500) {
|
|
44
|
+
const errorCode = error.message == 'Forbidden' ? '403' : '500';
|
|
45
|
+
if (errorCode == '500') {
|
|
46
46
|
statsContext?.statsClient.incr('actions-adobe-target.profile-not-found', 1, statsContext.tags);
|
|
47
47
|
}
|
|
48
|
-
throw new actions_core_1.IntegrationError(error.message,
|
|
48
|
+
throw new actions_core_1.IntegrationError(error.message, errorCode);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
return undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adobeTarget_operations.js","sourceRoot":"","sources":["../../../src/destinations/adobe-target/adobeTarget_operations.ts"],"names":[],"mappings":";;AAAA,wDAAuE;AAGvE,SAAS,gBAAgB,CAAC,GAAyB,EAAE,UAAU,GAAG,EAAE,EAAE,aAAsC,EAAE;IAE5G,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,SAAS,EAAE;QACnC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;YAEhE,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC,KAAK,QAAQ,EAAE;gBAChC,UAAU,CAAC,cAAc,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAA;aACjD;iBAAM;gBACL,gBAAgB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,UAAU,CAAC,CAAA;aACvD;QACH,CAAC,CAAC,CAAA;QACF,OAAO,UAAU,CAAA;KAClB;AACH,CAAC;AACD,MAAM,mBAAmB,GAAG,CAAC,MAAmD,EAAE,EAAE,CAClF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;KAChB,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,WAAW,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC;KACxD,IAAI,CAAC,GAAG,CAAC,CAAA;AAEd,MAAqB,WAAW;IAM9B,YAAY,MAAc,EAAE,UAAkB,EAAE,MAAc,EAAE,OAAsB;QAOtF,kBAAa,GAAG,KAAK,EAAE,YAAsC,EAAE,EAAE;YAC/D,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAA;YAChF,IAAI,GAAG,EAAE;gBACP,MAAM,GAAG,CAAA;aACV;iBAAM;gBACL,MAAM,MAAM,GAAG,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;gBAC5C,IAAI,MAAM,EAAE;oBACV,MAAM,UAAU,GAAG,WAAW,IAAI,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"adobeTarget_operations.js","sourceRoot":"","sources":["../../../src/destinations/adobe-target/adobeTarget_operations.ts"],"names":[],"mappings":";;AAAA,wDAAuE;AAGvE,SAAS,gBAAgB,CAAC,GAAyB,EAAE,UAAU,GAAG,EAAE,EAAE,aAAsC,EAAE;IAE5G,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,IAAI,SAAS,EAAE;QACnC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC/B,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,UAA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,MAAM;qBACf,CAAC,CAAA;iBACH;aACF;QACH,CAAC,CAAA;QAEO,kBAAa,GAAG,KAAK,EAC3B,MAAc,EACd,UAAkB,EAClB,YAAsC,EACC,EAAE;YACzC,IAAI;gBACF,MAAM,IAAI,CAAC,OAAO,CAChB,WAAW,UAAU,gDAAgD,MAAM,WAAW,UAAU,EAAE,EAClG,EAAE,MAAM,EAAE,KAAK,EAAE,CAClB,CAAA;aACF;YAAC,OAAO,KAAK,EAAE;gBACd,IAAI,KAAK,YAAY,KAAK,EAAE;oBAK1B,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,IAAI,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAA;oBAE9D,IAAI,SAAS,IAAI,KAAK,EAAE;wBAEtB,YAAY,EAAE,WAAW,CAAC,IAAI,CAAC,wCAAwC,EAAE,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAA;qBAC/F;oBAED,MAAM,IAAI,+BAAgB,CAAC,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;iBACrD;aACF;YAED,OAAO,SAAS,CAAA;QAClB,CAAC,CAAA;QApDC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAA;QAC5B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;IACxB,CAAC;CAiDF;AA5DD,8BA4DC"}
|
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.118.1-staging.
|
|
4
|
+
"version": "3.118.1-staging.107+3ee9f23b",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/segmentio/action-destinations",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"lcov"
|
|
66
66
|
]
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "3ee9f23b432d54ceaeaa452271e1c445c41dce40"
|
|
69
69
|
}
|