favalib 0.0.14 → 0.0.16
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/build/Command/BaseCommand.d.mts +5 -5
- package/build/Command/CommandQueue.d.mts +1 -1
- package/build/Command/CommandQueue.mjs +3 -3
- package/build/Command/commands/AddEntryCommand.d.mts +2 -2
- package/build/Command/commands/AddEntryCommand.mjs +1 -1
- package/build/Command/commands/AddSyncDeviceCommand.d.mts +2 -2
- package/build/Command/commands/AddSyncDeviceCommand.mjs +2 -2
- package/build/Command/commands/ChangeDeviceInfoCommand.d.mts +3 -3
- package/build/Command/commands/ChangeDeviceInfoCommand.mjs +2 -2
- package/build/Command/commands/DeleteEntryCommand.d.mts +2 -2
- package/build/Command/commands/DeleteEntryCommand.mjs +1 -1
- package/build/Command/commands/UpdateEntryCommand.d.mts +2 -2
- package/build/Command/commands/UpdateEntryCommand.mjs +1 -1
- package/build/{TwoFaLib.d.mts → FavaLib.d.mts} +5 -5
- package/build/{TwoFaLib.mjs → FavaLib.mjs} +14 -14
- package/build/{TwoFALibError.d.mts → FavaLibError.d.mts} +9 -9
- package/build/{TwoFALibError.mjs → FavaLibError.mjs} +13 -13
- package/build/{TwoFaLibEvent.d.mts → FavaLibEvent.d.mts} +1 -1
- package/build/FavaLibEvent.mjs +9 -0
- package/build/{TwoFaLibMediator.d.mts → FavaLibMediator.d.mts} +3 -3
- package/build/{TwoFaLibMediator.mjs → FavaLibMediator.mjs} +4 -4
- package/build/interfaces/Entry.d.mts +3 -0
- package/build/interfaces/Events.d.mts +10 -10
- package/build/interfaces/PlatformProviders.d.mts +4 -0
- package/build/interfaces/Vault.d.mts +2 -2
- package/build/main.d.mts +5 -5
- package/build/main.mjs +5 -5
- package/build/platformProviders/browser/cryptoLib.mjs +1 -1
- package/build/platformProviders/browser/index.mjs +2 -0
- package/build/platformProviders/browser/qrCodeLib.mjs +5 -5
- package/build/platformProviders/node/cryptoLib.mjs +1 -1
- package/build/platformProviders/node/index.mjs +2 -0
- package/build/platformProviders/node/qrCodeLib.mjs +2 -2
- package/build/subclasses/CommandManager.d.mts +2 -2
- package/build/subclasses/CommandManager.mjs +1 -1
- package/build/subclasses/ExportImportManager.d.mts +2 -2
- package/build/subclasses/ExportImportManager.mjs +1 -1
- package/build/subclasses/LibraryLoader.mjs +1 -1
- package/build/subclasses/PersistentStorageManager.d.mts +2 -2
- package/build/subclasses/PersistentStorageManager.mjs +3 -3
- package/build/subclasses/StorageOperationsManager.d.mts +2 -2
- package/build/subclasses/SyncManager.d.mts +2 -2
- package/build/subclasses/SyncManager.mjs +11 -11
- package/build/subclasses/VaultDataManager.d.mts +2 -2
- package/build/subclasses/VaultDataManager.mjs +6 -6
- package/build/subclasses/VaultOperationsManager.d.mts +3 -2
- package/build/subclasses/VaultOperationsManager.mjs +7 -3
- package/build/utils/creationUtils.d.mts +7 -7
- package/build/utils/creationUtils.mjs +16 -17
- package/build/utils/exportImportUtils.mjs +18 -3
- package/build/utils/qrUtils.mjs +2 -2
- package/build/utils/syncUtils.mjs +1 -1
- package/package.json +2 -1
- package/build/TwoFaLibEvent.mjs +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { base64ToString } from 'uint8array-extras';
|
|
2
|
-
import { SyncError } from '../
|
|
2
|
+
import { SyncError } from '../FavaLibError.mjs';
|
|
3
3
|
/**
|
|
4
4
|
* Decodes the initiator data from a string or QR code.
|
|
5
5
|
* @param initiatorData - The initiator data to decode.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "favalib",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"@vitest/coverage-v8": "^3.1.4",
|
|
32
32
|
"eslint": "^9.27.0",
|
|
33
33
|
"type-fest": "^4.41.0",
|
|
34
|
+
"typedoc": "^0.27.8",
|
|
34
35
|
"vitest": "^3.1.4",
|
|
35
36
|
"vitest-websocket-mock": "^0.5.0"
|
|
36
37
|
},
|
package/build/TwoFaLibEvent.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export var TwoFaLibEvent;
|
|
2
|
-
(function (TwoFaLibEvent) {
|
|
3
|
-
TwoFaLibEvent["Changed"] = "changed";
|
|
4
|
-
TwoFaLibEvent["LoadedFromLockedRepresentation"] = "loadedFromLockedRepresentation";
|
|
5
|
-
TwoFaLibEvent["ConnectToExistingVaultFinished"] = "connectToExistingVaultFinished";
|
|
6
|
-
TwoFaLibEvent["ConnectionToSyncServerStatusChanged"] = "connectionToSyncServerStatusChanged";
|
|
7
|
-
TwoFaLibEvent["Log"] = "log";
|
|
8
|
-
TwoFaLibEvent["Ready"] = "ready";
|
|
9
|
-
})(TwoFaLibEvent || (TwoFaLibEvent = {}));
|