Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xmtp/xmtp-js

Package Overview
Dependencies
Maintainers
7
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmtp/xmtp-js - npm Package Compare versions

Comparing version 11.0.0-beta.1 to 11.0.0-beta.2

22

dist/index.d.ts

@@ -200,2 +200,8 @@ import { signature, publicKey, ciphertext, privateKey, authn, keystore, conversationReference, messageApi, invitation, content, message } from '@xmtp/proto';

declare class LocalAuthenticator {
private identityKey;
constructor(identityKey: PrivateKey);
createToken(timestamp?: Date): Promise<Token>;
}
declare type Flatten<T> = {

@@ -439,2 +445,4 @@ [K in keyof T]: T[K];

declare type IsRetryable = (err?: Error) => boolean;
declare function retry<T extends (...arg0: any[]) => any>(fn: T, args: Parameters<T>, maxRetries: number, sleepTime: number, isRetryableFn?: IsRetryable, retryCount?: number): Promise<Awaited<ReturnType<T>>>;
declare type EnvelopeMapper<Out> = (env: messageApi.Envelope) => Promise<Out>;

@@ -607,2 +615,4 @@ declare function mapPaginatedStream<Out>(gen: AsyncGenerator<messageApi.Envelope[]>, mapper: EnvelopeMapper<Out>): AsyncGenerator<Out[]>;

privateKeyOverride?: Uint8Array;
basePersistence: Persistence;
disablePersistenceEncryption: boolean;
} & PreEventCallbackOptions;

@@ -738,2 +748,12 @@ /**

privateKeyOverride?: Uint8Array;
/**
* Override the base persistence provider.
* Defaults to LocalStoragePersistence, which is fine for most implementations
*/
basePersistence: Persistence;
/**
* Whether or not the persistence provider should encrypt the values.
* Only disable if you are using a secure datastore that already has encryption
*/
disablePersistenceEncryption: boolean;
};

@@ -1174,2 +1194,2 @@ declare type LegacyOptions = {

export { ApiClient, ApiUrls, AuthCache, Authenticator, Ciphertext, Client, ClientOptions, CodecRegistry, Composite, CompositeCodec, Compression, ContentCodec, ContentOptions, ContentTypeComposite, ContentTypeFallback, ContentTypeId, ContentTypeText, ContentTypeTypingNotification, Conversation, ConversationV1, ConversationV2, Conversations, DecodedMessage, EncodedContent, EncryptedPersistence, HttpApiClient, InMemoryKeystore, InvitationContext, KeyGeneratorKeystoreProvider, KeyStoreOptions, Keystore, KeystoreProvider, LegacyOptions, ListMessagesOptions, ListMessagesPaginatedOptions, LocalStoragePersistence, Message, MessageV1, MessageV2, NetworkKeystoreProvider, NetworkOptions, OnConnectionLostCallback, Persistence, PrefixedPersistence, PrivateKey, PrivateKeyBundle, PrivateKeyBundleV1, PrivateKeyBundleV2, PublicKey, PublicKeyBundle, PublishParams, Query, QueryAllOptions, QueryParams, QueryStreamOptions, SealedInvitation, SendOptions, Signature, SignedPublicKey, SignedPublicKeyBundle, Signer, SortDirection, StaticKeystoreProvider, Stream, SubscribeCallback, SubscribeParams, SubscriptionManager, TextCodec, TopicData, TypingNotification, TypingNotificationCodec, UnsubscribeFn, buildContentTopic, buildDirectMessageTopic, buildDirectMessageTopicV2, buildUserContactTopic, buildUserIntroTopic, buildUserInviteTopic, buildUserPrivateStoreTopic, dateToNs, decodeContactBundle, decodeContent, decrypt, encrypt, fromNanoString, mapPaginatedStream, nsToDate, toNanoString };
export { ApiClient, ApiUrls, AuthCache, Authenticator, Ciphertext, Client, ClientOptions, CodecRegistry, Composite, CompositeCodec, Compression, ContentCodec, ContentOptions, ContentTypeComposite, ContentTypeFallback, ContentTypeId, ContentTypeText, ContentTypeTypingNotification, Conversation, ConversationV1, ConversationV2, Conversations, DecodedMessage, EncodedContent, EncryptedPersistence, HttpApiClient, InMemoryKeystore, InvitationContext, KeyGeneratorKeystoreProvider, KeyStoreOptions, Keystore, KeystoreProvider, LegacyOptions, ListMessagesOptions, ListMessagesPaginatedOptions, LocalAuthenticator, LocalStoragePersistence, Message, MessageV1, MessageV2, NetworkKeystoreProvider, NetworkOptions, OnConnectionLostCallback, Persistence, PrefixedPersistence, PrivateKey, PrivateKeyBundle, PrivateKeyBundleV1, PrivateKeyBundleV2, PublicKey, PublicKeyBundle, PublishParams, Query, QueryAllOptions, QueryParams, QueryStreamOptions, SealedInvitation, SendOptions, Signature, SignedPublicKey, SignedPublicKeyBundle, Signer, SortDirection, StaticKeystoreProvider, Stream, SubscribeCallback, SubscribeParams, SubscriptionManager, TextCodec, TopicData, TypingNotification, TypingNotificationCodec, UnsubscribeFn, buildContentTopic, buildDirectMessageTopic, buildDirectMessageTopicV2, buildUserContactTopic, buildUserIntroTopic, buildUserInviteTopic, buildUserPrivateStoreTopic, dateToNs, decodeContactBundle, decodeContent, decrypt, encrypt, fromNanoString, mapPaginatedStream, nsToDate, retry, toNanoString };

2

package.json
{
"name": "@xmtp/xmtp-js",
"version": "11.0.0-beta.1",
"version": "11.0.0-beta.2",
"description": "XMTP client SDK for interacting with XMTP networks.",

@@ -5,0 +5,0 @@ "type": "module",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc