mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 11:42:30 +03:00
Expose connect
from client-resources
(#299)
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
3eecfbf060
commit
36f74d900f
@ -1,10 +0,0 @@
|
||||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@anticrm/client-resources",
|
||||
"comment": "",
|
||||
"type": "none"
|
||||
}
|
||||
],
|
||||
"packageName": "@anticrm/client-resources"
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"changes": [
|
||||
{
|
||||
"packageName": "@anticrm/server-ws",
|
||||
"comment": "",
|
||||
"type": "none"
|
||||
}
|
||||
],
|
||||
"packageName": "@anticrm/server-ws"
|
||||
}
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -100,6 +100,9 @@ class Connection implements Storage {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @public
|
||||
*/
|
||||
export async function connect (url: string, handler: TxHander): Promise<Storage> {
|
||||
return new Connection(url, handler)
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user