insert-affiliate-react-native-sdk 1.2.8 → 1.2.9

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.
@@ -184,10 +184,6 @@ const DeepLinkIapProvider = ({ children, }) => {
184
184
  yield storeInsertAffiliateIdentifier({ link: referringLink });
185
185
  return;
186
186
  }
187
- if (!isInitialized || !companyCode) {
188
- console.error("[Insert Affiliate] SDK is not initialized. Please initialize the SDK with a valid company code.");
189
- return;
190
- }
191
187
  if (!companyCode || companyCode.trim() === "") {
192
188
  console.error("[Insert Affiliate] Company code is not set. Please initialize the SDK with a valid company code.");
193
189
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "insert-affiliate-react-native-sdk",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
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",
@@ -216,11 +216,6 @@ const DeepLinkIapProvider: React.FC<T_DEEPLINK_IAP_PROVIDER> = ({
216
216
  return;
217
217
  }
218
218
 
219
- if (!isInitialized || !companyCode) {
220
- console.error("[Insert Affiliate] SDK is not initialized. Please initialize the SDK with a valid company code.");
221
- return;
222
- }
223
-
224
219
  if (!companyCode || companyCode.trim() === "") {
225
220
  console.error(
226
221
  "[Insert Affiliate] Company code is not set. Please initialize the SDK with a valid company code."