@loyalytics/swan-react-native-sdk 2.0.1 → 2.0.2

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.
@@ -8,5 +8,5 @@ exports.SDK_VERSION = void 0;
8
8
  // This file is generated from package.json version during build.
9
9
  // See scripts/generate-version.js
10
10
 
11
- const SDK_VERSION = exports.SDK_VERSION = '2.0.1';
11
+ const SDK_VERSION = exports.SDK_VERSION = '2.0.2';
12
12
  //# sourceMappingURL=version.js.map
@@ -4,5 +4,5 @@
4
4
  // This file is generated from package.json version during build.
5
5
  // See scripts/generate-version.js
6
6
 
7
- export const SDK_VERSION = '2.0.1';
7
+ export const SDK_VERSION = '2.0.2';
8
8
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.1";
1
+ export declare const SDK_VERSION = "2.0.2";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.1";
1
+ export declare const SDK_VERSION = "2.0.2";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loyalytics/swan-react-native-sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "React Native SDK for Swan",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -112,10 +112,10 @@ function setup() {
112
112
  logSuccess(`Project name: ${projectName}`);
113
113
 
114
114
  // Find SDK directory
115
- const sdkDir = path.join(projectRoot, 'node_modules', 'swan-react-native-sdk');
115
+ const sdkDir = path.join(projectRoot, 'node_modules', '@loyalytics', 'swan-react-native-sdk');
116
116
  if (!fs.existsSync(sdkDir)) {
117
- logError('swan-react-native-sdk not found in node_modules!');
118
- logError('Make sure the SDK is installed: npm install swan-react-native-sdk');
117
+ logError('@loyalytics/swan-react-native-sdk not found in node_modules!');
118
+ logError('Make sure the SDK is installed: npm install @loyalytics/swan-react-native-sdk');
119
119
  process.exit(1);
120
120
  }
121
121
  logSuccess('Swan SDK found');
@@ -259,7 +259,7 @@ function setup() {
259
259
  log(' • Set it to "Xcode 16.0-compatible" or later\n');
260
260
 
261
261
  log('For detailed documentation, see:', colors.cyan);
262
- log(' node_modules/swan-react-native-sdk/docs/IOS_NOTIFICATION_EXTENSION_SETUP.md\n');
262
+ log(' node_modules/@loyalytics/swan-react-native-sdk/docs/IOS_NOTIFICATION_EXTENSION_SETUP.md\n');
263
263
 
264
264
  logSuccess('Setup script completed!');
265
265
  log('');