@partylayer/sdk 0.13.1 → 0.13.3
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 +14 -6
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -117,12 +117,20 @@ await client.disconnect();
|
|
|
117
117
|
|
|
118
118
|
## Supported Wallets
|
|
119
119
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
|
124
|
-
|
|
|
125
|
-
|
|
|
120
|
+
<!-- WALLETS:START (generated by scripts/gen-readme.mjs — do not edit) -->
|
|
121
|
+
| Wallet | Networks | Capabilities | Opt-in | Adapter |
|
|
122
|
+
|--------|----------|--------------|--------|---------|
|
|
123
|
+
| Console Wallet | devnet, testnet, mainnet | signMessage, signTransaction, submitTransaction, transactionStatus | No | `@partylayer/adapter-console` |
|
|
124
|
+
| 5N Loop | devnet, testnet, mainnet | signMessage, submitTransaction, transactionStatus | No | `@partylayer/adapter-loop` |
|
|
125
|
+
| Cantor8 | devnet, testnet, mainnet | signMessage, signTransaction | No | `@partylayer/adapter-cantor8` |
|
|
126
|
+
| Bron | devnet, testnet, mainnet | signMessage, signTransaction | Yes | `@partylayer/adapter-bron` |
|
|
127
|
+
| Nightly | devnet, testnet, mainnet | signMessage, submitTransaction | No | `@partylayer/adapter-nightly` |
|
|
128
|
+
| Send | mainnet | signMessage, submitTransaction, transactionStatus | No | `@partylayer/adapter-send` |
|
|
129
|
+
| Walley | mainnet, testnet, devnet | signMessage, submitTransaction, transactionStatus | No | `@k2flabs/walley-dapp-sdk` |
|
|
130
|
+
| WalletConnect | devnet, testnet, mainnet | signMessage, submitTransaction | Yes | `@partylayer/adapter-walletconnect` |
|
|
131
|
+
<!-- WALLETS:END -->
|
|
132
|
+
|
|
133
|
+
> **Try it live:** [PartyLayer Studio](https://studio.partylayer.xyz) — runnable, editable scenarios · [Pattern Cookbook](https://partylayer.xyz/docs/cookbook) — copy-paste recipes.
|
|
126
134
|
|
|
127
135
|
---
|
|
128
136
|
|
package/dist/index.js
CHANGED
|
@@ -172,9 +172,9 @@ var GenericAnnounceAdapter = class {
|
|
|
172
172
|
const result = await this.provider.request({
|
|
173
173
|
method: "ledgerApi",
|
|
174
174
|
params: {
|
|
175
|
-
requestMethod: params.requestMethod,
|
|
175
|
+
requestMethod: core.normalizeLedgerMethodLower(params.requestMethod),
|
|
176
176
|
resource: params.resource,
|
|
177
|
-
body: params.body
|
|
177
|
+
body: core.ledgerApiBodyToObject(params.body)
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
if (result && typeof result.response === "string") return { response: result.response };
|
|
@@ -522,10 +522,11 @@ function getBuiltinAdapters() {
|
|
|
522
522
|
// 5N Loop - QR code / popup
|
|
523
523
|
new adapterCantor8.Cantor8Adapter(),
|
|
524
524
|
// Cantor8 - deep link transport
|
|
525
|
-
new adapterNightly.NightlyAdapter()
|
|
525
|
+
new adapterNightly.NightlyAdapter()
|
|
526
526
|
// Nightly - multichain wallet (injected)
|
|
527
|
-
|
|
528
|
-
//
|
|
527
|
+
// Send is served via the generic CIP-0103 announce path (registry
|
|
528
|
+
// transport:'announce') — no longer in defaults; SendAdapter stays exported
|
|
529
|
+
// below for opt-in manual/bespoke use.
|
|
529
530
|
];
|
|
530
531
|
}
|
|
531
532
|
var SDK_VERSION = "0.3.0";
|