insert-affiliate-react-native-sdk 1.4.5 → 1.4.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insert-affiliate-react-native-sdk",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
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",
package/readme.md CHANGED
@@ -98,7 +98,7 @@ React.useEffect(() => {
98
98
  const affiliateIdentifier = await returnInsertAffiliateIdentifier();
99
99
 
100
100
  if (affiliateIdentifier) {
101
- await Purchases.setAttributes({"insert_affiliate", affiliateIdentifier});
101
+ await Purchases.setAttributes({"insert_affiliate" : affiliateIdentifier});
102
102
  }
103
103
  }
104
104
  } catch (error) {
@@ -339,7 +339,7 @@ import { useDeepLinkIapProvider } from 'insert-affiliate-react-native-sdk';
339
339
  let insertAffiliateIdentifier = await setInsertAffiliateIdentifier(referringLink);
340
340
 
341
341
  if (insertAffiliateIdentifier) {
342
- await Purchases.setAttributes({"insert_affiliate", affiliateIdentifier});
342
+ await Purchases.setAttributes({"insert_affiliate" : affiliateIdentifier});
343
343
  }
344
344
 
345
345
  } catch (err) {