File size: 5,463 Bytes
b450976
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
  "name": "@mentra/engine",
  "version": "3.5.0",
  "description": "Mentra Engine — miniapp registry, WebView bridge, and miniapp store",
  "main": "build/index.js",
  "react-native": "src/index.ts",
  "types": "build/index.d.ts",
  "exports": {
    ".": {
      "types": "./build/index.d.ts",
      "react-native": "./src/index.ts",
      "default": "./build/index.js"
    },
    "./ota": {
      "types": "./build/react/index.d.ts",
      "react-native": "./src/react/index.ts",
      "default": "./build/react/index.js"
    },
    "./bluetooth-sdk": {
      "types": "./build/bluetooth-sdk/index.d.ts",
      "react-native": "./src/bluetooth-sdk/index.ts",
      "default": "./build/bluetooth-sdk/index.js"
    },
    "./bluetooth-sdk/react": {
      "types": "./build/bluetooth-sdk/react.d.ts",
      "react-native": "./src/bluetooth-sdk/react.ts",
      "default": "./build/bluetooth-sdk/react.js"
    },
    "./bluetooth-sdk/types": {
      "types": "./build/bluetooth-sdk/types.d.ts",
      "react-native": "./src/bluetooth-sdk/types.ts",
      "default": "./build/bluetooth-sdk/types.js"
    },
    "./bluetooth-sdk/photo-receiver": {
      "types": "./build/bluetooth-sdk/photo-receiver.d.ts",
      "react-native": "./src/bluetooth-sdk/photo-receiver.ts",
      "default": "./build/bluetooth-sdk/photo-receiver.js"
    },
    "./bluetooth-sdk/ota-transport": {
      "types": "./build/bluetooth-sdk/ota-transport.d.ts",
      "react-native": "./src/bluetooth-sdk/ota-transport.ts",
      "default": "./build/bluetooth-sdk/ota-transport.js"
    },
    "./bluetooth-sdk/debug": {
      "types": "./build/bluetooth-sdk/debug.d.ts",
      "react-native": "./src/bluetooth-sdk/debug.ts",
      "default": "./build/bluetooth-sdk/debug.js"
    },
    "./build/*": null,
    "./src/*": null,
    "./package.json": "./package.json"
  },
  "files": [
    "build",
    "README.md",
    "src",
    "!build/devtools.*",
    "!build/internal.*",
    "!src/devtools.ts",
    "!src/internal.ts",
    "!src/**/__tests__",
    "!src/**/*.test.ts"
  ],
  "scripts": {
    "build": "expo-module build",
    "clean": "expo-module clean",
    "lint": "expo-module lint",
    "test": "./scripts/test.sh && node --test scripts/*.test.mjs",
    "write:release-metadata": "node scripts/write-release-metadata.mjs",
    "verify:release-package": "node scripts/verify-release-package.mjs",
    "test:public-api": "bun test src/bluetooth-sdk/__tests__/publicApi.test.ts",
    "test:public-ota-consumer": "tsc --noEmit --strict --skipLibCheck --jsx react-jsx --moduleResolution bundler --module esnext --target es2022 scripts/fixtures/public-ota-consumer.tsx",
    "build:module": "expo-module prepare",
    "prepublishOnly": "expo-module prepublishOnly",
    "expo-module": "expo-module"
  },
  "keywords": [
    "react-native",
    "expo",
    "engine",
    "Engine",
    "miniapp"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Mentra-Community/MentraOS.git",
    "directory": "mobile/modules/engine"
  },
  "bugs": {
    "url": "https://github.com/Mentra-Community/MentraOS/issues"
  },
  "author": "Mentra Community",
  "license": "Apache-2.0",
  "homepage": "https://github.com/Mentra-Community/MentraOS/tree/dev/mobile/modules/engine#readme",
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "dependencies": {
    "@mentra/acs-meeting": "3.5.0",
    "@mentra/glasses-media": "3.5.0",
    "@mentra/bluetooth-sdk": "3.5.0",
    "@mentra/cloud-client": "3.5.0",
    "@mentra/cloud-protocol": "3.5.0",
    "@mentra/crust": "3.5.0",
    "@mentra/miniapp": "3.5.0",
    "buffer": "^6.0.3",
    "events": "^3.3.0",
    "jszip": "^3.10.1",
    "react-native-marked": "8.1.1",
    "semver": "^7.7.4",
    "tweetnacl": "^1.0.3",
    "typesafe-ts": "^1.7.1"
  },
  "devDependencies": {
    "@types/semver": "^7.7.1",
    "expo-module-scripts": "^55.0.2",
    "expo-modules-core": "55.0.25",
    "react-native-nitro-modules": "^0.31.10",
    "typescript": "~5.9.2"
  },
  "peerDependencies": {
    "expo": "~55.0.24",
    "expo-modules-core": "~55.0.25",
    "react": "*",
    "react-native": "*",
    "react-native-safe-area-context": "*",
    "react-native-svg": "*",
    "react-native-udp": "*",
    "@types/react": "*",
    "react-native-mmkv": "*",
    "react-native-nitro-bg-timer": "*",
    "react-native-nitro-modules": "*",
    "react-native-reanimated": "4.2.1",
    "react-native-worklets": "0.7.4",
    "expo-file-system": "~55.0.20",
    "react-native-zip-archive": "7.1.1",
    "zustand": "*",
    "expo-battery": "^55.0.13",
    "expo-audio": "~55.0.14",
    "expo-clipboard": "~55.0.13",
    "expo-calendar": "~55.0.14",
    "expo-application": "~55.0.15",
    "expo-asset": "~55.0.17",
    "expo-constants": "~55.0.16",
    "expo-device": "~55.0.17",
    "expo-location": "~55.1.10",
    "expo-task-manager": "~55.0.16",
    "expo-notifications": "~55.0.23",
    "expo-secure-store": "~55.0.14",
    "react-native-share": "*",
    "react-native-localize": "*",
    "react-native-ble-manager": "*",
    "react-native-permissions": "*",
    "react-native-wifi-reborn": "*",
    "@react-native-community/netinfo": "*",
    "@dr.pogodin/react-native-fs": "2.38.2",
    "@craftzdog/react-native-buffer": "*",
    "axios": "*"
  }
}