fix compiling issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { getStruct } from '../Util/StructReferences'
|
||||
import BinaryDecoder from '../Util/Binary/Decoder'
|
||||
import { getStruct } from '../Util/StructReferences.js'
|
||||
import BinaryDecoder from '../Binary/Decoder.js'
|
||||
|
||||
class MissingEntry {
|
||||
constructor (decoder, missing, struct) {
|
||||
@@ -39,7 +39,7 @@ function _integrateRemoteStructHelper (y, struct) {
|
||||
}
|
||||
}
|
||||
|
||||
export default function integrateRemoteStructs (decoder, encoder, y) {
|
||||
export function integrateRemoteStructs (decoder, encoder, y) {
|
||||
while (decoder.length !== decoder.pos) {
|
||||
let decoderPos = decoder.pos
|
||||
let reference = decoder.readVarUint()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import BinaryDecoder from '../Utily/Binary/Decoder'
|
||||
import { stringifyUpdate } from './update'
|
||||
import { stringifySyncStep1 } from './syncStep1'
|
||||
import { stringifySyncStep2 } from './syncStep2'
|
||||
import BinaryDecoder from '../Binary/Decoder.js'
|
||||
import { stringifyUpdate } from './update.js'
|
||||
import { stringifySyncStep1 } from './syncStep1.js'
|
||||
import { stringifySyncStep2 } from './syncStep2.js'
|
||||
|
||||
export function messageToString (buffer) {
|
||||
let decoder = new BinaryDecoder(buffer)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import BinaryEncoder from './Util/Binary/Encoder.js'
|
||||
import BinaryEncoder from '../Binary/Encoder.js'
|
||||
|
||||
export function stringifySyncStep1 (decoder, strBuilder) {
|
||||
let auth = decoder.readVarString()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import integrateRemoteStructs from './integrateRemoteStructs'
|
||||
import { integrateRemoteStructs } from './integrateRemoteStructs.js'
|
||||
import { stringifyUpdate } from './update.js'
|
||||
import ID from '../Util/ID'
|
||||
import ID from '../Util/ID.js'
|
||||
|
||||
export function stringifySyncStep2 (decoder, strBuilder) {
|
||||
strBuilder.push(' - auth: ' + decoder.readVarString() + '\n')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import { getStruct } from '../Util/StructReferences'
|
||||
import { getStruct } from '../Util/StructReferences.js'
|
||||
|
||||
export function stringifyUpdate (decoder, strBuilder) {
|
||||
while (decoder.length !== decoder.pos) {
|
||||
@@ -16,4 +16,4 @@ export function stringifyUpdate (decoder, strBuilder) {
|
||||
}
|
||||
}
|
||||
|
||||
export { integrateRemoteStructs as readUpdate } from './integrateRemoteStructs'
|
||||
export { integrateRemoteStructs as readUpdate } from './integrateRemoteStructs.js'
|
||||
|
||||
Reference in New Issue
Block a user