@lightsparkdev/core 1.4.3 → 1.4.4

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
@@ -1,5 +1,12 @@
1
1
  # @lightsparkdev/core
2
2
 
3
+ ## 1.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 031eb1b: - Resolve circular dependencies
8
+ - React Native compatible entrypoint
9
+
3
10
  ## 1.4.3
4
11
 
5
12
  ### Patch Changes
package/README.md CHANGED
@@ -11,5 +11,3 @@ To use the package, you'll need to install it from npm:
11
11
  ```bash
12
12
  $ npm install @lightsparkdev/core
13
13
  ```
14
-
15
- TODO
@@ -51,6 +51,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
51
51
  var isNode = typeof process !== "undefined" && process.versions != null && process.versions.node != null;
52
52
  var isTest = isNode && process.env.NODE_ENV === "test";
53
53
  var isBare = typeof Bare !== "undefined";
54
+ var isReactNative = typeof navigator !== "undefined" && navigator.product === "ReactNative";
54
55
 
55
56
  // src/utils/hex.ts
56
57
  var bytesToHex = (bytes) => {
@@ -2225,18 +2226,23 @@ function zipcodeToState(zipcode) {
2225
2226
  }
2226
2227
 
2227
2228
  export {
2228
- LightsparkException_default,
2229
- b64decode,
2230
- urlsafe_b64decode,
2231
- b64encode,
2232
- ensureArray,
2233
2229
  isBrowser,
2234
2230
  isNode,
2235
2231
  isTest,
2236
2232
  isBare,
2233
+ isReactNative,
2234
+ LightsparkException_default,
2235
+ b64decode,
2236
+ urlsafe_b64decode,
2237
+ b64encode,
2238
+ getLocalStorageConfigItem,
2239
+ getLocalStorageBoolean,
2240
+ setLocalStorageBoolean,
2241
+ deleteLocalStorageItem,
2237
2242
  bytesToHex,
2238
2243
  hexToBytes,
2239
2244
  createSha256Hash,
2245
+ ensureArray,
2240
2246
  getCurrentLocale,
2241
2247
  countryCodesToCurrencyCodes,
2242
2248
  localeToCurrencyCode,
@@ -2270,10 +2276,6 @@ export {
2270
2276
  getErrorMsg,
2271
2277
  isErrorMsg,
2272
2278
  errorToJSON,
2273
- getLocalStorageConfigItem,
2274
- getLocalStorageBoolean,
2275
- setLocalStorageBoolean,
2276
- deleteLocalStorageItem,
2277
2279
  sleep,
2278
2280
  pollUntil,
2279
2281
  lsidToUUID,