insert-affiliate-react-native-sdk 1.2.4 → 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,8 +173,8 @@ 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
179
  console.log("[Insert Affiliate] Completed generateThenSetUserID within setInsertAffiliateIdentifier.");
180
180
  if (!referringLink) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insert-affiliate-react-native-sdk",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "A package for connecting with the Insert Affiliate Platform to add app based affiliate marketing.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -210,8 +210,9 @@ 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
 
217
218
  console.log("[Insert Affiliate] Completed generateThenSetUserID within setInsertAffiliateIdentifier.");