Expose connect from client-resources (#299)

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-11-09 12:38:30 +01:00 committed by GitHub
parent 3eecfbf060
commit 36f74d900f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 40 additions and 26 deletions

View File

@ -1,10 +0,0 @@
{
"changes": [
{
"packageName": "@anticrm/client-resources",
"comment": "",
"type": "none"
}
],
"packageName": "@anticrm/client-resources"
}

View File

@ -1,10 +0,0 @@
{
"changes": [
{
"packageName": "@anticrm/server-ws",
"comment": "",
"type": "none"
}
],
"packageName": "@anticrm/server-ws"
}

View File

@ -63,7 +63,7 @@
"@anticrm/recruit-resources": "~0.6.0",
"@anticrm/server-chunter": "~0.6.1",
"@anticrm/dev-server-chunter-resources": "~0.6.0",
"@anticrm/client-resources": "~0.6.3",
"@anticrm/client-resources": "~0.6.4",
"@anticrm/contact-assets": "~0.6.0",
"@anticrm/server-recruit": "~0.6.1",
"@anticrm/server-recruit-resources": "~0.6.0",

View File

@ -1,6 +1,18 @@
{
"name": "@anticrm/client-resources",
"entries": [
{
"version": "0.6.4",
"tag": "@anticrm/client-resources_v0.6.4",
"date": "Tue, 09 Nov 2021 11:00:07 GMT",
"comments": {
"patch": [
{
"comment": "Expose `connect`."
}
]
}
},
{
"version": "0.6.3",
"tag": "@anticrm/client-resources_v0.6.3",

View File

@ -1,6 +1,13 @@
# Change Log - @anticrm/client-resources
This log was last generated on Sat, 14 Aug 2021 09:12:06 GMT and should not be manually modified.
This log was last generated on Tue, 09 Nov 2021 11:00:07 GMT and should not be manually modified.
## 0.6.4
Tue, 09 Nov 2021 11:00:07 GMT
### Patches
- Expose `connect`.
## 0.6.3
Sat, 14 Aug 2021 09:12:06 GMT

View File

@ -1,6 +1,6 @@
{
"name": "@anticrm/client-resources",
"version": "0.6.3",
"version": "0.6.4",
"main": "lib/index.js",
"author": "Anticrm Platform Contributors",
"license": "EPL-2.0",

View File

@ -100,6 +100,9 @@ class Connection implements Storage {
}
}
/**
* @public
*/
export async function connect (url: string, handler: TxHander): Promise<Storage> {
return new Connection(url, handler)
}

View File

@ -16,10 +16,11 @@
import { createClient, Client, TxHander } from '@anticrm/core'
import { connect } from './connection'
export { connect }
/*!
* Anticrm Platform Client Dev Plugin
* © 2020 Anticrm Platform Contributors. All Rights Reserved.
* Anticrm Platform Client Plugin
* © 2020, 2021 Anticrm Platform Contributors. All Rights Reserved.
* Licensed under the Eclipse Public License, Version 2.0
*/
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type

View File

@ -1,6 +1,12 @@
{
"name": "@anticrm/server-ws",
"entries": [
{
"version": "0.6.11",
"tag": "@anticrm/server-ws_v0.6.11",
"date": "Tue, 09 Nov 2021 11:00:07 GMT",
"comments": {}
},
{
"version": "0.6.10",
"tag": "@anticrm/server-ws_v0.6.10",

View File

@ -1,6 +1,11 @@
# Change Log - @anticrm/server-ws
This log was last generated on Sat, 14 Aug 2021 09:12:06 GMT and should not be manually modified.
This log was last generated on Tue, 09 Nov 2021 11:00:07 GMT and should not be manually modified.
## 0.6.11
Tue, 09 Nov 2021 11:00:07 GMT
_Version update only_
## 0.6.10
Sat, 14 Aug 2021 09:12:06 GMT