@adshift/react-native-plugin 2.1.0 → 3.1.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/AdShiftReactNativePlugin.podspec +20 -4
- package/CHANGELOG.md +57 -8
- package/README.md +131 -74
- package/android/build.gradle +3 -2
- package/android/consumer-rules.pro +2 -21
- package/android/src/main/AndroidManifest.xml +14 -1
- package/android/src/main/java/com/adshift/reactnativeplugin/ActivityIntents.kt +307 -0
- package/android/src/main/java/com/adshift/reactnativeplugin/AdShiftReactNativePluginModule.kt +90 -153
- package/android/src/test/java/com/adshift/reactnativeplugin/ConsentSnapshotTest.kt +0 -20
- package/android/src/test/java/com/adshift/reactnativeplugin/DeepLinkDeliveryTest.kt +40 -7
- package/android/src/test/java/com/adshift/reactnativeplugin/InitializeOrderingTest.kt +51 -5
- package/android/src/test/java/com/adshift/reactnativeplugin/IntentLinkDedupTest.kt +0 -5
- package/android/src/test/java/com/adshift/reactnativeplugin/LaunchIntentForwardingTest.kt +21 -11
- package/android/src/test/java/com/adshift/reactnativeplugin/LaunchLinkRecordTest.kt +420 -0
- package/android/src/test/java/com/adshift/reactnativeplugin/ModuleTestSupport.kt +97 -25
- package/android/src/test/java/com/adshift/reactnativeplugin/StartVerdictTest.kt +0 -4
- package/ios/AdShiftReactNativePlugin.h +0 -12
- package/ios/AdShiftReactNativePlugin.mm +7 -14
- package/ios/AdShiftReactNativePluginHelper.swift +38 -73
- package/ios/Core/BridgeRules.swift +42 -30
- package/lib/commonjs/Adshift.js +100 -284
- package/lib/commonjs/Adshift.js.map +1 -1
- package/lib/commonjs/NativeAdShiftReactNativePlugin.js +2 -11
- package/lib/commonjs/NativeAdShiftReactNativePlugin.js.map +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/jest/index.js +6 -18
- package/lib/commonjs/jest/index.js.map +1 -1
- package/lib/commonjs/nativeSdkVersions.js +4 -6
- package/lib/commonjs/nativeSdkVersions.js.map +1 -1
- package/lib/commonjs/types/AdshiftAdRevenue.js +0 -24
- package/lib/commonjs/types/AdshiftAdRevenue.js.map +1 -1
- package/lib/commonjs/types/AdshiftConfig.js +11 -23
- package/lib/commonjs/types/AdshiftConfig.js.map +1 -1
- package/lib/commonjs/types/AdshiftConsent.js +9 -45
- package/lib/commonjs/types/AdshiftConsent.js.map +1 -1
- package/lib/commonjs/types/AdshiftConsentSnapshot.js +5 -24
- package/lib/commonjs/types/AdshiftConsentSnapshot.js.map +1 -1
- package/lib/commonjs/types/AdshiftDeepLink.js +50 -33
- package/lib/commonjs/types/AdshiftDeepLink.js.map +1 -1
- package/lib/commonjs/types/AdshiftError.js +7 -27
- package/lib/commonjs/types/AdshiftError.js.map +1 -1
- package/lib/commonjs/types/AdshiftEventParam.js +4 -38
- package/lib/commonjs/types/AdshiftEventParam.js.map +1 -1
- package/lib/commonjs/types/AdshiftEventType.js +1 -39
- package/lib/commonjs/types/AdshiftEventType.js.map +1 -1
- package/lib/commonjs/types/AdshiftThirdPartySharing.js +7 -38
- package/lib/commonjs/types/AdshiftThirdPartySharing.js.map +1 -1
- package/lib/commonjs/types/index.js +12 -0
- package/lib/commonjs/types/index.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/module/Adshift.js +101 -285
- package/lib/module/Adshift.js.map +1 -1
- package/lib/module/NativeAdShiftReactNativePlugin.js +2 -12
- package/lib/module/NativeAdShiftReactNativePlugin.js.map +1 -1
- package/lib/module/index.js +2 -47
- package/lib/module/index.js.map +1 -1
- package/lib/module/jest/index.js +7 -19
- package/lib/module/jest/index.js.map +1 -1
- package/lib/module/nativeSdkVersions.js +4 -6
- package/lib/module/nativeSdkVersions.js.map +1 -1
- package/lib/module/types/AdshiftAdRevenue.js +0 -24
- package/lib/module/types/AdshiftAdRevenue.js.map +1 -1
- package/lib/module/types/AdshiftConfig.js +10 -23
- package/lib/module/types/AdshiftConfig.js.map +1 -1
- package/lib/module/types/AdshiftConsent.js +9 -45
- package/lib/module/types/AdshiftConsent.js.map +1 -1
- package/lib/module/types/AdshiftConsentSnapshot.js +5 -24
- package/lib/module/types/AdshiftConsentSnapshot.js.map +1 -1
- package/lib/module/types/AdshiftDeepLink.js +49 -32
- package/lib/module/types/AdshiftDeepLink.js.map +1 -1
- package/lib/module/types/AdshiftError.js +7 -28
- package/lib/module/types/AdshiftError.js.map +1 -1
- package/lib/module/types/AdshiftEventParam.js +4 -38
- package/lib/module/types/AdshiftEventParam.js.map +1 -1
- package/lib/module/types/AdshiftEventType.js +1 -39
- package/lib/module/types/AdshiftEventType.js.map +1 -1
- package/lib/module/types/AdshiftThirdPartySharing.js +7 -38
- package/lib/module/types/AdshiftThirdPartySharing.js.map +1 -1
- package/lib/module/types/index.js +2 -2
- package/lib/module/types/index.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/commonjs/src/Adshift.d.ts +68 -184
- package/lib/typescript/commonjs/src/Adshift.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/NativeAdShiftReactNativePlugin.d.ts +18 -35
- package/lib/typescript/commonjs/src/NativeAdShiftReactNativePlugin.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +2 -34
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/jest/index.d.ts +9 -21
- package/lib/typescript/commonjs/src/jest/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/nativeSdkVersions.d.ts +4 -6
- package/lib/typescript/commonjs/src/nativeSdkVersions.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftAdRevenue.d.ts +0 -24
- package/lib/typescript/commonjs/src/types/AdshiftAdRevenue.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftConfig.d.ts +35 -39
- package/lib/typescript/commonjs/src/types/AdshiftConfig.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftConsent.d.ts +9 -49
- package/lib/typescript/commonjs/src/types/AdshiftConsent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftConsentSnapshot.d.ts +10 -28
- package/lib/typescript/commonjs/src/types/AdshiftConsentSnapshot.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftDeepLink.d.ts +55 -39
- package/lib/typescript/commonjs/src/types/AdshiftDeepLink.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftError.d.ts +7 -26
- package/lib/typescript/commonjs/src/types/AdshiftError.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftEventParam.d.ts +3 -19
- package/lib/typescript/commonjs/src/types/AdshiftEventParam.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftEventType.d.ts +1 -23
- package/lib/typescript/commonjs/src/types/AdshiftEventType.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/AdshiftThirdPartySharing.d.ts +7 -38
- package/lib/typescript/commonjs/src/types/AdshiftThirdPartySharing.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/types/index.d.ts +3 -3
- package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/version.d.ts +1 -1
- package/lib/typescript/module/src/Adshift.d.ts +68 -184
- package/lib/typescript/module/src/Adshift.d.ts.map +1 -1
- package/lib/typescript/module/src/NativeAdShiftReactNativePlugin.d.ts +18 -35
- package/lib/typescript/module/src/NativeAdShiftReactNativePlugin.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +2 -34
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/jest/index.d.ts +9 -21
- package/lib/typescript/module/src/jest/index.d.ts.map +1 -1
- package/lib/typescript/module/src/nativeSdkVersions.d.ts +4 -6
- package/lib/typescript/module/src/nativeSdkVersions.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftAdRevenue.d.ts +0 -24
- package/lib/typescript/module/src/types/AdshiftAdRevenue.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftConfig.d.ts +35 -39
- package/lib/typescript/module/src/types/AdshiftConfig.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftConsent.d.ts +9 -49
- package/lib/typescript/module/src/types/AdshiftConsent.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftConsentSnapshot.d.ts +10 -28
- package/lib/typescript/module/src/types/AdshiftConsentSnapshot.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftDeepLink.d.ts +55 -39
- package/lib/typescript/module/src/types/AdshiftDeepLink.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftError.d.ts +7 -26
- package/lib/typescript/module/src/types/AdshiftError.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftEventParam.d.ts +3 -19
- package/lib/typescript/module/src/types/AdshiftEventParam.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftEventType.d.ts +1 -23
- package/lib/typescript/module/src/types/AdshiftEventType.d.ts.map +1 -1
- package/lib/typescript/module/src/types/AdshiftThirdPartySharing.d.ts +7 -38
- package/lib/typescript/module/src/types/AdshiftThirdPartySharing.d.ts.map +1 -1
- package/lib/typescript/module/src/types/index.d.ts +3 -3
- package/lib/typescript/module/src/types/index.d.ts.map +1 -1
- package/lib/typescript/module/src/version.d.ts +1 -1
- package/package.json +11 -1
- package/src/Adshift.ts +118 -285
- package/src/NativeAdShiftReactNativePlugin.ts +19 -47
- package/src/index.tsx +7 -46
- package/src/jest/index.ts +11 -20
- package/src/nativeSdkVersions.ts +4 -6
- package/src/types/AdshiftAdRevenue.ts +0 -24
- package/src/types/AdshiftConfig.ts +48 -55
- package/src/types/AdshiftConsent.ts +9 -49
- package/src/types/AdshiftConsentSnapshot.ts +11 -38
- package/src/types/AdshiftDeepLink.ts +87 -39
- package/src/types/AdshiftError.ts +7 -26
- package/src/types/AdshiftEventParam.ts +4 -38
- package/src/types/AdshiftEventType.ts +1 -39
- package/src/types/AdshiftThirdPartySharing.ts +7 -38
- package/src/types/index.ts +9 -2
- package/src/version.ts +1 -1
- package/vendor/ios/AdshiftSDK.files.json +30 -0
- package/vendor/ios/AdshiftSDK.xcframework/Info.plist +44 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/AdshiftSDK +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Headers/AdshiftSDK-Swift.h +315 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Info.plist +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.abi.json +18729 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/Modules/module.modulemap +4 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64/AdshiftSDK.framework/PrivacyInfo.xcprivacy +132 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/AdshiftSDK +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Headers/AdshiftSDK-Swift.h +626 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Info.plist +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +18729 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +18729 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/AdshiftSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +414 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/Modules/module.modulemap +4 -0
- package/vendor/ios/AdshiftSDK.xcframework/ios-arm64_x86_64-simulator/AdshiftSDK.framework/PrivacyInfo.xcprivacy +132 -0
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Status of a deep link result.
|
|
5
|
-
*/
|
|
6
3
|
export let AdshiftDeepLinkStatus = /*#__PURE__*/function (AdshiftDeepLinkStatus) {
|
|
7
|
-
/**
|
|
4
|
+
/** A RightLink link, or a deferred deep link with a value. Navigate on this. */
|
|
8
5
|
AdshiftDeepLinkStatus["Found"] = "found";
|
|
9
|
-
/**
|
|
6
|
+
/** Not a RightLink link, a deleted one, or no deferred deep link. */
|
|
10
7
|
AdshiftDeepLinkStatus["NotFound"] = "notFound";
|
|
11
|
-
/**
|
|
8
|
+
/** Not resolved yet; the same link can still arrive as `found`. */
|
|
12
9
|
AdshiftDeepLinkStatus["Error"] = "error";
|
|
13
10
|
return AdshiftDeepLinkStatus;
|
|
14
11
|
}({});
|
|
12
|
+
export let AdshiftDeepLinkSource = /*#__PURE__*/function (AdshiftDeepLinkSource) {
|
|
13
|
+
/** A Universal Link, or a link the app passed in itself. iOS. */
|
|
14
|
+
AdshiftDeepLinkSource["UniversalLink"] = "ul";
|
|
15
|
+
/** An App Link, or a link the app passed in itself. Android. */
|
|
16
|
+
AdshiftDeepLinkSource["AppLink"] = "app_link";
|
|
17
|
+
/** The app's own scheme; `found` only when it wraps a RightLink link in `as_rl`. */
|
|
18
|
+
AdshiftDeepLinkSource["Scheme"] = "scheme";
|
|
19
|
+
/** The open-in-app button of a RightLink page. */
|
|
20
|
+
AdshiftDeepLinkSource["Cta"] = "cta";
|
|
21
|
+
/** A push notification. */
|
|
22
|
+
AdshiftDeepLinkSource["Push"] = "push";
|
|
23
|
+
/** An AdAttributionKit re-engagement open. iOS. */
|
|
24
|
+
AdshiftDeepLinkSource["AdAttributionKit"] = "aak";
|
|
25
|
+
/** A link opened by a Meta app that is not a RightLink link. Android. */
|
|
26
|
+
AdshiftDeepLinkSource["MetaAppLink"] = "meta_applink";
|
|
27
|
+
/** The lookup on the first launch after install. */
|
|
28
|
+
AdshiftDeepLinkSource["Deferred"] = "deferred";
|
|
29
|
+
/** A web link that is not a RightLink link. */
|
|
30
|
+
AdshiftDeepLinkSource["Foreign"] = "foreign";
|
|
31
|
+
return AdshiftDeepLinkSource;
|
|
32
|
+
}({});
|
|
15
33
|
|
|
16
34
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* `status: 'found'`. Route on `deepLinkValue`, `params` or the URL itself.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```typescript
|
|
24
|
-
* Adshift.onDeepLink((deepLink) => {
|
|
25
|
-
* if (deepLink.status === AdshiftDeepLinkStatus.Found) {
|
|
26
|
-
* const productId = deepLink.params?.product_id;
|
|
27
|
-
* }
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
35
|
+
* Navigate only on `status: 'found'`, and validate `deepLinkValue` first:
|
|
36
|
+
* anyone can write a link. Any other URL comes back `notFound` with the URL
|
|
37
|
+
* in `deepLink`. Treat `error` as "not yet".
|
|
30
38
|
*/
|
|
31
39
|
|
|
40
|
+
const SOURCES = new Set(Object.values(AdshiftDeepLinkSource));
|
|
32
41
|
const SUB_KEYS = ['deepLinkSub1', 'deepLinkSub2', 'deepLinkSub3', 'deepLinkSub4', 'deepLinkSub5'];
|
|
33
42
|
|
|
34
|
-
/**
|
|
35
|
-
* Helper functions for creating `AdshiftDeepLink` objects.
|
|
36
|
-
*/
|
|
43
|
+
/** Builds `AdshiftDeepLink` values. */
|
|
37
44
|
export const AdshiftDeepLink = {
|
|
38
45
|
found(options) {
|
|
39
46
|
const result = {
|
|
@@ -50,6 +57,15 @@ export const AdshiftDeepLink = {
|
|
|
50
57
|
if (options.isFirstSession !== undefined) {
|
|
51
58
|
result.isFirstSession = options.isFirstSession;
|
|
52
59
|
}
|
|
60
|
+
if (options.source !== undefined) {
|
|
61
|
+
result.source = options.source;
|
|
62
|
+
}
|
|
63
|
+
if (options.clickId !== undefined) {
|
|
64
|
+
result.clickId = options.clickId;
|
|
65
|
+
}
|
|
66
|
+
if (options.matchGuaranteed !== undefined) {
|
|
67
|
+
result.matchGuaranteed = options.matchGuaranteed;
|
|
68
|
+
}
|
|
53
69
|
for (const key of SUB_KEYS) {
|
|
54
70
|
const value = options[key];
|
|
55
71
|
if (value !== undefined) {
|
|
@@ -71,11 +87,7 @@ export const AdshiftDeepLink = {
|
|
|
71
87
|
errorMessage: message
|
|
72
88
|
};
|
|
73
89
|
},
|
|
74
|
-
/**
|
|
75
|
-
* Creates a deep link from a native bridge object.
|
|
76
|
-
*
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
90
|
+
/** @internal */
|
|
79
91
|
fromMap(map) {
|
|
80
92
|
const params = readParams(map.params);
|
|
81
93
|
const result = {
|
|
@@ -98,6 +110,15 @@ export const AdshiftDeepLink = {
|
|
|
98
110
|
if (typeof map.isFirstSession === 'boolean') {
|
|
99
111
|
result.isFirstSession = map.isFirstSession;
|
|
100
112
|
}
|
|
113
|
+
if (typeof map.source === 'string' && SOURCES.has(map.source)) {
|
|
114
|
+
result.source = map.source;
|
|
115
|
+
}
|
|
116
|
+
if (typeof map.clickId === 'string' && map.clickId.length > 0) {
|
|
117
|
+
result.clickId = map.clickId;
|
|
118
|
+
}
|
|
119
|
+
if (typeof map.matchGuaranteed === 'boolean') {
|
|
120
|
+
result.matchGuaranteed = map.matchGuaranteed;
|
|
121
|
+
}
|
|
101
122
|
SUB_KEYS.forEach((key, index) => {
|
|
102
123
|
const sub = map[key] ?? params?.[`deep_link_sub${index + 1}`];
|
|
103
124
|
if (typeof sub === 'string') {
|
|
@@ -131,11 +152,7 @@ function readParams(value) {
|
|
|
131
152
|
return count > 0 ? out : undefined;
|
|
132
153
|
}
|
|
133
154
|
|
|
134
|
-
/**
|
|
135
|
-
* Converts `AdshiftDeepLink` to a plain object.
|
|
136
|
-
*
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
155
|
+
/** @internal */
|
|
139
156
|
export function deepLinkToMap(deepLink) {
|
|
140
157
|
const map = {
|
|
141
158
|
isDeferred: deepLink.isDeferred,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdshiftDeepLinkStatus","SUB_KEYS","AdshiftDeepLink","found","options","result","deepLink","isDeferred","status","Found","deepLinkValue","undefined","params","isFirstSession","key","value","notFound","NotFound","error","message","Error","errorMessage","fromMap","map","readParams","readStatus","deep_link_value","forEach","index","sub","out","count","raw","
|
|
1
|
+
{"version":3,"names":["AdshiftDeepLinkStatus","AdshiftDeepLinkSource","SOURCES","Set","Object","values","SUB_KEYS","AdshiftDeepLink","found","options","result","deepLink","isDeferred","status","Found","deepLinkValue","undefined","params","isFirstSession","source","clickId","matchGuaranteed","key","value","notFound","NotFound","error","message","Error","errorMessage","fromMap","map","readParams","readStatus","deep_link_value","has","length","forEach","index","sub","out","count","raw","entries","String","deepLinkToMap"],"sourceRoot":"../../../src","sources":["types/AdshiftDeepLink.ts"],"mappings":";;AAAA,WAAYA,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB;EAI/B;EAJUA,qBAAqB;EAO/B;EAPUA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;AAWjC,WAAYC,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB;EAI/B;EAJUA,qBAAqB;EAO/B;EAPUA,qBAAqB;EAU/B;EAVUA,qBAAqB;EAa/B;EAbUA,qBAAqB;EAgB/B;EAhBUA,qBAAqB;EAmB/B;EAnBUA,qBAAqB;EAsB/B;EAtBUA,qBAAqB;EAyB/B;EAzBUA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;;AA6BjC;AACA;AACA;AACA;AACA;;AA+DA,MAAMC,OAAO,GAAG,IAAIC,GAAG,CAASC,MAAM,CAACC,MAAM,CAACJ,qBAAqB,CAAC,CAAC;AAErE,MAAMK,QAAQ,GAAG,CACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,CACN;;AAEV;AACA,OAAO,MAAMC,eAAe,GAAG;EAC7BC,KAAKA,CAACC,OAcL,EAAmB;IAClB,MAAMC,MAAuB,GAAG;MAC9BC,QAAQ,EAAEF,OAAO,CAACE,QAAQ;MAC1BC,UAAU,EAAEH,OAAO,CAACG,UAAU,IAAI,KAAK;MACvCC,MAAM,EAAEb,qBAAqB,CAAC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,UAAU;IAC/BC,MAAM,EAAEF,QAAQ,CAACE;EACnB,CAAC;EACD,KAAK,MAAM,CAACS,GAAG,EAAEC,KAAK,CAAC,IAAInB,MAAM,CAACuC,OAAO,CAAChC,QAAQ,CAAC,EAAE;IACnD,IAAIY,KAAK,KAAKP,SAAS,IAAI,EAAEM,GAAG,IAAIS,GAAG,CAAC,EAAE;MACxCA,GAAG,CAACT,GAAG,CAAC,GAAGC,KAAK;IAClB;EACF;EACA,OAAOQ,GAAG;AACZ","ignoreList":[]}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Platform-neutral error codes used by every rejected promise and by
|
|
5
|
-
* `StartResult.errorCode`.
|
|
6
|
-
*/
|
|
3
|
+
/** Codes of every rejected promise and of `StartResult.errorCode`. */
|
|
7
4
|
export let AdshiftErrorCode = /*#__PURE__*/function (AdshiftErrorCode) {
|
|
8
5
|
/** `Adshift.initialize()` has not been called. */
|
|
9
6
|
AdshiftErrorCode["NotInitialized"] = "NOT_INITIALIZED";
|
|
@@ -11,9 +8,9 @@ export let AdshiftErrorCode = /*#__PURE__*/function (AdshiftErrorCode) {
|
|
|
11
8
|
AdshiftErrorCode["NotStarted"] = "NOT_STARTED";
|
|
12
9
|
/** The API key was rejected by the AdShift backend. */
|
|
13
10
|
AdshiftErrorCode["InvalidApiKey"] = "INVALID_API_KEY";
|
|
14
|
-
/** Tracking is
|
|
11
|
+
/** Tracking is turned off for this device. */
|
|
15
12
|
AdshiftErrorCode["OptedOut"] = "OPTED_OUT";
|
|
16
|
-
/**
|
|
13
|
+
/** Too many calls are queued; this one was not accepted. */
|
|
17
14
|
AdshiftErrorCode["QueueFull"] = "QUEUE_FULL";
|
|
18
15
|
/** A parameter failed validation. */
|
|
19
16
|
AdshiftErrorCode["InvalidArgument"] = "INVALID_ARGUMENT";
|
|
@@ -22,31 +19,14 @@ export let AdshiftErrorCode = /*#__PURE__*/function (AdshiftErrorCode) {
|
|
|
22
19
|
return AdshiftErrorCode;
|
|
23
20
|
}({});
|
|
24
21
|
|
|
25
|
-
/**
|
|
26
|
-
* Platform-specific details attached to an `AdshiftError`.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Error thrown or rejected by the AdShift plugin.
|
|
31
|
-
*
|
|
32
|
-
* `code` is always one of `AdshiftErrorCode`; the original native code, when
|
|
33
|
-
* there is one, is available in `userInfo.nativeCode`.
|
|
34
|
-
*/
|
|
22
|
+
/** `code` is always an `AdshiftErrorCode`; a native code is in `userInfo`. */
|
|
35
23
|
|
|
36
24
|
const CODES = new Set(Object.values(AdshiftErrorCode));
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Type guard for errors produced by the plugin.
|
|
40
|
-
*/
|
|
41
25
|
export function isAdshiftError(error) {
|
|
42
26
|
return typeof error === 'object' && error !== null && typeof error.code === 'string' && CODES.has(error.code);
|
|
43
27
|
}
|
|
44
28
|
|
|
45
|
-
/**
|
|
46
|
-
* Builds an `AdshiftError` from a code and message.
|
|
47
|
-
*
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
29
|
+
/** @internal */
|
|
50
30
|
export function createAdshiftError(code, message, userInfo = {}) {
|
|
51
31
|
const error = new Error(message);
|
|
52
32
|
error.name = 'AdshiftError';
|
|
@@ -56,9 +36,8 @@ export function createAdshiftError(code, message, userInfo = {}) {
|
|
|
56
36
|
}
|
|
57
37
|
|
|
58
38
|
/**
|
|
59
|
-
*
|
|
60
|
-
* `
|
|
61
|
-
*
|
|
39
|
+
* Native modules reject with `{ code, message, userInfo }`; a code outside
|
|
40
|
+
* `AdshiftErrorCode` becomes `UNKNOWN`, kept as `nativeCode`.
|
|
62
41
|
* @internal
|
|
63
42
|
*/
|
|
64
43
|
export function toAdshiftError(error) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdshiftErrorCode","CODES","Set","Object","values","isAdshiftError","error","code","has","createAdshiftError","message","userInfo","Error","name","toAdshiftError","raw","info","nativeCode","nativeDomain","undefined","Unknown"],"sourceRoot":"../../../src","sources":["types/AdshiftError.ts"],"mappings":";;AAAA;AACA
|
|
1
|
+
{"version":3,"names":["AdshiftErrorCode","CODES","Set","Object","values","isAdshiftError","error","code","has","createAdshiftError","message","userInfo","Error","name","toAdshiftError","raw","info","nativeCode","nativeDomain","undefined","Unknown"],"sourceRoot":"../../../src","sources":["types/AdshiftError.ts"],"mappings":";;AAAA;AACA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAC1B;EADUA,gBAAgB;EAG1B;EAHUA,gBAAgB;EAK1B;EALUA,gBAAgB;EAO1B;EAPUA,gBAAgB;EAS1B;EATUA,gBAAgB;EAW1B;EAXUA,gBAAgB;EAa1B;EAbUA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;;AAwB5B;;AAMA,MAAMC,KAAK,GAAG,IAAIC,GAAG,CAASC,MAAM,CAACC,MAAM,CAACJ,gBAAgB,CAAC,CAAC;AAE9D,OAAO,SAASK,cAAcA,CAACC,KAAc,EAAyB;EACpE,OACE,OAAOA,KAAK,KAAK,QAAQ,IACzBA,KAAK,KAAK,IAAI,IACd,OAAQA,KAAK,CAAwBC,IAAI,KAAK,QAAQ,IACtDN,KAAK,CAACO,GAAG,CAAEF,KAAK,CAAsBC,IAAI,CAAC;AAE/C;;AAEA;AACA,OAAO,SAASE,kBAAkBA,CAChCF,IAAsB,EACtBG,OAAe,EACfC,QAA0B,GAAG,CAAC,CAAC,EACjB;EACd,MAAML,KAAK,GAAG,IAAIM,KAAK,CAACF,OAAO,CAAiB;EAChDJ,KAAK,CAACO,IAAI,GAAG,cAAc;EAC3BP,KAAK,CAACC,IAAI,GAAGA,IAAI;EACjBD,KAAK,CAACK,QAAQ,GAAGA,QAAQ;EACzB,OAAOL,KAAK;AACd;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASQ,cAAcA,CAACR,KAAc,EAAgB;EAC3D,IAAID,cAAc,CAACC,KAAK,CAAC,EAAE;IACzB,IAAI,CAACA,KAAK,CAACK,QAAQ,EAAE;MACnBL,KAAK,CAACK,QAAQ,GAAG,CAAC,CAAC;IACrB;IACA,OAAOL,KAAK;EACd;EACA,MAAMS,GAAG,GAAGT,KAIJ;EACR,MAAMI,OAAO,GACX,OAAOK,GAAG,EAAEL,OAAO,KAAK,QAAQ,GAAGK,GAAG,CAACL,OAAO,GAAG,eAAe;EAClE,MAAMM,IAAsB,GAAG,CAAC,CAAC;EACjC,MAAMC,UAAU,GAAGF,GAAG,EAAEJ,QAAQ,EAAEM,UAAU;EAC5C,IAAI,OAAOA,UAAU,KAAK,QAAQ,IAAI,OAAOA,UAAU,KAAK,QAAQ,EAAE;IACpED,IAAI,CAACC,UAAU,GAAGA,UAAU;EAC9B;EACA,MAAMC,YAAY,GAAGH,GAAG,EAAEJ,QAAQ,EAAEO,YAAY;EAChD,IAAI,OAAOA,YAAY,KAAK,QAAQ,EAAE;IACpCF,IAAI,CAACE,YAAY,GAAGA,YAAY;EAClC;EACA,IAAIF,IAAI,CAACC,UAAU,KAAKE,SAAS,IAAI,OAAOJ,GAAG,EAAER,IAAI,KAAK,QAAQ,EAAE;IAClES,IAAI,CAACC,UAAU,GAAGF,GAAG,CAACR,IAAI;EAC5B;EACA,OAAOE,kBAAkB,CAACT,gBAAgB,CAACoB,OAAO,EAAEV,OAAO,EAAEM,IAAI,CAAC;AACpE","ignoreList":[]}
|
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Standard
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* custom parameter, so a misspelled or invented name is stored but never
|
|
8
|
-
* counted — use the constants for anything a report has to add up, revenue
|
|
9
|
-
* above all.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```typescript
|
|
13
|
-
* await Adshift.trackEvent(AdshiftEventType.Purchase, {
|
|
14
|
-
* [AdshiftEventParam.Revenue]: 9.99,
|
|
15
|
-
* [AdshiftEventParam.Currency]: 'USD',
|
|
16
|
-
* [AdshiftEventParam.ContentId]: 'SKU123',
|
|
17
|
-
* size: 'XL', // custom parameters are fine alongside them
|
|
18
|
-
* });
|
|
19
|
-
* ```
|
|
4
|
+
* Standard names for `trackEvent()` values. Reports add up only these; any
|
|
5
|
+
* other key is kept as a custom parameter and never counted, so use the
|
|
6
|
+
* constants for revenue above all.
|
|
20
7
|
*/
|
|
21
8
|
export const AdshiftEventParam = {
|
|
22
|
-
// ============ Commerce ============
|
|
23
|
-
|
|
24
9
|
Price: 'as_price',
|
|
25
10
|
/** The number reports read as revenue. Always pair it with `Currency`. */
|
|
26
11
|
Revenue: 'as_revenue',
|
|
@@ -35,8 +20,6 @@ export const AdshiftEventParam = {
|
|
|
35
20
|
CouponCode: 'as_coupon_code',
|
|
36
21
|
PaymentInfoAvailable: 'as_payment_info_available',
|
|
37
22
|
Validated: 'as_validated',
|
|
38
|
-
// ============ Content ============
|
|
39
|
-
|
|
40
23
|
ContentType: 'as_content_type',
|
|
41
24
|
ContentId: 'as_content_id',
|
|
42
25
|
ContentList: 'as_content_list',
|
|
@@ -44,13 +27,9 @@ export const AdshiftEventParam = {
|
|
|
44
27
|
Class: 'as_class',
|
|
45
28
|
Description: 'as_description',
|
|
46
29
|
SearchString: 'as_search_string',
|
|
47
|
-
// ============ Ratings and reviews ============
|
|
48
|
-
|
|
49
30
|
RatingValue: 'as_rating_value',
|
|
50
31
|
MaxRatingValue: 'as_max_rating_value',
|
|
51
32
|
ReviewText: 'as_review_text',
|
|
52
|
-
// ============ User and progress ============
|
|
53
|
-
|
|
54
33
|
CustomerUserId: 'as_customer_user_id',
|
|
55
34
|
RegistrationMethod: 'as_registration_method',
|
|
56
35
|
Level: 'as_level',
|
|
@@ -59,15 +38,11 @@ export const AdshiftEventParam = {
|
|
|
59
38
|
TutorialId: 'as_tutorial_id',
|
|
60
39
|
AchievementId: 'as_achievement_id',
|
|
61
40
|
VirtualCurrencyName: 'as_virtual_currency_name',
|
|
62
|
-
// ============ App and links ============
|
|
63
|
-
|
|
64
41
|
DeepLink: 'as_deep_link',
|
|
65
42
|
OldVersion: 'as_old_version',
|
|
66
43
|
NewVersion: 'as_new_version',
|
|
67
44
|
Channel: 'as_channel',
|
|
68
45
|
TouchObj: 'as_touch_obj',
|
|
69
|
-
// ============ Dates and places ============
|
|
70
|
-
|
|
71
46
|
DateA: 'as_date_a',
|
|
72
47
|
DateB: 'as_date_b',
|
|
73
48
|
EventStart: 'as_event_start',
|
|
@@ -80,8 +55,6 @@ export const AdshiftEventParam = {
|
|
|
80
55
|
DestinationA: 'as_destination_a',
|
|
81
56
|
DestinationB: 'as_destination_b',
|
|
82
57
|
DestinationList: 'as_destination_list',
|
|
83
|
-
// ============ Travel ============
|
|
84
|
-
|
|
85
58
|
DepartingDepartureDate: 'as_departing_departure_date',
|
|
86
59
|
ReturningDepartureDate: 'as_returning_departure_date',
|
|
87
60
|
DepartingArrivalDate: 'as_departing_arrival_date',
|
|
@@ -100,8 +73,6 @@ export const AdshiftEventParam = {
|
|
|
100
73
|
PreferredPriceRange: 'as_preferred_price_range',
|
|
101
74
|
PreferredNeighborhoods: 'as_preferred_neighborhoods',
|
|
102
75
|
PreferredNumStops: 'as_preferred_num_stops',
|
|
103
|
-
// ============ Free-form slots ============
|
|
104
|
-
|
|
105
76
|
Param1: 'as_param_1',
|
|
106
77
|
Param2: 'as_param_2',
|
|
107
78
|
Param3: 'as_param_3',
|
|
@@ -112,10 +83,8 @@ export const AdshiftEventParam = {
|
|
|
112
83
|
Param8: 'as_param_8',
|
|
113
84
|
Param9: 'as_param_9',
|
|
114
85
|
Param10: 'as_param_10',
|
|
115
|
-
// ============ Ad revenue ============
|
|
116
86
|
// `logAdRevenue()` fills Revenue, Currency, AdRevenueSource and
|
|
117
|
-
// AdRevenueNetworkName
|
|
118
|
-
// `additionalParameters`. The rest below are yours to pass.
|
|
87
|
+
// AdRevenueNetworkName itself and drops them from `additionalParameters`.
|
|
119
88
|
|
|
120
89
|
AdRevenueSource: 'as_adrev_source',
|
|
121
90
|
AdRevenueNetworkName: 'as_adrev_network_name',
|
|
@@ -126,9 +95,6 @@ export const AdshiftEventParam = {
|
|
|
126
95
|
AdRevenueAdUnitId: 'as_adrev_ad_unit_id',
|
|
127
96
|
AdRevenuePrecision: 'as_adrev_precision'
|
|
128
97
|
};
|
|
129
|
-
/**
|
|
130
|
-
* Returns all standard parameter names as an array.
|
|
131
|
-
*/
|
|
132
98
|
export function getAllEventParams() {
|
|
133
99
|
return Object.values(AdshiftEventParam);
|
|
134
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdshiftEventParam","Price","Revenue","ProjectedRevenue","Currency","Quantity","ReceiptId","OrderId","CouponCode","PaymentInfoAvailable","Validated","ContentType","ContentId","ContentList","Content","Class","Description","SearchString","RatingValue","MaxRatingValue","ReviewText","CustomerUserId","RegistrationMethod","Level","Score","Success","TutorialId","AchievementId","VirtualCurrencyName","DeepLink","OldVersion","NewVersion","Channel","TouchObj","DateA","DateB","EventStart","EventEnd","Latitude","Longitude","City","Region","Country","DestinationA","DestinationB","DestinationList","DepartingDepartureDate","ReturningDepartureDate","DepartingArrivalDate","ReturningArrivalDate","TravelStart","TravelEnd","SuggestedDestinations","SuggestedHotels","NumAdults","NumChildren","NumInfants","UserScore","HotelScore","PurchaseCurrency","PreferredStarRatings","PreferredPriceRange","PreferredNeighborhoods","PreferredNumStops","Param1","Param2","Param3","Param4","Param5","Param6","Param7","Param8","Param9","Param10","AdRevenueSource","AdRevenueNetworkName","AdRevenueMediatedNetworkName","AdRevenueAdType","AdRevenueAdSize","AdRevenuePlacementId","AdRevenueAdUnitId","AdRevenuePrecision","getAllEventParams","Object","values"],"sourceRoot":"../../../src","sources":["types/AdshiftEventParam.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["AdshiftEventParam","Price","Revenue","ProjectedRevenue","Currency","Quantity","ReceiptId","OrderId","CouponCode","PaymentInfoAvailable","Validated","ContentType","ContentId","ContentList","Content","Class","Description","SearchString","RatingValue","MaxRatingValue","ReviewText","CustomerUserId","RegistrationMethod","Level","Score","Success","TutorialId","AchievementId","VirtualCurrencyName","DeepLink","OldVersion","NewVersion","Channel","TouchObj","DateA","DateB","EventStart","EventEnd","Latitude","Longitude","City","Region","Country","DestinationA","DestinationB","DestinationList","DepartingDepartureDate","ReturningDepartureDate","DepartingArrivalDate","ReturningArrivalDate","TravelStart","TravelEnd","SuggestedDestinations","SuggestedHotels","NumAdults","NumChildren","NumInfants","UserScore","HotelScore","PurchaseCurrency","PreferredStarRatings","PreferredPriceRange","PreferredNeighborhoods","PreferredNumStops","Param1","Param2","Param3","Param4","Param5","Param6","Param7","Param8","Param9","Param10","AdRevenueSource","AdRevenueNetworkName","AdRevenueMediatedNetworkName","AdRevenueAdType","AdRevenueAdSize","AdRevenuePlacementId","AdRevenueAdUnitId","AdRevenuePrecision","getAllEventParams","Object","values"],"sourceRoot":"../../../src","sources":["types/AdshiftEventParam.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,iBAAiB,GAAG;EAC/BC,KAAK,EAAE,UAAU;EAEjB;EACAC,OAAO,EAAE,YAAY;EAErB;EACAC,gBAAgB,EAAE,sBAAsB;EAExC;EACAC,QAAQ,EAAE,aAAa;EAEvBC,QAAQ,EAAE,aAAa;EAEvBC,SAAS,EAAE,eAAe;EAE1B;EACAC,OAAO,EAAE,aAAa;EAEtBC,UAAU,EAAE,gBAAgB;EAE5BC,oBAAoB,EAAE,2BAA2B;EAEjDC,SAAS,EAAE,cAAc;EAEzBC,WAAW,EAAE,iBAAiB;EAE9BC,SAAS,EAAE,eAAe;EAE1BC,WAAW,EAAE,iBAAiB;EAE9BC,OAAO,EAAE,YAAY;EAErBC,KAAK,EAAE,UAAU;EAEjBC,WAAW,EAAE,gBAAgB;EAE7BC,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jDC,mBAAmB,EAAE,0BAA0B;EAE/CC,sBAAsB,EAAE,4BAA4B;EAEpDC,iBAAiB,EAAE,wBAAwB;EAE3CC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,MAAM,EAAE,YAAY;EAEpBC,OAAO,EAAE,aAAa;EAEtB;EACA;;EAEAC,eAAe,EAAE,iBAAiB;EAElCC,oBAAoB,EAAE,uBAAuB;EAE7CC,4BAA4B,EAAE,gCAAgC;EAE9DC,eAAe,EAAE,kBAAkB;EAEnCC,eAAe,EAAE,kBAAkB;EAEnCC,oBAAoB,EAAE,uBAAuB;EAE7CC,iBAAiB,EAAE,qBAAqB;EAExCC,kBAAkB,EAAE;AACtB,CAAU;AAKV,OAAO,SAASC,iBAAiBA,CAAA,EAA6B;EAC5D,OAAOC,MAAM,CAACC,MAAM,CAACpF,iBAAiB,CAAC;AACzC","ignoreList":[]}
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
/**
|
|
4
|
-
* Predefined event types for AdShift SDK.
|
|
5
|
-
*
|
|
6
|
-
* Use these constants for consistent event naming across your app.
|
|
7
|
-
*
|
|
8
|
-
* Pair them with `AdshiftEventParam` for the values.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```typescript
|
|
12
|
-
* await Adshift.trackEvent(AdshiftEventType.AddToCart, {
|
|
13
|
-
* [AdshiftEventParam.ContentId]: 'SKU123',
|
|
14
|
-
* [AdshiftEventParam.Price]: 29.99,
|
|
15
|
-
* });
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* You can also use custom event names as strings:
|
|
19
|
-
* ```typescript
|
|
20
|
-
* await Adshift.trackEvent('custom_event_name');
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
3
|
+
/** Standard event names; any other name is tracked as a custom event. */
|
|
23
4
|
export const AdshiftEventType = {
|
|
24
|
-
// ============ E-commerce Events ============
|
|
25
|
-
|
|
26
5
|
AddToCart: 'as_add_to_cart',
|
|
27
6
|
AddToWishList: 'as_add_to_wishlist',
|
|
28
7
|
AddPaymentInfo: 'as_add_payment_info',
|
|
@@ -31,52 +10,35 @@ export const AdshiftEventType = {
|
|
|
31
10
|
ContentView: 'as_content_view',
|
|
32
11
|
ListView: 'as_list_view',
|
|
33
12
|
Search: 'as_search',
|
|
34
|
-
// ============ User Lifecycle Events ============
|
|
35
|
-
|
|
36
13
|
CompleteRegistration: 'as_complete_registration',
|
|
37
14
|
Login: 'as_login',
|
|
38
15
|
TutorialCompletion: 'as_tutorial_completion',
|
|
39
16
|
Subscribe: 'as_subscribe',
|
|
40
17
|
StartTrial: 'as_start_trial',
|
|
41
|
-
// ============ Gaming Events ============
|
|
42
|
-
|
|
43
18
|
LevelAchieved: 'as_level_achieved',
|
|
44
19
|
AchievementUnlocked: 'as_achievement_unlocked',
|
|
45
20
|
/** Note the plural in the value; the key is singular for compatibility. */
|
|
46
21
|
SpentCredit: 'as_spent_credits',
|
|
47
|
-
// ============ Engagement Events ============
|
|
48
|
-
|
|
49
22
|
Rate: 'as_rate',
|
|
50
23
|
Share: 'as_share',
|
|
51
24
|
Invite: 'as_invite',
|
|
52
25
|
ReEngage: 'as_re_engage',
|
|
53
26
|
Update: 'as_update',
|
|
54
27
|
OpenedFromPushNotification: 'as_opened_from_push_notification',
|
|
55
|
-
// ============ Travel Events ============
|
|
56
|
-
|
|
57
28
|
TravelBooking: 'as_travel_booking',
|
|
58
|
-
// ============ Ad Events ============
|
|
59
|
-
|
|
60
29
|
AdClick: 'as_ad_click',
|
|
61
30
|
AdView: 'as_ad_view',
|
|
62
31
|
/** Ad revenue impression. Prefer `Adshift.logAdRevenue()`. */
|
|
63
32
|
AdRevenue: 'as_ad_revenue',
|
|
64
|
-
// ============ Location Events ============
|
|
65
|
-
|
|
66
33
|
/** Region or place the user moved to, as your own values. */
|
|
67
34
|
LocationChanged: 'as_location_changed',
|
|
68
35
|
/** Latitude and longitude. Send only what your privacy notice covers. */
|
|
69
36
|
LocationCoordinates: 'as_location_coordinates',
|
|
70
|
-
// ============ Other Events ============
|
|
71
|
-
|
|
72
37
|
/** Your order identifier, for matching purchases with your own records. */
|
|
73
38
|
OrderId: 'as_order_id',
|
|
74
39
|
/** Segment the user belongs to, for audience reporting. */
|
|
75
40
|
CustomerSegment: 'as_customer_segment'
|
|
76
41
|
};
|
|
77
|
-
/**
|
|
78
|
-
* Returns all predefined event types as an array.
|
|
79
|
-
*/
|
|
80
42
|
export function getAllEventTypes() {
|
|
81
43
|
return Object.values(AdshiftEventType);
|
|
82
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdshiftEventType","AddToCart","AddToWishList","AddPaymentInfo","InitiatedCheckout","Purchase","ContentView","ListView","Search","CompleteRegistration","Login","TutorialCompletion","Subscribe","StartTrial","LevelAchieved","AchievementUnlocked","SpentCredit","Rate","Share","Invite","ReEngage","Update","OpenedFromPushNotification","TravelBooking","AdClick","AdView","AdRevenue","LocationChanged","LocationCoordinates","OrderId","CustomerSegment","getAllEventTypes","Object","values"],"sourceRoot":"../../../src","sources":["types/AdshiftEventType.ts"],"mappings":";;AAAA;AACA
|
|
1
|
+
{"version":3,"names":["AdshiftEventType","AddToCart","AddToWishList","AddPaymentInfo","InitiatedCheckout","Purchase","ContentView","ListView","Search","CompleteRegistration","Login","TutorialCompletion","Subscribe","StartTrial","LevelAchieved","AchievementUnlocked","SpentCredit","Rate","Share","Invite","ReEngage","Update","OpenedFromPushNotification","TravelBooking","AdClick","AdView","AdRevenue","LocationChanged","LocationCoordinates","OrderId","CustomerSegment","getAllEventTypes","Object","values"],"sourceRoot":"../../../src","sources":["types/AdshiftEventType.ts"],"mappings":";;AAAA;AACA,OAAO,MAAMA,gBAAgB,GAAG;EAC9BC,SAAS,EAAE,gBAAgB;EAE3BC,aAAa,EAAE,oBAAoB;EAEnCC,cAAc,EAAE,qBAAqB;EAErCC,iBAAiB,EAAE,uBAAuB;EAE1CC,QAAQ,EAAE,aAAa;EAEvBC,WAAW,EAAE,iBAAiB;EAE9BC,QAAQ,EAAE,cAAc;EAExBC,MAAM,EAAE,WAAW;EAEnBC,oBAAoB,EAAE,0BAA0B;EAEhDC,KAAK,EAAE,UAAU;EAEjBC,kBAAkB,EAAE,wBAAwB;EAE5CC,SAAS,EAAE,cAAc;EAEzBC,UAAU,EAAE,gBAAgB;EAE5BC,aAAa,EAAE,mBAAmB;EAElCC,mBAAmB,EAAE,yBAAyB;EAE9C;EACAC,WAAW,EAAE,kBAAkB;EAE/BC,IAAI,EAAE,SAAS;EAEfC,KAAK,EAAE,UAAU;EAEjBC,MAAM,EAAE,WAAW;EAEnBC,QAAQ,EAAE,cAAc;EAExBC,MAAM,EAAE,WAAW;EAEnBC,0BAA0B,EAAE,kCAAkC;EAE9DC,aAAa,EAAE,mBAAmB;EAElCC,OAAO,EAAE,aAAa;EAEtBC,MAAM,EAAE,YAAY;EAEpB;EACAC,SAAS,EAAE,eAAe;EAE1B;EACAC,eAAe,EAAE,qBAAqB;EAEtC;EACAC,mBAAmB,EAAE,yBAAyB;EAE9C;EACAC,OAAO,EAAE,aAAa;EAEtB;EACAC,eAAe,EAAE;AACnB,CAAU;AAKV,OAAO,SAASC,gBAAgBA,CAAA,EAA4B;EAC1D,OAAOC,MAAM,CAACC,MAAM,CAACjC,gBAAgB,CAAC;AACxC","ignoreList":[]}
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* default. Consent under GDPR must be affirmative, so a flag nobody set counts
|
|
8
|
-
* as no consent. Here nothing said means sharing is allowed — which is why this
|
|
9
|
-
* is not a fourth flag on the consent object: folding the two together would
|
|
10
|
-
* make one of them wrong.
|
|
11
|
-
*
|
|
12
|
-
* The three states live in the calls rather than in a nullable field. Never
|
|
13
|
-
* calling `Adshift.setThirdPartySharing()` leaves the question unanswered,
|
|
14
|
-
* `Adshift.clearThirdPartySharing()` returns to unanswered, and the value here
|
|
15
|
-
* is the answer itself.
|
|
16
|
-
*
|
|
17
|
-
* An object rather than a bare `boolean` so a field can be added later without
|
|
18
|
-
* breaking callers.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```typescript
|
|
22
|
-
* // The user asked not to have their data passed on
|
|
23
|
-
* Adshift.setThirdPartySharing(AdshiftThirdPartySharing.optedOut());
|
|
24
|
-
*
|
|
25
|
-
* // The user was asked and did not opt out
|
|
26
|
-
* Adshift.setThirdPartySharing(AdshiftThirdPartySharing.allowed());
|
|
27
|
-
* ```
|
|
4
|
+
* The user's answer on passing their data on to advertising partners. Unlike
|
|
5
|
+
* consent, no answer means allowed. Until `Adshift.setThirdPartySharing()` is
|
|
6
|
+
* called, or after `clearThirdPartySharing()`, the question is unanswered.
|
|
28
7
|
*/
|
|
29
8
|
|
|
30
|
-
/**
|
|
31
|
-
* Helper functions for creating `AdshiftThirdPartySharing` objects.
|
|
32
|
-
*/
|
|
9
|
+
/** Builds `AdshiftThirdPartySharing` values. */
|
|
33
10
|
export const AdshiftThirdPartySharing = {
|
|
34
11
|
/** The user asked not to have their data passed on. */
|
|
35
12
|
optedOut() {
|
|
@@ -38,12 +15,8 @@ export const AdshiftThirdPartySharing = {
|
|
|
38
15
|
};
|
|
39
16
|
},
|
|
40
17
|
/**
|
|
41
|
-
* The user did not
|
|
42
|
-
*
|
|
43
|
-
* Only worth sending when the app has actually asked. Setting this at startup
|
|
44
|
-
* as a default is the one mistake to avoid here: a CMP answer arriving later
|
|
45
|
-
* cannot be undone for events already sent, and the declaration is recorded
|
|
46
|
-
* as the app's own rather than as the absence of one.
|
|
18
|
+
* The user was asked and did not opt out. Not a default for startup: a later
|
|
19
|
+
* answer cannot correct events already sent.
|
|
47
20
|
*/
|
|
48
21
|
allowed() {
|
|
49
22
|
return {
|
|
@@ -52,11 +25,7 @@ export const AdshiftThirdPartySharing = {
|
|
|
52
25
|
}
|
|
53
26
|
};
|
|
54
27
|
|
|
55
|
-
/**
|
|
56
|
-
* Converts `AdshiftThirdPartySharing` to a plain object for the native bridge.
|
|
57
|
-
*
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
28
|
+
/** @internal */
|
|
60
29
|
export function thirdPartySharingToMap(sharing) {
|
|
61
30
|
return {
|
|
62
31
|
optOut: sharing.optOut === true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["AdshiftThirdPartySharing","optedOut","optOut","allowed","thirdPartySharingToMap","sharing"],"sourceRoot":"../../../src","sources":["types/AdshiftThirdPartySharing.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA
|
|
1
|
+
{"version":3,"names":["AdshiftThirdPartySharing","optedOut","optOut","allowed","thirdPartySharingToMap","sharing"],"sourceRoot":"../../../src","sources":["types/AdshiftThirdPartySharing.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AAMA;AACA,OAAO,MAAMA,wBAAwB,GAAG;EACtC;EACAC,QAAQA,CAAA,EAA6B;IACnC,OAAO;MAAEC,MAAM,EAAE;IAAK,CAAC;EACzB,CAAC;EAED;AACF;AACA;AACA;EACEC,OAAOA,CAAA,EAA6B;IAClC,OAAO;MAAED,MAAM,EAAE;IAAM,CAAC;EAC1B;AACF,CAAC;;AAED;AACA,OAAO,SAASE,sBAAsBA,CACpCC,OAAiC,EACR;EACzB,OAAO;IAAEH,MAAM,EAAEG,OAAO,CAACH,MAAM,KAAK;EAAK,CAAC;AAC5C","ignoreList":[]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
export { configToMap } from "./AdshiftConfig.js";
|
|
3
|
+
export { configToMap, DEFERRED_DEEP_LINK_CLIPBOARD_MODES } from "./AdshiftConfig.js";
|
|
4
4
|
export { AdshiftConsent, consentToMap } from "./AdshiftConsent.js";
|
|
5
5
|
export { consentSnapshotFromMap } from "./AdshiftConsentSnapshot.js";
|
|
6
6
|
export { AdshiftThirdPartySharing, thirdPartySharingToMap } from "./AdshiftThirdPartySharing.js";
|
|
7
|
-
export { AdshiftDeepLinkStatus, AdshiftDeepLink, deepLinkToMap } from "./AdshiftDeepLink.js";
|
|
7
|
+
export { AdshiftDeepLinkStatus, AdshiftDeepLinkSource, AdshiftDeepLink, deepLinkToMap } from "./AdshiftDeepLink.js";
|
|
8
8
|
export { AdshiftEventType, getAllEventTypes } from "./AdshiftEventType.js";
|
|
9
9
|
export { AdshiftEventParam, getAllEventParams } from "./AdshiftEventParam.js";
|
|
10
10
|
export { AdshiftMediationNetwork } from "./AdshiftAdRevenue.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["configToMap","AdshiftConsent","consentToMap","consentSnapshotFromMap","AdshiftThirdPartySharing","thirdPartySharingToMap","AdshiftDeepLinkStatus","AdshiftDeepLink","deepLinkToMap","AdshiftEventType","getAllEventTypes","AdshiftEventParam","getAllEventParams","AdshiftMediationNetwork","AdshiftErrorCode","isAdshiftError","createAdshiftError","toAdshiftError"],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["configToMap","DEFERRED_DEEP_LINK_CLIPBOARD_MODES","AdshiftConsent","consentToMap","consentSnapshotFromMap","AdshiftThirdPartySharing","thirdPartySharingToMap","AdshiftDeepLinkStatus","AdshiftDeepLinkSource","AdshiftDeepLink","deepLinkToMap","AdshiftEventType","getAllEventTypes","AdshiftEventParam","getAllEventParams","AdshiftMediationNetwork","AdshiftErrorCode","isAdshiftError","createAdshiftError","toAdshiftError"],"sourceRoot":"../../../src","sources":["types/index.ts"],"mappings":";;AAIA,SACEA,WAAW,EACXC,kCAAkC,QAC7B,oBAAiB;AAGxB,SAASC,cAAc,EAAEC,YAAY,QAAQ,qBAAkB;AAG/D,SAASC,sBAAsB,QAAQ,6BAA0B;AAEjE,SACEC,wBAAwB,EACxBC,sBAAsB,QACjB,+BAA4B;AAEnC,SACEC,qBAAqB,EACrBC,qBAAqB,EACrBC,eAAe,EACfC,aAAa,QACR,sBAAmB;AAE1B,SAASC,gBAAgB,EAAEC,gBAAgB,QAAQ,uBAAoB;AAGvE,SAASC,iBAAiB,EAAEC,iBAAiB,QAAQ,wBAAqB;AAG1E,SAASC,uBAAuB,QAAQ,uBAAoB;AAM5D,SACEC,gBAAgB,EAChBC,cAAc,EACdC,kBAAkB,EAClBC,cAAc,QACT,mBAAgB","ignoreList":[]}
|
package/lib/module/version.js
CHANGED