esp-idf-provisioning-web 0.0.3 → 0.0.6
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/LICENSE +0 -0
- package/README.md +84 -21
- package/dist/ESPDevice.d.ts +4 -19
- package/dist/ESPDevice.d.ts.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +4623 -3094
- package/dist/security/Security0.d.ts.map +1 -1
- package/dist/security/Security1.d.ts +17 -0
- package/dist/security/Security1.d.ts.map +1 -0
- package/dist/types.d.ts +15 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/crypto.d.ts +9 -0
- package/dist/utils/crypto.d.ts.map +1 -1
- package/package.json +26 -24
- package/src/ESPDevice.ts +79 -74
- package/src/ESPProvisionManager.ts +0 -0
- package/src/constants.ts +0 -0
- package/src/generated/.gitkeep +0 -0
- package/src/generated/proto.d.ts +0 -0
- package/src/generated/proto.js +1864 -659
- package/src/index.ts +9 -4
- package/src/proto/constants.proto +0 -0
- package/src/proto/sec0.proto +0 -0
- package/src/proto/sec1.proto +0 -0
- package/src/proto/sec2.proto +0 -0
- package/src/proto/session.proto +0 -0
- package/src/proto/wifi_config.proto +0 -0
- package/src/proto/wifi_constants.proto +0 -0
- package/src/proto/wifi_ctrl.proto +0 -0
- package/src/proto/wifi_scan.proto +0 -0
- package/src/protocol/protocol.ts +0 -0
- package/src/protocol/wifiConfig.ts +6 -6
- package/src/protocol/wifiScan.ts +4 -4
- package/src/security/Security.ts +0 -0
- package/src/security/Security0.ts +5 -3
- package/src/security/Security1.ts +110 -0
- package/src/transport/BLETransport.ts +0 -0
- package/src/transport/SoftAPTransport.ts +2 -2
- package/src/transport/Transport.ts +0 -0
- package/src/types.ts +17 -1
- package/src/utils/crypto.ts +43 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
/// <reference types="web-bluetooth" preserve="true" />
|
|
1
2
|
/**
|
|
2
3
|
* ESP-IDF Provisioning Web SDK
|
|
3
4
|
*
|
|
4
5
|
* A TypeScript library for provisioning ESP32 devices via Web Bluetooth API and HTTP.
|
|
5
|
-
* Supports both BLE and SoftAP transport modes with Security0
|
|
6
|
+
* Supports both BLE and SoftAP transport modes with Security0 and Security1.
|
|
6
7
|
*
|
|
7
8
|
* Note: Browser limitations apply:
|
|
8
9
|
* - BLE requires user interaction to select devices
|
|
9
10
|
* - SoftAP requires manual WiFi connection by the user
|
|
10
|
-
* -
|
|
11
|
+
* - Security1 requires Web Crypto with X25519 support (HTTPS or localhost)
|
|
11
12
|
*/
|
|
12
13
|
export { ESPDevice } from './ESPDevice';
|
|
13
14
|
export { ESPProvisionManager } from './ESPProvisionManager';
|
|
14
|
-
export { ESPWifiAuthMode, ESPWifiStaState, type ESPDeviceInterface, type
|
|
15
|
+
export { ESPWifiAuthMode, ESPWifiStaState, ESPConnectFailReason, type ESPDeviceInterface, type ESPSecurityConfig, type ESPSecurityResolver, type ESPProvisioningInfo, type ESPProvisioningMetadata, type ESPSecurity1Config, type ESPSecurity2Config, type ESPWifiAp, type ESPWifiStatus, } from './types';
|
|
15
16
|
export { FALLBACK_SERVICE_UUID, DEFAULT_DEVICE_PREFIX, } from './constants';
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EACL,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,aAAa,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,aAAa,CAAC"}
|