Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ar-nelson/osmosis-js
/ functions
Functions
290 in github.com/ar-nelson/osmosis-js
⨍
Functions
290
◇
Types & classes
126
↓ 2 callers
Method
close
()
osmosis-net-js/src/encrypted-socket.ts:311
↓ 2 callers
Method
connectPeer
(peer: VisiblePeer)
osmosis-net-js/src/osmosis-connection.ts:572
↓ 2 callers
Method
decodeBuffer
(zstd: Zstd)
osmosis-net-js/src/encrypted-socket.ts:134
↓ 2 callers
Method
delete
()
osmosis-store-js/src/flat-files-save-state.ts:80
↓ 2 callers
Method
deleteByPath
(path: BinaryPath)
osmosis-store-js/src/json-source.ts:35
↓ 2 callers
Method
deleteByPath
(path: BinaryPath)
osmosis-store-js/src/overlay-json-source.ts:68
↓ 2 callers
Method
deleteChildren
(path: BinaryPath)
osmosis-store-js/src/overlay-json-source.ts:52
↓ 2 callers
Function
deleteParentKey
(path: BinaryPath, dest: MutableJsonSource)
osmosis-store-js/src/actions.ts:432
↓ 2 callers
Method
deserialize
({ pathToValue, pathToIds, idToPath, }: SerializedJsonSource)
osmosis-store-js/src/overlay-json-source.ts:172
↓ 2 callers
Function
enumerate
( path: BinaryPath, struct: JsonStructure )
osmosis-store-js/src/json-source.ts:93
↓ 2 callers
Function
exprToString
(expr: JsonPathExpr, parens = true)
osmosis-store-js/src/jsonpath.ts:895
↓ 2 callers
Method
fail
(error: Error)
osmosis-js/src/async-queue-map.ts:53
↓ 2 callers
Method
findMissingOps
( localIndexes: { readonly [author: string]: number }, remoteIndexes: { readonly [author: string]: num
osmosis-js/src/osmosis.ts:200
↓ 2 callers
Method
generateKeys
()
osmosis-net-js/test/socket-test-helper.ts:56
↓ 2 callers
Method
getIdsByPath
(path: BinaryPath)
osmosis-store-js/src/overlay-json-source.ts:101
↓ 2 callers
Function
idToBinary
(id: Id)
osmosis-store-js/src/id.ts:43
↓ 2 callers
Function
interpolateExpr
([car, ...cdr]: readonly [string, ...any[]])
osmosis-store-js/src/jsonpath.ts:739
↓ 2 callers
Function
jitter
(time: number)
osmosis-net-js/src/peer-finder.ts:65
↓ 2 callers
Function
makeServers
( config: Omit< RpcServerConfig<M>, 'port' | 'peerId' | 'privateKey' | 'publicKey' > )
osmosis-net-js/test/rpc-sockets.spec.ts:26
↓ 2 callers
Function
mapAction
( action: Action<T>, f: (path: T) => U )
osmosis-store-js/src/actions.ts:479
↓ 2 callers
Method
mergeChild
(child: OverlayJsonSource)
osmosis-store-js/src/overlay-json-source.ts:142
↓ 2 callers
Method
openSyncSession
(peerId: string)
osmosis-js/src/osmosis.ts:222
↓ 2 callers
Method
pair
(peerId: string, secret: string)
osmosis-net-js/src/osmosis-connection.ts:481
↓ 2 callers
Method
peerIdToPublicKey
(peerId: string)
osmosis-net-js/src/osmosis-connection.ts:164
↓ 2 callers
Function
queryPaths1
( source: JsonSource, segment: JsonPathSegment, path: BinaryPath )
osmosis-store-js/src/jsonpath.ts:316
↓ 2 callers
Method
reportFaultyInterface
(address: string)
osmosis-net-js/src/peer-finder.ts:254
↓ 2 callers
Method
savePointUpdated
( savePoint: SavePoint & { data: OverlayJsonSource } )
osmosis-store-js/src/in-memory-save-state.ts:134
↓ 2 callers
Method
scanInterfaces
()
osmosis-net-js/src/peer-finder.ts:157
↓ 2 callers
Method
serialize
()
osmosis-store-js/src/overlay-json-source.ts:154
↓ 2 callers
Function
serializePeerConfig
(config: PeerConfig)
osmosis-net-js/src/peer-config.ts:33
↓ 2 callers
Function
storeSync
( steps: [Action<string>[], Action<string>[]][], store1 = new Store(new InMemorySaveState({ metadata:
osmosis-store-js/test/store.spec.ts:266
↓ 2 callers
Method
takeNext
()
osmosis-store-js/src/flat-files-save-state.ts:85
↓ 1 callers
Function
anchorPathToId
( source: JsonSource, path: CompiledJsonPath )
osmosis-store-js/src/jsonpath.ts:1006
↓ 1 callers
Function
canMatchAbsolutePath
( queryPath: CompiledJsonPath, absolutePath: PathArray )
osmosis-store-js/src/jsonpath.ts:654
↓ 1 callers
Method
cancel
()
osmosis-store-js/src/types.ts:18
↓ 1 callers
Function
compileJsonPathAction
( action: JsonPathAction )
osmosis-store-js/src/jsonpath.ts:881
↓ 1 callers
Function
compileUncachedJsonPath
( path: JsonPath )
osmosis-store-js/src/jsonpath.ts:862
↓ 1 callers
Function
compiled
(vars)
osmosis-store-js/src/jsonpath.ts:868
↓ 1 callers
Method
compress
(buf: Uint8Array)
osmosis-net-js/src/encrypted-socket.ts:17
↓ 1 callers
Method
decompress
(buf: Uint8Array)
osmosis-net-js/src/encrypted-socket.ts:18
↓ 1 callers
Function
deserializePeerConfig
(config: JsonPeerConfig)
osmosis-net-js/src/peer-config.ts:45
↓ 1 callers
Method
expireId
(id: Id, isDeleted = true)
osmosis-store-js/src/json-cache.ts:96
↓ 1 callers
Method
getById
(id: Id)
osmosis-store-js/src/json-source.ts:25
↓ 1 callers
Method
getByPath
(path: BinaryPath)
osmosis-store-js/src/json-cache.ts:27
↓ 1 callers
Method
getPathById
(id: Id)
osmosis-store-js/src/json-cache.ts:46
↓ 1 callers
Method
getPathById
(id: Id)
osmosis-store-js/src/overlay-json-source.ts:91
↓ 1 callers
Method
heartbeatLoop
(interfaceAddress: string)
osmosis-net-js/src/peer-finder.ts:275
↓ 1 callers
Function
heartbeatPacket
(config: PeerConfig, gatewayPort: number)
osmosis-net-js/src/peer-finder.ts:48
↓ 1 callers
Function
heartbeatPortFromAppId
(appId: string)
osmosis-net-js/src/peer-finder.ts:69
↓ 1 callers
Method
initMetadata
(initializer: () => Promise<Metadata>)
osmosis-store-js/src/in-memory-save-state.ts:395
↓ 1 callers
Function
isJsonRpc
(value: any)
osmosis-net-js/src/json-rpc.ts:45
↓ 1 callers
Function
jsonToSource
( json: Json, source: MutableJsonSource, root: BinaryPath = EMPTY_PATH )
osmosis-store-js/src/json-source.ts:127
↓ 1 callers
Function
loadFlatFiles
( rootPath: string )
osmosis-store-js/src/flat-files-save-state.ts:29
↓ 1 callers
Function
longMessage
()
osmosis-net-js/test/encrypted-socket.spec.ts:19
↓ 1 callers
Function
mapActionToList
( action: Action<T>, f: (path: T) => Promise<U[]> )
osmosis-store-js/src/actions.ts:497
↓ 1 callers
Function
moveJson
( from: BinaryPath, to: BinaryPath, source: MutableJsonSource, dest: MutableJsonSource = source )
osmosis-store-js/src/json-source.ts:156
↓ 1 callers
Method
opsRange
( earliestId: Id | null, latestId: Id | null )
osmosis-store-js/src/in-memory-save-state.ts:267
↓ 1 callers
Function
pathIndexToBinary
(index: number | string)
osmosis-store-js/src/binary-path.ts:8
↓ 1 callers
Method
range
(from: K, to?: K)
osmosis-store-js/src/sorted-array-map.ts:66
↓ 1 callers
Method
read
(data: Buffer)
osmosis-net-js/src/encrypted-socket.ts:115
↓ 1 callers
Method
receiveHeartbeat
( packet: Buffer, remoteAddress: string, localAddress: string )
osmosis-net-js/src/peer-finder.ts:328
↓ 1 callers
Method
receiveSyncSession
( peerId: string, session: string, remoteSummary: SerializedStateSummary )
osmosis-js/src/osmosis.ts:325
↓ 1 callers
Method
recvMethodCall
( method: M, params: Parameters<Methods[M]>[0], id: string | number | null = null )
osmosis-net-js/src/rpc-sockets.ts:210
↓ 1 callers
Function
reduceAsync
( xs: readonly T[], init: U, f: (u: U, t: T, i: number) => Promise<U> )
osmosis-store-js/src/utils.ts:6
↓ 1 callers
Method
rejectPairRequest
(peerId: string)
osmosis-net-js/src/osmosis-connection.ts:566
↓ 1 callers
Method
removeSavePointAfter
( index: number )
osmosis-store-js/src/in-memory-save-state.ts:242
↓ 1 callers
Method
rewind
(latestId: Id)
osmosis-store-js/src/in-memory-save-state.ts:340
↓ 1 callers
Method
savePointAdded
( savePoint: SavePoint & { data: OverlayJsonSource } )
osmosis-store-js/src/in-memory-save-state.ts:128
↓ 1 callers
Method
savePointDeleted
(id: Id)
osmosis-store-js/src/in-memory-save-state.ts:140
↓ 1 callers
Method
savePointUpdated
( savePoint: SavePoint & { data: OverlayJsonSource } )
osmosis-store-js/src/flat-files-save-state.ts:207
↓ 1 callers
Method
setMetadata
(metadata: Metadata)
osmosis-store-js/src/in-memory-save-state.ts:386
↓ 1 callers
Function
splitIntoSingularPaths
( path: CompiledJsonPath )
osmosis-store-js/src/jsonpath.ts:703
↓ 1 callers
Method
start
()
osmosis-net-js/src/osmosis-connection.ts:126
↓ 1 callers
Method
subscribe
(listener: () => void)
osmosis-store-js/src/meta-store.ts:19
↓ 1 callers
Method
updateSavePoints
()
osmosis-store-js/src/in-memory-save-state.ts:207
↓ 1 callers
Method
writeLoop
()
osmosis-store-js/src/flat-files-save-state.ts:95
Function
$
(o)
osmosis-store-js/src/jsonpath.grammar.ts:19
Method
addIdToPath
(path: BinaryPath, id: Id)
osmosis-store-js/src/json-source.ts:36
Method
addIdToPath
(path: BinaryPath, id: Id)
osmosis-store-js/src/overlay-json-source.ts:122
Function
binaryCompare
(a: Buffer, b: Buffer)
osmosis-store-js/src/binary-path.ts:133
Function
binaryEqual
(a: Uint8Array, b: Uint8Array)
osmosis-js/src/utils.ts:1
Method
cancel
()
osmosis-store-js/src/meta-store.ts:58
Method
close
()
osmosis-net-js/src/rpc-sockets.ts:115
Method
close
()
osmosis-net-js/src/rpc-sockets.ts:362
Function
compileSegment
( segment: readonly [string, ...any[]] )
osmosis-store-js/src/jsonpath.ts:773
Method
config
()
osmosis-net-js/src/osmosis-connection.ts:118
Method
connection
(socket: RpcSocket<Methods>)
osmosis-net-js/src/rpc-sockets.ts:53
Method
constructor
(private readonly config: OsmosisConfig)
osmosis-js/src/osmosis.ts:105
Method
constructor
(bufferSize = 1000)
osmosis-js/src/metadata/log-metadata-source.ts:10
Method
constructor
(private _initialState: Json)
osmosis-js/src/metadata/event-metadata-source.ts:7
Method
constructor
(initialState: Json)
osmosis-store-js/test/meta-store.spec.ts:13
Method
constructor
(private readonly sources: Record<string, MetadataSource>)
osmosis-store-js/src/meta-store.ts:23
Method
constructor
(private readonly source: JsonSource)
osmosis-store-js/src/json-cache.ts:25
Method
constructor
(message: string)
osmosis-store-js/src/jsonpath.ts:155
Method
constructor
(public readonly saveState: SaveState<{ readonly peerId: Uuid }>)
osmosis-store-js/src/store.ts:33
Method
constructor
(args: Partial<SerializedSaveState<Metadata>> = {})
osmosis-store-js/src/in-memory-save-state.ts:57
Method
constructor
(readonly json: Json)
osmosis-store-js/src/json-source.ts:57
Method
constructor
(public readonly filename: string)
osmosis-store-js/src/flat-files-save-state.ts:66
Method
constructor
(public readonly dbPath = 'osmosis-data')
osmosis-store-js/src/flat-files-save-state.ts:131
Method
constructor
(private readonly compare: (a: K, b: K) => number)
osmosis-store-js/src/sorted-array-map.ts:6
← previous
next →
101–200 of 290, ranked by callers