@tezos-x/octez.connect-dapp 0.9.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@tezos-x/octez.connect-dapp`
2
2
 
3
- This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect-sdk)
3
+ This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect)
4
4
 
5
5
  ## Introduction
6
6
 
@@ -11,6 +11,7 @@ Use this package on your dApp to instanciate a `DAppClient` object and communica
11
11
  ```
12
12
  import { DAppClient } from '@tezos-x/octez.connect-dapp'
13
13
 
14
- const dAppClient = new DAppClient({ name: "octez.connect Docs" });
14
+ const dAppClient = new DAppClient({ name: "Beacon Docs" });
15
15
  ```
16
16
 
17
+ Check our documentation for more information. [Documentation](https://octez-connect.tezos.com)
@@ -56,10 +56,12 @@ export declare class DAppClient extends Client {
56
56
  */
57
57
  private _activePeer;
58
58
  private _initPromise;
59
+ private _initPromiseReject;
59
60
  private isInitPending;
60
61
  private readonly activeAccountLoaded;
61
62
  private readonly appMetadataManager;
62
- private readonly disclaimerText?;
63
+ private readonly termsAndConditionsUrl?;
64
+ private readonly privacyPolicyUrl?;
63
65
  private readonly errorMessages;
64
66
  private readonly featuredWallets;
65
67
  private readonly storageValidator;
@@ -154,9 +156,7 @@ export declare class DAppClient extends Client {
154
156
  */
155
157
  checkPermissions(type: BeaconMessageType): Promise<boolean>;
156
158
  sendNotification(title: string, message: string, payload: string, protocolIdentifier: string): Promise<string>;
157
- private blockchains;
158
159
  addBlockchain(chain: Blockchain): void;
159
- removeBlockchain(chainIdentifier: string): void;
160
160
  permissionRequest(input: PermissionRequestV3<string>): Promise<PermissionResponseV3<string>>;
161
161
  request(input: BlockchainRequestV3<string>): Promise<BlockchainResponseV3<string>>;
162
162
  /**
@@ -224,6 +224,7 @@ export declare class DAppClient extends Client {
224
224
  * @param errorMessage The error message to send.
225
225
  */
226
226
  private sendInternalError;
227
+ private emitEventWithErrorContext;
227
228
  /**
228
229
  * This method will remove all accounts associated with a specific peer.
229
230
  *
@@ -231,6 +232,7 @@ export declare class DAppClient extends Client {
231
232
  */
232
233
  private removeAccountsForPeers;
233
234
  private removeAccountsForPeerIds;
235
+ private requireResponse;
234
236
  /**
235
237
  * This message handles errors that we receive from the wallet.
236
238
  *