diff --git a/wasm/dm.go b/wasm/dm.go index ef2b9cc8e85ce0980eb0e2113d7789654280c698..dc4b465cbd031a7bb4d481fa6026934987de87dd 100644 --- a/wasm/dm.go +++ b/wasm/dm.go @@ -97,11 +97,6 @@ func (emb *dmReceiverBuilder) Build(path string) bindings.DMReceiver { // NewDMClient creates a new [DMClient] from a new private // identity ([channel.PrivateIdentity]). // -// This is for creating a manager for an identity for the first time. For -// generating a new one channel identity, use [GenerateChannelIdentity]. To -// reload this channel manager, use [LoadDMClient], passing in the -// storage tag retrieved by [DMClient.GetStorageTag]. -// // Parameters: // - args[0] - ID of [Cmix] object in tracker (int). This can be retrieved // using [Cmix.GetID]. @@ -132,11 +127,6 @@ func NewDMClient(_ js.Value, args []js.Value) any { // private identity ([channel.PrivateIdentity]) and using indexedDbWorker as a backend // to manage the event model. // -// This is for creating a manager for an identity for the first time. For -// generating a new one channel identity, use [GenerateChannelIdentity]. To -// reload this channel manager, use [LoadDMClientWithIndexedDb], passing -// in the storage tag retrieved by [DMClient.GetStorageTag]. -// // This function initialises an indexedDbWorker database. // // Parameters: @@ -181,11 +171,6 @@ func NewDMClientWithIndexedDb(_ js.Value, args []js.Value) any { // backend to manage the event model. However, the data is written in plain text // and not encrypted. It is recommended that you do not use this in production. // -// This is for creating a manager for an identity for the first time. For -// generating a new one channel identity, use [GenerateChannelIdentity]. To -// reload this channel manager, use [LoadDMClientWithIndexedDbUnsafe], -// passing in the storage tag retrieved by [DMClient.GetStorageTag]. -// // This function initialises an indexedDbWorker database. // // Parameters: