@amplitude/analytics-react-native 0.4.10-beta.1 → 0.4.11

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/README.md CHANGED
@@ -33,6 +33,16 @@ Initialization is necessary before any instrumentation is done. The API key for
33
33
  amplitude.init(API_KEY);
34
34
  ```
35
35
 
36
+ ### Set UserId
37
+
38
+ Sets an `userId` (usually called after user logs in).
39
+ ```typescript
40
+ import { setUserId } from '@amplitude/analytics-react-native';
41
+
42
+ setUserId('xxxxx');
43
+ ```
44
+
45
+
36
46
  ### Tracking an Event
37
47
 
38
48
  Events represent how users interact with your application. For example, “Button Clicked” may be an action you want to note.
@@ -4,6 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.VERSION = void 0;
7
- const VERSION = '0.4.10-beta.1';
7
+ const VERSION = '0.4.11';
8
8
  exports.VERSION = VERSION;
9
9
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["export const VERSION = '0.4.10-beta.1';\n"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAG,eAAhB"}
1
+ {"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["export const VERSION = '0.4.11';\n"],"mappings":";;;;;;AAAO,MAAMA,OAAO,GAAG,QAAhB"}
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.4.10-beta.1';
1
+ export const VERSION = '0.4.11';
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["export const VERSION = '0.4.10-beta.1';\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,eAAhB"}
1
+ {"version":3,"names":["VERSION"],"sources":["version.ts"],"sourcesContent":["export const VERSION = '0.4.11';\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,QAAhB"}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.4.10-beta.1";
1
+ export declare const VERSION = "0.4.11";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/analytics-react-native",
3
- "version": "0.4.10-beta.1",
3
+ "version": "0.4.11",
4
4
  "description": "Official React Native SDK",
5
5
  "keywords": [
6
6
  "analytics",
@@ -57,7 +57,7 @@
57
57
  "url": "https://github.com/amplitude/Amplitude-TypeScript/issues"
58
58
  },
59
59
  "dependencies": {
60
- "@amplitude/analytics-client-common": "^0.3.3-beta.1",
60
+ "@amplitude/analytics-client-common": "^0.3.4",
61
61
  "@amplitude/analytics-core": "^0.9.7",
62
62
  "@amplitude/analytics-types": "^0.11.0",
63
63
  "@amplitude/ua-parser-js": "^0.7.31",
@@ -89,5 +89,5 @@
89
89
  ]
90
90
  ]
91
91
  },
92
- "gitHead": "ee567d6393fdb879bd274c85ce9f75bab6e7361a"
92
+ "gitHead": "30837ddfa774ffc2ed4b43859838ef6e03bd7d3b"
93
93
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.4.10-beta.1';
1
+ export const VERSION = '0.4.11';