@cardsjd/device 0.1.11 → 0.1.12

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.
Files changed (2) hide show
  1. package/lib/device.js +2 -2
  2. package/package.json +1 -1
package/lib/device.js CHANGED
@@ -87,7 +87,7 @@ export default class Device {
87
87
 
88
88
  //facebook instant
89
89
  if (typeof globalThis.FBInstant !== 'undefined') {
90
- return 'FBInstant';
90
+ return 'facebook';
91
91
  }
92
92
 
93
93
  if (typeof globalThis.CrazyGames !== 'undefined') {
@@ -143,6 +143,6 @@ export default class Device {
143
143
  return 'web';
144
144
  }
145
145
 
146
- /** @typedef {'FBInstant' | 'windowsPhone' | 'windows' | 'amazon' | 'android' | 'ios' | 'steam' | 'windowsPWA' | 'web' | 'crazygames'} PlatformType */
146
+ /** @typedef {'facebook' | 'windowsPhone' | 'windows' | 'amazon' | 'android' | 'ios' | 'steam' | 'windowsPWA' | 'web' | 'crazygames'} PlatformType */
147
147
 
148
148
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cardsjd/device",
3
3
  "private": false,
4
- "version": "0.1.11",
4
+ "version": "0.1.12",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "files": [