Repository navigation
v0.2.0-next.0
Pre-release
Pre-release
·
2 commits
to master
since this release
Minor Changes
-
9a09830: Support the new host SDK line (hosts on truapi 0.26 and 0.27). Optional peers are now
@parity/product-sdk-host>=0.29 <1,@parity/product-sdk-statement-store>=0.7.4 <1 and@parity/product-sdk-local-storage>=0.3.20 <1. The old^0.14/^0.6peers made npm refuse to install next to newer SDKs; the adapters are structural, so the wider range avoids a new release for every SDK minor. These hosts cannot talk to older SDKs, so this line does not work with older hosts; 0.1.x supports host SDK 0.14.x only.StatementMetacarriessignerHexandexpiry. UsesignerHexto accept only trusted senders. Since statement-store 0.6.16 the store dedupes per (signer, channel); a content-derived recordidstill collapses repeat deliveries.PublishLikeacceptsdecryptionKey. Publishing throughtransportFromStatementClientnow works with the SDK'sStatementStoreClient(itspublishwas called withoutthis).pushSinkFromNotificationManagermaps inputs with the newtoHostPushRequestby default, producing the host's{ text, deeplink?, scheduledAt? }request. If you pass your own mapper, it must return that shape; omit it to use the default.PushInputgains an optionalatfor scheduled pushes.- Persisted records and the default search text handle
bigintvalues (e.g.expiry). Decoding converts only exact{ "$big": "<digits>" }/{ "$u8": "<base64>" }tags and keeps a value that fails to decode, so one bad payload can no longer wipe the saved feed.