@dxos/credentials 0.7.5-labs.f5080a1 → 0.7.5-labs.ff2ff30
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/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +1 -1
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/did.d.ts +1 -1
- package/package.json +12 -12
- package/src/did.ts +1 -1
- package/src/processor/device-state-machine.ts +1 -1
|
@@ -1747,7 +1747,7 @@ var DeviceStateMachine = class {
|
|
|
1747
1747
|
const assertion = getCredentialAssertion(credential);
|
|
1748
1748
|
switch (assertion["@type"]) {
|
|
1749
1749
|
case "dxos.halo.credentials.AuthorizedDevice": {
|
|
1750
|
-
this.authorizedDeviceKeys.set(assertion.deviceKey, {});
|
|
1750
|
+
this.authorizedDeviceKeys.set(assertion.deviceKey, this.authorizedDeviceKeys.get(assertion.deviceKey) ?? {});
|
|
1751
1751
|
log4("added device", {
|
|
1752
1752
|
localDeviceKey: this._params.deviceKey,
|
|
1753
1753
|
deviceKey: assertion.deviceKey,
|