Device Dehydration | js-sdk: store/load dehydration key #10597
Annotations
2 errors
Run tests:
src/rust-crypto/DehydratedDeviceManager.ts#L86
TypeError: _this.olmMachine.dehydratedDevices(...).getDehydratedDeviceKey is not a function
at getDehydratedDeviceKey (src/rust-crypto/DehydratedDeviceManager.ts:86:58)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12
at DehydratedDeviceManager.getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:86:83)
at getCachedKey (src/rust-crypto/DehydratedDeviceManager.ts:286:34)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12
at DehydratedDeviceManager.createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:295:58)
at createAndUploadDehydratedDevice (src/rust-crypto/DehydratedDeviceManager.ts:305:20)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12
at DehydratedDeviceManager.scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:311:34)
at scheduleDeviceDehydration (src/rust-crypto/DehydratedDeviceManager.ts:149:20)
at Generator.throw (<anonymous>)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _throw (node_modules/@babel/runtime/helpers/asyncToGenerator.js:20:9)
|
Run tests
Process completed with exit code 1.
|
Loading