fix(core): update

This commit is contained in:
2023-03-29 13:45:33 +02:00
parent 6f4be3baaa
commit 4e8ea21df2
5 changed files with 738 additions and 715 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedsocket',
version: '2.0.20',
version: '2.0.21',
description: 'a typedrequest extension supporting websockets'
}

View File

@ -1 +1,7 @@
import * as plugins from './typedsocket.plugins.js';
export * from './typedsocket.classes.typedsocket.js';
export const useWindowLocationOriginUrl = () => {
const windowLocationResult = plugins.smarturl.Smarturl.createFromUrl(globalThis.location.origin).toString();
return windowLocationResult;
}

View File

@ -9,5 +9,6 @@ import * as isohash from '@pushrocks/isohash';
import * as smartjson from '@pushrocks/smartjson';
import * as smartsocket from '@pushrocks/smartsocket';
import * as smartstring from '@pushrocks/smartstring';
import * as smarturl from '@pushrocks/smarturl';
export { isohash, smartjson, smartsocket, smartstring };
export { isohash, smartjson, smartsocket, smartstring, smarturl };