rn-prodeeplinks 0.0.9 → 0.1.1

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/lib/api.js CHANGED
@@ -7,7 +7,7 @@ exports.validateLicenseInit = validateLicenseInit;
7
7
  exports.matchFingerprintCustom = matchFingerprintCustom;
8
8
  exports.trackCustomDeepLinkEvent = trackCustomDeepLinkEvent;
9
9
  const license_1 = require("./license");
10
- const BASE_API_URL = 'https://api.prodeeplink.com';
10
+ const BASE_API_URL = 'https://api.prodeeplinks.com';
11
11
  const ANALYTICS_ENDPOINT = `${BASE_API_URL}/custom-deep-link/track/event`;
12
12
  /**
13
13
  * Call API to get deep link URL
@@ -133,7 +133,6 @@ async function validateLicenseCustom(licenseKey, opts) {
133
133
  method: 'POST',
134
134
  headers: {
135
135
  'Content-Type': 'application/json',
136
- 'x-license-key': licenseKey,
137
136
  },
138
137
  body: JSON.stringify(body),
139
138
  });
package/lib/index.js CHANGED
@@ -13,7 +13,7 @@ const react_native_1 = require("react-native");
13
13
  // Global state to store license key and configuration
14
14
  let storedLicenseKey = null;
15
15
  let isInitialized = false;
16
- const DEFAULT_API_ENDPOINT = 'https://api.prodeeplink.com/v1/deeplink';
16
+ const DEFAULT_API_ENDPOINT = 'https://api.prodeeplinks.com/';
17
17
  /**
18
18
  * Initialize the deep link package with license key
19
19
  * This must be called before using getDeepLink()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-prodeeplinks",
3
- "version": "0.0.9",
3
+ "version": "0.1.1",
4
4
  "description": "Secure deep linking package with license key validation and device fingerprinting for React Native",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",