mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-22 04:11:34 +00:00
More tests
This commit is contained in:
@ -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": {
|
||||
|
@ -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';
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user