@mentra/sdk 2.1.29-beta.1 → 2.1.30-beta.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/dist/app/session/events.d.ts +9 -0
- package/dist/app/session/events.d.ts.map +1 -1
- package/dist/app/session/index.d.ts +8 -2
- package/dist/app/session/index.d.ts.map +1 -1
- package/dist/display-utils/helpers/DisplayHelpers.d.ts +165 -0
- package/dist/display-utils/helpers/DisplayHelpers.d.ts.map +1 -0
- package/dist/display-utils/helpers/ScrollView.d.ts +183 -0
- package/dist/display-utils/helpers/ScrollView.d.ts.map +1 -0
- package/dist/display-utils/helpers/index.d.ts +11 -0
- package/dist/display-utils/helpers/index.d.ts.map +1 -0
- package/dist/display-utils/index.d.ts +108 -0
- package/dist/display-utils/index.d.ts.map +1 -0
- package/dist/display-utils/measurer/TextMeasurer.d.ts +160 -0
- package/dist/display-utils/measurer/TextMeasurer.d.ts.map +1 -0
- package/dist/display-utils/measurer/index.d.ts +10 -0
- package/dist/display-utils/measurer/index.d.ts.map +1 -0
- package/dist/display-utils/measurer/script-detection.d.ts +53 -0
- package/dist/display-utils/measurer/script-detection.d.ts.map +1 -0
- package/dist/display-utils/profiles/g1.d.ts +33 -0
- package/dist/display-utils/profiles/g1.d.ts.map +1 -0
- package/dist/display-utils/profiles/index.d.ts +9 -0
- package/dist/display-utils/profiles/index.d.ts.map +1 -0
- package/dist/display-utils/profiles/types.d.ts +95 -0
- package/dist/display-utils/profiles/types.d.ts.map +1 -0
- package/dist/display-utils/wrapper/TextWrapper.d.ts +94 -0
- package/dist/display-utils/wrapper/TextWrapper.d.ts.map +1 -0
- package/dist/display-utils/wrapper/index.d.ts +12 -0
- package/dist/display-utils/wrapper/index.d.ts.map +1 -0
- package/dist/display-utils/wrapper/types.d.ts +71 -0
- package/dist/display-utils/wrapper/types.d.ts.map +1 -0
- package/dist/display-utils.d.ts +27 -986
- package/dist/display-utils.d.ts.map +1 -1
- package/dist/display-utils.js +9 -9
- package/dist/display-utils.js.map +2 -2
- package/dist/index.js +47 -30
- package/dist/index.js.map +4 -4
- package/package.json +4 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mentra/sdk",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.30-beta.1",
|
|
4
4
|
"description": "Build apps for MentraOS smartglasses. This SDK provides everything you need to create real-time smartglasses applications.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,18 +31,13 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
"bin": {
|
|
35
|
-
"mentra": "./dist/cli.js"
|
|
36
|
-
},
|
|
37
34
|
"scripts": {
|
|
38
|
-
"build": "bun run
|
|
39
|
-
"build:js-only": "bun run
|
|
40
|
-
"build:full": "bun run
|
|
35
|
+
"build": "bun run clean && bun run build:js && bun run build:types",
|
|
36
|
+
"build:js-only": "bun run clean && bun run build:js",
|
|
37
|
+
"build:full": "bun run clean && bun run build:js && bun run build:types",
|
|
41
38
|
"clean": "rm -rf dist",
|
|
42
39
|
"build:js": "bun build src/index.ts src/display-utils.ts --outdir dist --target node --format esm --sourcemap=external --external @logtail/pino --external axios --external boxen --external chalk --external cookie-parser --external dotenv --external express --external jimp --external jsonwebtoken --external jsrsasign --external multer --external pino --external pino-pretty --external strip-ansi --external ws",
|
|
43
40
|
"build:types": "bun x tsc --emitDeclarationOnly",
|
|
44
|
-
"prebuild-display-utils-types": "cd ../display-utils && bun x tsc --emitDeclarationOnly",
|
|
45
|
-
"bundle-display-utils-types": "bun run scripts/bundle-display-utils-types.ts",
|
|
46
41
|
"dev": "echo 'No build needed in dev mode - using source files directly'",
|
|
47
42
|
"prepare": "bun run build",
|
|
48
43
|
"link-pkg": "bun link"
|
|
@@ -65,7 +60,6 @@
|
|
|
65
60
|
"ws": "^8.18.2"
|
|
66
61
|
},
|
|
67
62
|
"devDependencies": {
|
|
68
|
-
"@mentra/display-utils": "1.0.0",
|
|
69
63
|
"@mentra/types": "1.0.0",
|
|
70
64
|
"@types/babel__core": "^7.20.5",
|
|
71
65
|
"@types/express": "^4.17.17",
|