@the-ai-company/cbio-node-runtime 1.67.0 → 1.68.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/dist/clients/owner/contracts.d.ts +1 -0
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime/owner-session.d.ts +7 -7
- package/dist/runtime/owner-session.js +15 -10
- package/dist/runtime/owner-session.js.map +1 -1
- package/dist/vault-core/contracts.d.ts +1 -0
- package/dist/vault-core/contracts.js.map +1 -1
- package/dist/vault-core/core.js +11 -0
- package/dist/vault-core/core.js.map +1 -1
- package/dist/vault-core/defaults.js +2 -0
- package/dist/vault-core/defaults.js.map +1 -1
- package/dist/vault-core/persistence.js +8 -0
- package/dist/vault-core/persistence.js.map +1 -1
- package/docs/MIGRATION-1.51.md +1 -1
- package/docs/api/README.md +4 -4
- package/docs/api/classes/IdentityError.md +1 -1
- package/docs/api/classes/OwnerClientError.md +1 -1
- package/docs/api/classes/PersistentVaultAgentIdentityRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultAgentSecretGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultAuditLog.md +1 -1
- package/docs/api/classes/PersistentVaultSecretCustody.md +1 -1
- package/docs/api/classes/PersistentVaultSecretDestinationGrantRegistry.md +1 -1
- package/docs/api/classes/PersistentVaultSecretRepository.md +1 -1
- package/docs/api/classes/VaultCore.md +1 -1
- package/docs/api/classes/VaultCoreError.md +1 -1
- package/docs/api/enumerations/AuditOperation.md +1 -1
- package/docs/api/enumerations/DispatchStatus.md +1 -1
- package/docs/api/enumerations/IdentityErrorCode.md +1 -1
- package/docs/api/enumerations/OwnerClientErrorCode.md +1 -1
- package/docs/api/functions/createAgentClient.md +1 -1
- package/docs/api/functions/createIdentity.md +1 -1
- package/docs/api/functions/createOwnerClient.md +1 -1
- package/docs/api/functions/createPersistentVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVault.md +1 -1
- package/docs/api/functions/createVaultCore.md +1 -1
- package/docs/api/functions/createVaultCoreDependencies.md +1 -1
- package/docs/api/functions/createVaultService.md +1 -1
- package/docs/api/functions/createWorkspaceStorage.md +1 -1
- package/docs/api/functions/deriveRootAgentId.md +1 -1
- package/docs/api/functions/deriveVaultWorkingKeyFromPassword.md +1 -1
- package/docs/api/functions/getDefaultWorkspaceDir.md +1 -1
- package/docs/api/functions/handleVaultAgentControlHttp.md +1 -1
- package/docs/api/functions/handleVaultHttpDispatch.md +1 -1
- package/docs/api/functions/initializeVaultCustody.md +1 -1
- package/docs/api/functions/listVaults.md +1 -1
- package/docs/api/functions/openOwnerSession.md +37 -0
- package/docs/api/functions/readVaultProfile.md +1 -1
- package/docs/api/functions/recoverVault.md +1 -1
- package/docs/api/functions/recoverVaultWorkingKey.md +1 -1
- package/docs/api/functions/restoreIdentity.md +1 -1
- package/docs/api/functions/updateVaultMetadata.md +1 -1
- package/docs/api/functions/writeVaultProfile.md +1 -1
- package/docs/api/interfaces/AgentClient.md +1 -1
- package/docs/api/interfaces/AgentDispatchIntent.md +1 -1
- package/docs/api/interfaces/AgentDispatchTransport.md +1 -1
- package/docs/api/interfaces/AgentIdentity.md +1 -1
- package/docs/api/interfaces/AgentIdentityRecord.md +1 -1
- package/docs/api/interfaces/AgentRequestResult.md +1 -1
- package/docs/api/interfaces/AgentRuntimeManifest.md +1 -1
- package/docs/api/interfaces/AgentSecretGrant.md +1 -1
- package/docs/api/interfaces/AgentSigner.md +1 -1
- package/docs/api/interfaces/AgentVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/AgentVisibleSecretRecord.md +1 -1
- package/docs/api/interfaces/AuditEntry.md +1 -1
- package/docs/api/interfaces/CbioRuntime.md +39 -39
- package/docs/api/interfaces/CreateAgentClientOptions.md +1 -1
- package/docs/api/interfaces/CreateIdentityOptions.md +1 -1
- package/docs/api/interfaces/CreateOwnerClientOptions.md +1 -1
- package/docs/api/interfaces/CreatePersistentVaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/CreateVaultOptions.md +1 -1
- package/docs/api/interfaces/CreatedVault.md +1 -1
- package/docs/api/interfaces/DefaultPolicyEngineOptions.md +1 -1
- package/docs/api/interfaces/DispatchAuthorization.md +1 -1
- package/docs/api/interfaces/DispatchInstruction.md +1 -1
- package/docs/api/interfaces/DispatchRequest.md +1 -1
- package/docs/api/interfaces/DispatchResult.md +1 -1
- package/docs/api/interfaces/IStorageProvider.md +1 -1
- package/docs/api/interfaces/InitializeVaultCustodyOptions.md +1 -1
- package/docs/api/interfaces/InitializedVaultCustody.md +1 -1
- package/docs/api/interfaces/{CreateOwnerSessionOptions.md → OpenOwnerSessionOptions.md} +2 -2
- package/docs/api/interfaces/OwnerAgentProvisionResult.md +1 -1
- package/docs/api/interfaces/OwnerClient.md +1 -1
- package/docs/api/interfaces/OwnerCreateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRemoveSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerRequestRecord.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionConfirmation.md +1 -1
- package/docs/api/interfaces/OwnerSensitiveActionContext.md +1 -1
- package/docs/api/interfaces/OwnerSession.md +16 -16
- package/docs/api/interfaces/OwnerUpdateSecretInput.md +1 -1
- package/docs/api/interfaces/OwnerVisibleRequestRecord.md +1 -1
- package/docs/api/interfaces/RecoverVaultOptions.md +2 -2
- package/docs/api/interfaces/RecoveredVault.md +1 -1
- package/docs/api/interfaces/RequestRecord.md +1 -1
- package/docs/api/interfaces/RestoreIdentityOptions.md +1 -1
- package/docs/api/interfaces/SecretAlias.md +1 -1
- package/docs/api/interfaces/SecretDestinationGrant.md +1 -1
- package/docs/api/interfaces/SecretId.md +1 -1
- package/docs/api/interfaces/SecretRecord.md +1 -1
- package/docs/api/interfaces/Signer.md +1 -1
- package/docs/api/interfaces/VaultApproveDispatchInput.md +1 -1
- package/docs/api/interfaces/VaultAuditQueryInput.md +7 -1
- package/docs/api/interfaces/VaultCoreDependenciesOptions.md +1 -1
- package/docs/api/interfaces/VaultCreateAgentInput.md +1 -1
- package/docs/api/interfaces/VaultExportSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGetRequestInput.md +1 -1
- package/docs/api/interfaces/VaultGrantAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultGrantSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultId.md +1 -1
- package/docs/api/interfaces/VaultImportAgentInput.md +1 -1
- package/docs/api/interfaces/VaultIssueSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultListAgentsInput.md +1 -1
- package/docs/api/interfaces/VaultListGrantsInput.md +1 -1
- package/docs/api/interfaces/VaultListRequestsInput.md +1 -1
- package/docs/api/interfaces/VaultListSecretsInput.md +1 -1
- package/docs/api/interfaces/VaultMetadata.md +1 -1
- package/docs/api/interfaces/VaultObject.md +1 -1
- package/docs/api/interfaces/VaultPrincipal.md +1 -1
- package/docs/api/interfaces/VaultProfile.md +1 -1
- package/docs/api/interfaces/VaultReadAgentPrivateKeyInput.md +1 -1
- package/docs/api/interfaces/VaultReadSecretPlaintextInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeAgentSecretInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSecretDestinationInput.md +1 -1
- package/docs/api/interfaces/VaultRevokeSessionTokenInput.md +1 -1
- package/docs/api/interfaces/VaultService.md +1 -1
- package/docs/api/interfaces/VaultUpdateAgentInput.md +1 -1
- package/docs/api/type-aliases/AgentId.md +1 -1
- package/docs/api/type-aliases/CbioRuntimeModule.md +1 -1
- package/docs/api/type-aliases/DispatchApprovalDecision.md +1 -1
- package/docs/api/type-aliases/GrantStatus.md +1 -1
- package/docs/api/type-aliases/SecretLifecycleStatus.md +1 -1
- package/docs/api/type-aliases/VaultPrincipalKind.md +1 -1
- package/docs/api/variables/DEFAULT_VAULT_KEY_CUSTODY_BLOB_KEY.md +1 -1
- package/docs/es/README.md +2 -2
- package/docs/fr/README.md +2 -2
- package/docs/ja/README.md +2 -2
- package/docs/ko/README.md +2 -2
- package/docs/pt/README.md +2 -2
- package/docs/zh/README.md +5 -5
- package/package.json +2 -2
- package/docs/api/functions/createOwnerSession.md +0 -37
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.68.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
|
|
25
25
|
## Methods
|
|
26
26
|
|
|
27
|
-
###
|
|
27
|
+
### getOwnerClient()
|
|
28
28
|
|
|
29
|
-
> **
|
|
29
|
+
> **getOwnerClient**(): `Promise`\<[`OwnerClient`](OwnerClient.md)\>
|
|
30
30
|
|
|
31
31
|
#### Returns
|
|
32
32
|
|
|
@@ -34,39 +34,39 @@
|
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
37
|
-
###
|
|
37
|
+
### getVault()
|
|
38
38
|
|
|
39
|
-
> **
|
|
39
|
+
> **getVault**(): `Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
40
40
|
|
|
41
41
|
#### Returns
|
|
42
42
|
|
|
43
|
-
`
|
|
43
|
+
`Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
###
|
|
47
|
+
### invalidate()
|
|
48
48
|
|
|
49
|
-
> **
|
|
49
|
+
> **invalidate**(): `void`
|
|
50
50
|
|
|
51
51
|
#### Returns
|
|
52
52
|
|
|
53
|
-
`
|
|
53
|
+
`void`
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
|
-
###
|
|
57
|
+
### isValid()
|
|
58
58
|
|
|
59
|
-
> **
|
|
59
|
+
> **isValid**(): `boolean`
|
|
60
60
|
|
|
61
61
|
#### Returns
|
|
62
62
|
|
|
63
|
-
`
|
|
63
|
+
`boolean`
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
|
-
###
|
|
67
|
+
### reloadVault()
|
|
68
68
|
|
|
69
|
-
> **
|
|
69
|
+
> **reloadVault**(): `Promise`\<[`RecoveredVault`](RecoveredVault.md)\>
|
|
70
70
|
|
|
71
71
|
#### Returns
|
|
72
72
|
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
|
|
75
75
|
***
|
|
76
76
|
|
|
77
|
-
###
|
|
77
|
+
### withOwnerClient()
|
|
78
78
|
|
|
79
|
-
> **
|
|
79
|
+
> **withOwnerClient**\<`T`\>(`callback`): `Promise`\<`T`\>
|
|
80
80
|
|
|
81
81
|
#### Type Parameters
|
|
82
82
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.68.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
13
|
-
- [`
|
|
13
|
+
- [`OpenOwnerSessionOptions`](OpenOwnerSessionOptions.md)
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.
|
|
1
|
+
[**CBIO Node Runtime Agent API v1.68.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
+
### root\_agent\_id?
|
|
22
|
+
|
|
23
|
+
> `optional` **root\_agent\_id?**: `string`
|
|
24
|
+
|
|
25
|
+
***
|
|
26
|
+
|
|
21
27
|
### secret\_alias?
|
|
22
28
|
|
|
23
29
|
> `optional` **secret\_alias?**: `string`
|
package/docs/es/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
createVault,
|
|
23
23
|
listVaults,
|
|
24
24
|
recoverVault,
|
|
25
|
-
|
|
25
|
+
openOwnerSession,
|
|
26
26
|
createOwnerClient,
|
|
27
27
|
createAgentClient,
|
|
28
28
|
FsStorageProvider,
|
|
@@ -40,7 +40,7 @@ Ruta principal recomendada para vault persistente:
|
|
|
40
40
|
|
|
41
41
|
- crear el vault persistente con `createVault(...)`
|
|
42
42
|
- recuperar el vault persistente con `recoverVault(...)` usando `vaultId` + `password`
|
|
43
|
-
- para GUIs o procesos de larga duración, conservar `
|
|
43
|
+
- para GUIs o procesos de larga duración, conservar `openOwnerSession(...)` en lugar de cachear un `createOwnerClient(...)` crudo
|
|
44
44
|
- usar `createOwnerClient(...)` solo para scripts breves o tareas puntuales en el runtime actual
|
|
45
45
|
|
|
46
46
|
La API antigua centrada en `CbioIdentity` ya no es la superficie principal del producto.
|
package/docs/fr/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
createVault,
|
|
23
23
|
listVaults,
|
|
24
24
|
recoverVault,
|
|
25
|
-
|
|
25
|
+
openOwnerSession,
|
|
26
26
|
createOwnerClient,
|
|
27
27
|
createAgentClient,
|
|
28
28
|
FsStorageProvider,
|
|
@@ -40,7 +40,7 @@ Chemin principal recommande pour un vault persistant :
|
|
|
40
40
|
|
|
41
41
|
- créer le coffre persistant avec `createVault(...)`
|
|
42
42
|
- restaurer le coffre persistant avec `recoverVault(...)` via `vaultId` + `password`
|
|
43
|
-
- pour les GUIs ou processus longs, conserver `
|
|
43
|
+
- pour les GUIs ou processus longs, conserver `openOwnerSession(...)` plutôt qu'un `createOwnerClient(...)` brut en cache
|
|
44
44
|
- réserver `createOwnerClient(...)` aux scripts courts ou aux tâches ponctuelles dans le runtime courant
|
|
45
45
|
|
|
46
46
|
L'ancienne API centree sur `CbioIdentity` n'est plus la surface principale du produit.
|
package/docs/ja/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
createVault,
|
|
23
23
|
listVaults,
|
|
24
24
|
recoverVault,
|
|
25
|
-
|
|
25
|
+
openOwnerSession,
|
|
26
26
|
createOwnerClient,
|
|
27
27
|
createAgentClient,
|
|
28
28
|
FsStorageProvider,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
|
|
41
41
|
- `createVault(...)` で persistent vault を作成する
|
|
42
42
|
- `recoverVault(...)` で `vaultId` と `password` を使って persistent vault を復旧する
|
|
43
|
-
- GUI や長寿命プロセスでは、生の `createOwnerClient(...)` をキャッシュせず `
|
|
43
|
+
- GUI や長寿命プロセスでは、生の `createOwnerClient(...)` をキャッシュせず `openOwnerSession(...)` を保持する
|
|
44
44
|
- `createOwnerClient(...)` は短命スクリプトやその runtime 限定の単発処理に使う
|
|
45
45
|
|
|
46
46
|
旧 `CbioIdentity` 中心 API は、もはや主要な公開面ではありません。
|
package/docs/ko/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
createVault,
|
|
23
23
|
listVaults,
|
|
24
24
|
recoverVault,
|
|
25
|
-
|
|
25
|
+
openOwnerSession,
|
|
26
26
|
createOwnerClient,
|
|
27
27
|
createAgentClient,
|
|
28
28
|
FsStorageProvider,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
|
|
41
41
|
- `createVault(...)` 로 persistent vault 를 생성합니다
|
|
42
42
|
- `recoverVault(...)` 로 `vaultId` 와 `password` 를 사용해 persistent vault 를 복구합니다
|
|
43
|
-
- GUI 나 장수명 프로세스에서는 raw `createOwnerClient(...)` 를 캐시하지 말고 `
|
|
43
|
+
- GUI 나 장수명 프로세스에서는 raw `createOwnerClient(...)` 를 캐시하지 말고 `openOwnerSession(...)` 을 유지합니다
|
|
44
44
|
- `createOwnerClient(...)` 는 현재 runtime 안의 짧은 스크립트나 일회성 작업에 사용합니다
|
|
45
45
|
|
|
46
46
|
이전 `CbioIdentity` 중심 API 는 더 이상 주요 제품 표면이 아닙니다.
|
package/docs/pt/README.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
createVault,
|
|
23
23
|
listVaults,
|
|
24
24
|
recoverVault,
|
|
25
|
-
|
|
25
|
+
openOwnerSession,
|
|
26
26
|
createOwnerClient,
|
|
27
27
|
createAgentClient,
|
|
28
28
|
FsStorageProvider,
|
|
@@ -40,7 +40,7 @@ Caminho principal recomendado para vault persistente:
|
|
|
40
40
|
|
|
41
41
|
- criar o cofre persistente com `createVault(...)`
|
|
42
42
|
- recuperar o cofre persistente com `recoverVault(...)` usando `vaultId` + `password`
|
|
43
|
-
- para GUIs ou processos longos, manter `
|
|
43
|
+
- para GUIs ou processos longos, manter `openOwnerSession(...)` em vez de cachear um `createOwnerClient(...)` bruto
|
|
44
44
|
- usar `createOwnerClient(...)` apenas para scripts curtos ou tarefas pontuais no runtime atual
|
|
45
45
|
|
|
46
46
|
A antiga API centrada em `CbioIdentity` nao e mais a superficie principal do produto.
|
package/docs/zh/README.md
CHANGED
|
@@ -51,21 +51,21 @@ const vault = await recoverVault(storage, {
|
|
|
51
51
|
|
|
52
52
|
对于 GUI 这类长生命周期进程,应该持有 `OwnerSession`,而不是长期缓存裸 `OwnerClient`。
|
|
53
53
|
|
|
54
|
-
`createOwnerClient(...)` 只负责基于当前 runtime 创建 owner client;它不应该跨 HMR、模块重载或 runtime 替换被长期复用。`OwnerSession` 会提供稳定的 SDK
|
|
54
|
+
`createOwnerClient(...)` 只负责基于当前 runtime 创建 owner client;它不应该跨 HMR、模块重载或 runtime 替换被长期复用。`OwnerSession` 会提供稳定的 SDK 句柄,并暴露清晰的读取方法。
|
|
55
55
|
|
|
56
56
|
```ts
|
|
57
|
-
import {
|
|
57
|
+
import { openOwnerSession } from '@the-ai-company/cbio-node-runtime';
|
|
58
58
|
|
|
59
|
-
const session =
|
|
59
|
+
const session = openOwnerSession(storage, {
|
|
60
60
|
vaultId: myVault.core.vaultId.value,
|
|
61
61
|
password: 'your-secure-password',
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
const createdAgent = await session.
|
|
64
|
+
const createdAgent = await session.withOwnerClient((client) =>
|
|
65
65
|
client.ownerCreateAgent({ nickname: '后台处理插件' })
|
|
66
66
|
);
|
|
67
67
|
|
|
68
|
-
const ownerClient = await session.
|
|
68
|
+
const ownerClient = await session.getOwnerClient();
|
|
69
69
|
const agents = await ownerClient.ownerListAgents();
|
|
70
70
|
// ownerListAgents() 会直接返回每个 agent 当前的 session_token
|
|
71
71
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@the-ai-company/cbio-node-runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.68.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"prepare": "npm run build && npm run build:docs",
|
|
33
33
|
"test": "npm run build && npm run test:types && npm run test:acceptance",
|
|
34
34
|
"test:types": "tsc -p tsconfig.type-tests.json --noEmit",
|
|
35
|
-
"test:acceptance": "node tests/smoke/runtime-surface.js && node tests/smoke/policy-and-persistence.js && node tests/smoke/persistent-runtime-security.js && node tests/smoke/replay-guard.js && node tests/smoke/security-guards.js"
|
|
35
|
+
"test:acceptance": "node tests/smoke/runtime-surface.js && node tests/smoke/policy-and-persistence.js && node tests/smoke/persistent-runtime-security.js && node tests/smoke/replay-guard.js && node tests/smoke/security-guards.js && node tests/smoke/audit-root-agent-activity.js"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|
|
38
38
|
"claw-biometric",
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
[**CBIO Node Runtime Agent API v1.67.0**](../README.md)
|
|
2
|
-
|
|
3
|
-
***
|
|
4
|
-
|
|
5
|
-
# Function: createOwnerSession()
|
|
6
|
-
|
|
7
|
-
## Call Signature
|
|
8
|
-
|
|
9
|
-
> **createOwnerSession**(`storage`, `options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
10
|
-
|
|
11
|
-
### Parameters
|
|
12
|
-
|
|
13
|
-
#### storage
|
|
14
|
-
|
|
15
|
-
`string` \| [`IStorageProvider`](../interfaces/IStorageProvider.md)
|
|
16
|
-
|
|
17
|
-
#### options
|
|
18
|
-
|
|
19
|
-
[`CreateOwnerSessionOptions`](../interfaces/CreateOwnerSessionOptions.md)
|
|
20
|
-
|
|
21
|
-
### Returns
|
|
22
|
-
|
|
23
|
-
[`OwnerSession`](../interfaces/OwnerSession.md)
|
|
24
|
-
|
|
25
|
-
## Call Signature
|
|
26
|
-
|
|
27
|
-
> **createOwnerSession**(`options`): [`OwnerSession`](../interfaces/OwnerSession.md)
|
|
28
|
-
|
|
29
|
-
### Parameters
|
|
30
|
-
|
|
31
|
-
#### options
|
|
32
|
-
|
|
33
|
-
[`CreateOwnerSessionOptions`](../interfaces/CreateOwnerSessionOptions.md)
|
|
34
|
-
|
|
35
|
-
### Returns
|
|
36
|
-
|
|
37
|
-
[`OwnerSession`](../interfaces/OwnerSession.md)
|