More tests

This commit is contained in:
Pavel Murygin
2023-02-08 23:25:37 +04:00
parent 8d27bc609b
commit 1053bee152
37 changed files with 7465 additions and 551 deletions

View File

@ -21,6 +21,14 @@
"./compilerSupport/v4": {
"import": "./dist/compilerSupport/v4.js",
"types": "./dist/compilerSupport/v4.d.ts"
},
"./dist/compilerSupport/v3": {
"import": "./dist/compilerSupport/v3.js",
"types": "./dist/compilerSupport/v3.d.ts"
},
"./dist/compilerSupport/v4": {
"import": "./dist/compilerSupport/v4.js",
"types": "./dist/compilerSupport/v4.d.ts"
}
},
"scripts": {

View File

@ -14,8 +14,8 @@
* limitations under the License.
*/
export { IFluencePeer } from './v3';
export { CallParams as CallParams$$ } from './v3';
export { IFluencePeer } from './v3.js';
export { CallParams as CallParams$$ } from './v3.js';
export {
ArrayType as ArrayType$$,
ArrowType as ArrowType$$,
@ -38,4 +38,4 @@ export {
UnlabeledProductType as UnlabeledProductType$$,
callFunction as callFunction$$,
registerService as registerService$$,
} from './v3';
} from './v3.js';

View File

@ -1,5 +1,8 @@
import type { IFluencePeer, PeerConfig } from '@fluencelabs/interface';
export { IFluencePeer, PeerConfig, CallParams } from '@fluencelabs/interface';
export { registerService$$, callFunction$$ } from './compilerSupport/v4.js';
const getPeerFromGlobalThis = (): IFluencePeer | undefined => {
// @ts-ignore
return globalThis.defaultPeer;