@partylayer/sdk 0.14.1 → 0.15.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 +2 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
## Overview
|
|
16
16
|
|
|
17
|
-
`@partylayer/sdk` provides a unified interface for connecting your decentralized application (dApp) to multiple Canton Network wallets. It abstracts wallet-specific implementations behind a simple, type-safe API
|
|
17
|
+
`@partylayer/sdk` provides a unified interface for connecting your decentralized application (dApp) to multiple Canton Network wallets. It abstracts wallet-specific implementations behind a simple, type-safe API, one integration for every Canton wallet.
|
|
18
18
|
|
|
19
19
|
### Features
|
|
20
20
|
|
|
@@ -130,7 +130,7 @@ await client.disconnect();
|
|
|
130
130
|
| WalletConnect | devnet, testnet, mainnet | signMessage, submitTransaction | Yes | `@partylayer/adapter-walletconnect` |
|
|
131
131
|
<!-- WALLETS:END -->
|
|
132
132
|
|
|
133
|
-
> **Try it live:** [PartyLayer Studio](https://studio.partylayer.xyz)
|
|
133
|
+
> **Try it live:** [PartyLayer Studio](https://studio.partylayer.xyz), runnable, editable scenarios · [Pattern Cookbook](https://partylayer.xyz/docs/cookbook), copy-paste recipes.
|
|
134
134
|
|
|
135
135
|
---
|
|
136
136
|
|
package/dist/index.js
CHANGED
|
@@ -1280,7 +1280,11 @@ var PartyLayerClient = class {
|
|
|
1280
1280
|
expiresAt: result.session.expiresAt,
|
|
1281
1281
|
origin: this.origin,
|
|
1282
1282
|
capabilitiesSnapshot: result.capabilities,
|
|
1283
|
-
metadata: result.session.metadata
|
|
1283
|
+
metadata: result.session.metadata,
|
|
1284
|
+
// Fund-safety passthrough: the wallet's payout-preapproval signal, if the
|
|
1285
|
+
// adapter surfaced it at connect. Optional; absent when not reported.
|
|
1286
|
+
hasPreapproval: result.session.hasPreapproval,
|
|
1287
|
+
utilityPreapprovalAdmins: result.session.utilityPreapprovalAdmins
|
|
1284
1288
|
};
|
|
1285
1289
|
const mismatch = this.networkMismatch(session);
|
|
1286
1290
|
if (mismatch) {
|