@naverpay/device-info 1.0.10 → 1.0.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
@@ -19,9 +19,8 @@ npm install --save @naverpay/device-info
19
19
  ## Usage
20
20
 
21
21
  ```javascript
22
- import iOSDeviceInfo from "@naverpay/device-info/ios.json";
23
- import androidDeviceInfo from "@naverpay/device-info/aos.json";
22
+ import { ios, aos } from "@naverpay/device-info";
24
23
 
25
- console.log(iosDeviceInfo["iPhone15,4"]); // "iPhone 15"
26
- console.log(androidDeviceInfo["SM-S901B"]); // "Galaxy S22"
24
+ console.log(ios["iPhone15,4"]); // "iPhone 15"
25
+ console.log(aos["SM-S901B"]); // "Galaxy S22"
27
26
  ```