@dynamic-labs/message-transport
Advanced tools
Comparing version 2.1.0-alpha.19 to 2.1.0-alpha.20
{ | ||
"name": "@dynamic-labs/message-transport", | ||
"version": "2.1.0-alpha.19", | ||
"version": "2.1.0-alpha.20", | ||
"repository": { | ||
@@ -30,5 +30,5 @@ "type": "git", | ||
"@vue/reactivity": "3.4.21", | ||
"@dynamic-labs/types": "2.1.0-alpha.19", | ||
"@dynamic-labs/types": "2.1.0-alpha.20", | ||
"eventemitter3": "5.0.1" | ||
} | ||
} |
@@ -8,2 +8,2 @@ export { applyDefaultMessageOrigin, createMessageTransport, makeWaitForInitEvent, makeWaitForUnblock, type BypassBlockCallback, type MessageTransport, type MessageTransportCallback, type MessageTransportData, type MessageTransportDataOptionalOrigin, type MessageTransportWithDefaultOrigin, } from './messageTransport'; | ||
export type { Store, StoreEventListeners, StoreKeys, StoreSetter, StoreStateEvents, StoreStateGetters, } from './store/types'; | ||
export { sdkHasLoadedEventName, type AuthModuleMessages, type AuthModuleState, type ClientManifest, type ConsoleMessages, type EmbeddedWalletsModuleMessages, type EmbeddedWalletsModuleState, type EthMessages, type FetchMessages, type OtpMessages, type PasskeyMessages, type SdkModuleMessages, type SdkModuleState, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, } from './messageTypes'; | ||
export { sdkHasLoadedEventName, type AuthModuleMessages, type AuthModuleState, type ClientManifest, type ConsoleMessages, type EmbeddedWalletsModuleMessages, type EmbeddedWalletsModuleState, type EthMessages, type FetchMessages, type OtpMessages, type PasskeyMessages, type SdkModuleMessages, type SdkModuleState, type UserInterfaceModuleMessages, type WalletsModuleMessages, type WalletsModuleState, type WebViewVisibilityMessages, type NetworksModuleState, } from './messageTypes'; |
import { SerializedError } from '../utils/serializeErrorForTransport'; | ||
export type ConsoleMessages = { | ||
error: (serializedError: SerializedError) => void; | ||
error: (serializedError: SerializedError, props: { | ||
/** | ||
* Describes the severity of the error sent to the host. | ||
* fatal: The error has not been handled and the SDK is unusable. | ||
* log-only: The error has been handled but should still be logged. | ||
*/ | ||
severity: 'fatal' | 'log-only'; | ||
}) => void; | ||
}; |
@@ -12,1 +12,2 @@ export * from './AuthModuleMessages'; | ||
export * from './WebViewVisibilityMessages'; | ||
export * from './NetworksModuleMessages'; |
import EventEmitter from 'eventemitter3'; | ||
export type StoreKeys = 'auth' | 'sdk' | 'wallets' | 'embeddedWallets'; | ||
export type StoreKeys = 'auth' | 'sdk' | 'wallets' | 'embeddedWallets' | 'networks'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Readonly getters for the store values |
@@ -43,3 +43,3 @@ 'use client' | ||
if (stack) { | ||
error.stack = stack; | ||
error.stack = [message, stack].join('\n'); | ||
} | ||
@@ -46,0 +46,0 @@ // Reattach other custom properties that may have been serialized |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
343290
74
1435
+ Added@dynamic-labs/sdk-api-core@0.0.447(transitive)
+ Added@dynamic-labs/types@2.1.0-alpha.20(transitive)
- Removed@dynamic-labs/sdk-api-core@0.0.444(transitive)
- Removed@dynamic-labs/types@2.1.0-alpha.19(transitive)