@0xsequence/provider
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -25,4 +25,3 @@ import { ProviderMessage, ProviderTransport, ProviderEventTypes, ProviderMessageRequest, ProviderMessageResponse, WalletSession, OpenWalletIntent, ConnectDetails } from "../../types.js"; | ||
private provider; | ||
private projectAccessKey?; | ||
constructor(messageProviders?: ProviderTransport[], projectAccessKey?: string); | ||
constructor(messageProviders?: ProviderTransport[]); | ||
static new(template: MuxTransportTemplate, projectAccessKey?: string): MuxMessageProvider; | ||
@@ -29,0 +28,0 @@ add(...messageProviders: ProviderTransport[]): void; |
{ | ||
"name": "@0xsequence/provider", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "provider sub-package for Sequence", | ||
@@ -18,11 +18,11 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/provider", | ||
"webextension-polyfill": "^0.10.0", | ||
"@0xsequence/account": "2.1.3", | ||
"@0xsequence/migration": "2.1.3", | ||
"@0xsequence/auth": "2.1.3", | ||
"@0xsequence/network": "2.1.3", | ||
"@0xsequence/abi": "2.1.3", | ||
"@0xsequence/core": "2.1.3", | ||
"@0xsequence/relayer": "2.1.3", | ||
"@0xsequence/utils": "2.1.3", | ||
"@0xsequence/wallet": "2.1.3" | ||
"@0xsequence/abi": "2.1.4", | ||
"@0xsequence/account": "2.1.4", | ||
"@0xsequence/auth": "2.1.4", | ||
"@0xsequence/core": "2.1.4", | ||
"@0xsequence/migration": "2.1.4", | ||
"@0xsequence/network": "2.1.4", | ||
"@0xsequence/relayer": "2.1.4", | ||
"@0xsequence/utils": "2.1.4", | ||
"@0xsequence/wallet": "2.1.4" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
@@ -145,3 +145,3 @@ import { NetworkConfig } from '@0xsequence/network' | ||
if (isMuxTransportTemplate(transport)) { | ||
this.transport = MuxMessageProvider.new(transport) | ||
this.transport = MuxMessageProvider.new(transport, options?.projectAccessKey) | ||
} else if (isProviderTransport(transport)) { | ||
@@ -148,0 +148,0 @@ this.transport = transport |
@@ -64,8 +64,6 @@ import { | ||
private provider: ProviderTransport | undefined | ||
private projectAccessKey?: string | ||
constructor(messageProviders: ProviderTransport[] = [], projectAccessKey?: string) { | ||
constructor(messageProviders: ProviderTransport[] = []) { | ||
this.messageProviders = messageProviders | ||
this.provider = undefined | ||
this.projectAccessKey = projectAccessKey | ||
} | ||
@@ -72,0 +70,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
707409
17982
+ Added@0xsequence/abi@2.1.4(transitive)
+ Added@0xsequence/account@2.1.4(transitive)
+ Added@0xsequence/api@2.1.4(transitive)
+ Added@0xsequence/auth@2.1.4(transitive)
+ Added@0xsequence/core@2.1.4(transitive)
+ Added@0xsequence/indexer@2.1.4(transitive)
+ Added@0xsequence/metadata@2.1.4(transitive)
+ Added@0xsequence/migration@2.1.4(transitive)
+ Added@0xsequence/network@2.1.4(transitive)
+ Added@0xsequence/relayer@2.1.4(transitive)
+ Added@0xsequence/replacer@2.1.4(transitive)
+ Added@0xsequence/sessions@2.1.4(transitive)
+ Added@0xsequence/signhub@2.1.4(transitive)
+ Added@0xsequence/utils@2.1.4(transitive)
+ Added@0xsequence/wallet@2.1.4(transitive)
- Removed@0xsequence/abi@2.1.3(transitive)
- Removed@0xsequence/account@2.1.3(transitive)
- Removed@0xsequence/api@2.1.3(transitive)
- Removed@0xsequence/auth@2.1.3(transitive)
- Removed@0xsequence/core@2.1.3(transitive)
- Removed@0xsequence/indexer@2.1.3(transitive)
- Removed@0xsequence/metadata@2.1.3(transitive)
- Removed@0xsequence/migration@2.1.3(transitive)
- Removed@0xsequence/network@2.1.3(transitive)
- Removed@0xsequence/relayer@2.1.3(transitive)
- Removed@0xsequence/replacer@2.1.3(transitive)
- Removed@0xsequence/sessions@2.1.3(transitive)
- Removed@0xsequence/signhub@2.1.3(transitive)
- Removed@0xsequence/utils@2.1.3(transitive)
- Removed@0xsequence/wallet@2.1.3(transitive)
Updated@0xsequence/abi@2.1.4
Updated@0xsequence/account@2.1.4
Updated@0xsequence/auth@2.1.4
Updated@0xsequence/core@2.1.4
Updated@0xsequence/migration@2.1.4
Updated@0xsequence/network@2.1.4
Updated@0xsequence/relayer@2.1.4
Updated@0xsequence/utils@2.1.4
Updated@0xsequence/wallet@2.1.4