insert-affiliate-react-native-sdk 1.2.3 → 1.2.5
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.
|
@@ -173,9 +173,10 @@ const DeepLinkIapProvider = ({ children, }) => {
|
|
|
173
173
|
});
|
|
174
174
|
// MARK: Insert Affiliate Identifier
|
|
175
175
|
const setInsertAffiliateIdentifier = (referringLink, completion) => __awaiter(void 0, void 0, void 0, function* () {
|
|
176
|
+
console.log("[Insert Affiliate] Setting affiliate identifier.");
|
|
176
177
|
try {
|
|
177
|
-
console.log("[Insert Affiliate] Setting affiliate identifier.");
|
|
178
178
|
generateThenSetUserID();
|
|
179
|
+
console.log("[Insert Affiliate] Completed generateThenSetUserID within setInsertAffiliateIdentifier.");
|
|
179
180
|
if (!referringLink) {
|
|
180
181
|
console.warn("[Insert Affiliate] Referring link is invalid.");
|
|
181
182
|
storeInsertAffiliateIdentifier({ link: referringLink });
|
package/package.json
CHANGED
|
@@ -210,10 +210,13 @@ const DeepLinkIapProvider: React.FC<T_DEEPLINK_IAP_PROVIDER> = ({
|
|
|
210
210
|
referringLink: string,
|
|
211
211
|
completion: (shortLink: string | null) => void
|
|
212
212
|
) => {
|
|
213
|
+
console.log("[Insert Affiliate] Setting affiliate identifier.");
|
|
214
|
+
|
|
213
215
|
try {
|
|
214
|
-
console.log("[Insert Affiliate] Setting affiliate identifier.");
|
|
215
216
|
generateThenSetUserID();
|
|
216
217
|
|
|
218
|
+
console.log("[Insert Affiliate] Completed generateThenSetUserID within setInsertAffiliateIdentifier.");
|
|
219
|
+
|
|
217
220
|
if (!referringLink) {
|
|
218
221
|
console.warn("[Insert Affiliate] Referring link is invalid.");
|
|
219
222
|
storeInsertAffiliateIdentifier({ link: referringLink });
|