@fanoutio/grip
Advanced tools
Changelog
[4.3.0] - 2024-10-14
@fanoutio/grip/node
are now available on the main @fanoutio/grip
export when the condition "node"
is present when
resolving imports.Changelog
[4.2.0] - 2024-03-25
@fanoutio/grip
with Bun,
Deno, Cloudflare Workers, Remix, and Next.js backend applicationsChangelog
[4.1.0] - 2024-03-18
Changelog
[4.0.2] - 2024-03-06
127.0.0.1
instead of localhost
Changelog
[4.0.1] - 2024-03-04
parseGripUri
second parameter can have undefined
values and they will successfully be
ignored.Changelog
[4.0.0] - 2024-03-01
fetch()
and crypto.subtle
).
node:crypto
.isWsOverHttp()
and getWebSocketContextFromReq()
functions now work with
Request
objects rather than Node.js's IncomingMessage
objects."@fanoutio/grip/node"
.
isNodeReqWsOverHttp()
and getWebSocketContextFromNodeReq()
functions work with
Node.js's IncomingMessage
objects.GRIP_URL
now allows key
and verify-key
query parameters to be provided as:
JsonWebKey
base64:
) of Uint8Array
, JSON-stringified JsonWebKey
,
or PEM file (SPKI or PKCS#8).parseGripUri
now accepts a second parameter which can be used to merge parameters into a IGripConfig
.validateGripSig
is now available on Publisher
, allowing you to easily check a
Grip-Sig
header against the publisher clients registered with a Publisher
.Publisher
can now be configured with a custom channel prefix that will be applied
when publishing messages.Publisher
can now be configured with an override fetch()
function that will be
called when publishing messages.