@3sixty/vault-models 0.0.0-stage → 0.20.0-next.0
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 +201 -0
- package/README.md +24 -2
- package/dist/es/factories/vaultConnectorFactory.js +9 -0
- package/dist/es/factories/vaultConnectorFactory.js.map +1 -0
- package/dist/es/index.js +8 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IVaultConnector.js +2 -0
- package/dist/es/models/IVaultConnector.js.map +1 -0
- package/dist/es/models/vaultEncryptionType.js +13 -0
- package/dist/es/models/vaultEncryptionType.js.map +1 -0
- package/dist/es/models/vaultKeyType.js +17 -0
- package/dist/es/models/vaultKeyType.js.map +1 -0
- package/dist/es/utils/vaultConnectorHelper.js +57 -0
- package/dist/es/utils/vaultConnectorHelper.js.map +1 -0
- package/dist/types/factories/vaultConnectorFactory.d.ts +6 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/models/IVaultConnector.d.ts +129 -0
- package/dist/types/models/vaultEncryptionType.d.ts +13 -0
- package/dist/types/models/vaultKeyType.d.ts +17 -0
- package/dist/types/utils/vaultConnectorHelper.d.ts +37 -0
- package/docs/changelog.md +0 -0
- package/docs/examples.md +141 -0
- package/docs/reference/classes/VaultConnectorHelper.md +127 -0
- package/docs/reference/index.md +20 -0
- package/docs/reference/interfaces/IVaultConnector.md +449 -0
- package/docs/reference/type-aliases/VaultEncryptionType.md +5 -0
- package/docs/reference/type-aliases/VaultKeyType.md +5 -0
- package/docs/reference/variables/VaultConnectorFactory.md +5 -0
- package/docs/reference/variables/VaultEncryptionType.md +13 -0
- package/docs/reference/variables/VaultKeyType.md +19 -0
- package/locales/en.json +7 -0
- package/package.json +54 -5
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Variable: VaultEncryptionType
|
|
2
|
+
|
|
3
|
+
> `const` **VaultEncryptionType**: `object`
|
|
4
|
+
|
|
5
|
+
The names of the vault encryption types.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### ChaCha20Poly1305 {#chacha20poly1305}
|
|
10
|
+
|
|
11
|
+
> `readonly` **ChaCha20Poly1305**: `0` = `0`
|
|
12
|
+
|
|
13
|
+
The ChaCha20Poly1305. (symmetric)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Variable: VaultKeyType
|
|
2
|
+
|
|
3
|
+
> `const` **VaultKeyType**: `object`
|
|
4
|
+
|
|
5
|
+
The names of the vault key types.
|
|
6
|
+
|
|
7
|
+
## Type Declaration
|
|
8
|
+
|
|
9
|
+
### Ed25519 {#ed25519}
|
|
10
|
+
|
|
11
|
+
> `readonly` **Ed25519**: `0` = `0`
|
|
12
|
+
|
|
13
|
+
Ed25519. (asymmetric)
|
|
14
|
+
|
|
15
|
+
### ChaCha20Poly1305 {#chacha20poly1305}
|
|
16
|
+
|
|
17
|
+
> `readonly` **ChaCha20Poly1305**: `2` = `2`
|
|
18
|
+
|
|
19
|
+
The ChaCha20Poly1305. (symmetric)
|
package/locales/en.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "@3sixty/vault-models",
|
|
3
|
+
"version": "0.20.0-next.0",
|
|
4
|
+
"description": "Shared models and factory utilities for consistent vault connector integration",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/3sixtyglobal/vault.git",
|
|
8
|
+
"directory": "packages/vault-models"
|
|
9
|
+
},
|
|
10
|
+
"author": "martyn.janes@iota.org",
|
|
11
|
+
"license": "Apache-2.0",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=24.0.0"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@3sixty/core": "next",
|
|
18
|
+
"@3sixty/nameof": "next",
|
|
19
|
+
"@3sixty/web": "next"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/es/index.js",
|
|
22
|
+
"types": "./dist/types/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/types/index.d.ts",
|
|
26
|
+
"import": "./dist/es/index.js",
|
|
27
|
+
"default": "./dist/es/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./locales/*.json": "./locales/*.json"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/es",
|
|
33
|
+
"dist/types",
|
|
34
|
+
"locales",
|
|
35
|
+
"docs"
|
|
36
|
+
],
|
|
37
|
+
"keywords": [
|
|
38
|
+
"twin",
|
|
39
|
+
"trade",
|
|
40
|
+
"iota",
|
|
41
|
+
"framework",
|
|
42
|
+
"blockchain",
|
|
43
|
+
"vault",
|
|
44
|
+
"encryption",
|
|
45
|
+
"security",
|
|
46
|
+
"keys",
|
|
47
|
+
"models",
|
|
48
|
+
"types",
|
|
49
|
+
"schemas"
|
|
50
|
+
],
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "git+https://github.com/3sixtyglobal/vault/issues"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://3sixty.global"
|
|
55
|
+
}
|