hypertrack-sdk-react-native 9.1.0 → 9.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/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [9.1.1] - 2023-03-30
7
+
8
+ ### Fixed
9
+ - Removed types re-export to fix issues with some build configurations
10
+
6
11
  ## [9.1.0] - 2023-03-21
7
12
 
8
13
  ### Added
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["LocationError.ts"],"sourcesContent":["import type { HyperTrackError } from './HyperTrackError';\nimport type { NotRunning, Starting } from './internal/LocationErrorInternal';\n\nexport { NotRunning, Starting }\n\nexport type Errors = {\n type: 'errors';\n value: HyperTrackError[];\n};\n\nexport type LocationError = NotRunning | Starting | Errors;\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["LocationError.ts"],"sourcesContent":["import type { HyperTrackError } from './HyperTrackError';\nimport type { NotRunning, Starting } from './internal/LocationErrorInternal';\n\nexport type Errors = {\n type: 'errors';\n value: HyperTrackError[];\n};\n\nexport type LocationError = NotRunning | Starting | Errors;\n"],"mappings":""}
@@ -36,7 +36,7 @@ Object.defineProperty(exports, "LocationError", {
36
36
  Object.defineProperty(exports, "NotRunning", {
37
37
  enumerable: true,
38
38
  get: function () {
39
- return _LocationError.NotRunning;
39
+ return _LocationErrorInternal.NotRunning;
40
40
  }
41
41
  });
42
42
  Object.defineProperty(exports, "SdkInitParams", {
@@ -48,12 +48,13 @@ Object.defineProperty(exports, "SdkInitParams", {
48
48
  Object.defineProperty(exports, "Starting", {
49
49
  enumerable: true,
50
50
  get: function () {
51
- return _LocationError.Starting;
51
+ return _LocationErrorInternal.Starting;
52
52
  }
53
53
  });
54
54
  exports.default = void 0;
55
55
  var _HyperTrack = _interopRequireDefault(require("./HyperTrack/HyperTrack"));
56
56
  var _HyperTrackError = require("./HyperTrack/data_types/HyperTrackError");
57
+ var _LocationErrorInternal = require("./HyperTrack/data_types/internal/LocationErrorInternal");
57
58
  var _LocationError = require("./HyperTrack/data_types/LocationError");
58
59
  var _Location = require("./HyperTrack/data_types/Location");
59
60
  var _SdkInitParams = require("./HyperTrack/data_types/SdkInitParams");
@@ -1 +1 @@
1
- {"version":3,"names":["HyperTrack"],"sources":["index.tsx"],"sourcesContent":["import HyperTrack from './HyperTrack/HyperTrack';\nexport default HyperTrack;\nexport { HyperTrack };\n\nexport { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';\nexport { LocationError, NotRunning, Starting, Errors } from './HyperTrack/data_types/LocationError';\nexport { Location } from './HyperTrack/data_types/Location';\nexport { SdkInitParams } from './HyperTrack/data_types/SdkInitParams'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAIA;AACA;AACA;AACA;AAAqE;AAAA,eANtDA,mBAAU;AAAA"}
1
+ {"version":3,"names":["HyperTrack"],"sources":["index.tsx"],"sourcesContent":["import HyperTrack from './HyperTrack/HyperTrack';\nexport default HyperTrack;\nexport { HyperTrack };\n\nexport { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';\nexport { NotRunning, Starting } from './HyperTrack/data_types/internal/LocationErrorInternal';\nexport { LocationError, Errors } from './HyperTrack/data_types/LocationError';\nexport { Location } from './HyperTrack/data_types/Location';\nexport { SdkInitParams } from './HyperTrack/data_types/SdkInitParams'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAIA;AACA;AACA;AACA;AACA;AAAqE;AAAA,eAPtDA,mBAAU;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["LocationError.ts"],"sourcesContent":["import type { HyperTrackError } from './HyperTrackError';\nimport type { NotRunning, Starting } from './internal/LocationErrorInternal';\n\nexport { NotRunning, Starting }\n\nexport type Errors = {\n type: 'errors';\n value: HyperTrackError[];\n};\n\nexport type LocationError = NotRunning | Starting | Errors;\n"],"mappings":""}
1
+ {"version":3,"names":[],"sources":["LocationError.ts"],"sourcesContent":["import type { HyperTrackError } from './HyperTrackError';\nimport type { NotRunning, Starting } from './internal/LocationErrorInternal';\n\nexport type Errors = {\n type: 'errors';\n value: HyperTrackError[];\n};\n\nexport type LocationError = NotRunning | Starting | Errors;\n"],"mappings":""}
@@ -2,7 +2,8 @@ import HyperTrack from './HyperTrack/HyperTrack';
2
2
  export default HyperTrack;
3
3
  export { HyperTrack };
4
4
  export { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';
5
- export { LocationError, NotRunning, Starting, Errors } from './HyperTrack/data_types/LocationError';
5
+ export { NotRunning, Starting } from './HyperTrack/data_types/internal/LocationErrorInternal';
6
+ export { LocationError, Errors } from './HyperTrack/data_types/LocationError';
6
7
  export { Location } from './HyperTrack/data_types/Location';
7
8
  export { SdkInitParams } from './HyperTrack/data_types/SdkInitParams';
8
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["HyperTrack","HyperTrackError","LocationError","NotRunning","Starting","Errors","Location","SdkInitParams"],"sources":["index.tsx"],"sourcesContent":["import HyperTrack from './HyperTrack/HyperTrack';\nexport default HyperTrack;\nexport { HyperTrack };\n\nexport { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';\nexport { LocationError, NotRunning, Starting, Errors } from './HyperTrack/data_types/LocationError';\nexport { Location } from './HyperTrack/data_types/Location';\nexport { SdkInitParams } from './HyperTrack/data_types/SdkInitParams'\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,yBAAyB;AAChD,eAAeA,UAAU;AACzB,SAASA,UAAU;AAEnB,SAASC,eAAe,QAAQ,yCAAyC;AACzE,SAASC,aAAa,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,uCAAuC;AACnG,SAASC,QAAQ,QAAQ,kCAAkC;AAC3D,SAASC,aAAa,QAAQ,uCAAuC"}
1
+ {"version":3,"names":["HyperTrack","HyperTrackError","NotRunning","Starting","LocationError","Errors","Location","SdkInitParams"],"sources":["index.tsx"],"sourcesContent":["import HyperTrack from './HyperTrack/HyperTrack';\nexport default HyperTrack;\nexport { HyperTrack };\n\nexport { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';\nexport { NotRunning, Starting } from './HyperTrack/data_types/internal/LocationErrorInternal';\nexport { LocationError, Errors } from './HyperTrack/data_types/LocationError';\nexport { Location } from './HyperTrack/data_types/Location';\nexport { SdkInitParams } from './HyperTrack/data_types/SdkInitParams'\n"],"mappings":"AAAA,OAAOA,UAAU,MAAM,yBAAyB;AAChD,eAAeA,UAAU;AACzB,SAASA,UAAU;AAEnB,SAASC,eAAe,QAAQ,yCAAyC;AACzE,SAASC,UAAU,EAAEC,QAAQ,QAAQ,wDAAwD;AAC7F,SAASC,aAAa,EAAEC,MAAM,QAAQ,uCAAuC;AAC7E,SAASC,QAAQ,QAAQ,kCAAkC;AAC3D,SAASC,aAAa,QAAQ,uCAAuC"}
@@ -1,6 +1,5 @@
1
1
  import type { HyperTrackError } from './HyperTrackError';
2
2
  import type { NotRunning, Starting } from './internal/LocationErrorInternal';
3
- export { NotRunning, Starting };
4
3
  export type Errors = {
5
4
  type: 'errors';
6
5
  value: HyperTrackError[];
@@ -2,6 +2,7 @@ import HyperTrack from './HyperTrack/HyperTrack';
2
2
  export default HyperTrack;
3
3
  export { HyperTrack };
4
4
  export { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';
5
- export { LocationError, NotRunning, Starting, Errors } from './HyperTrack/data_types/LocationError';
5
+ export { NotRunning, Starting } from './HyperTrack/data_types/internal/LocationErrorInternal';
6
+ export { LocationError, Errors } from './HyperTrack/data_types/LocationError';
6
7
  export { Location } from './HyperTrack/data_types/Location';
7
8
  export { SdkInitParams } from './HyperTrack/data_types/SdkInitParams';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypertrack-sdk-react-native",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "React Native HyperTrack SDK is a wrapper around native iOS and Android SDKs that allows to integrate HyperTrack into React Native apps.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,8 +1,6 @@
1
1
  import type { HyperTrackError } from './HyperTrackError';
2
2
  import type { NotRunning, Starting } from './internal/LocationErrorInternal';
3
3
 
4
- export { NotRunning, Starting }
5
-
6
4
  export type Errors = {
7
5
  type: 'errors';
8
6
  value: HyperTrackError[];
package/src/index.tsx CHANGED
@@ -3,6 +3,7 @@ export default HyperTrack;
3
3
  export { HyperTrack };
4
4
 
5
5
  export { HyperTrackError } from './HyperTrack/data_types/HyperTrackError';
6
- export { LocationError, NotRunning, Starting, Errors } from './HyperTrack/data_types/LocationError';
6
+ export { NotRunning, Starting } from './HyperTrack/data_types/internal/LocationErrorInternal';
7
+ export { LocationError, Errors } from './HyperTrack/data_types/LocationError';
7
8
  export { Location } from './HyperTrack/data_types/Location';
8
9
  export { SdkInitParams } from './HyperTrack/data_types/SdkInitParams'