@hsuite/native-connect-angular 2.1.4 → 2.1.5
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/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as i2 from '@ionic/angular';
|
|
|
5
5
|
import { ModalController as ModalController$1 } from '@ionic/angular';
|
|
6
6
|
import { ModalController, AlertController, ToastController } from '@ionic/angular/standalone';
|
|
7
7
|
import * as _hsuite_native_connect_sdk from '@hsuite/native-connect-sdk';
|
|
8
|
-
import { SupportedLedger, TransportState, Logger, TransportProvider, ChannelState, ChannelAccount, ChannelInvite, ChannelType } from '@hsuite/native-connect-sdk';
|
|
8
|
+
import { SupportedLedger, AuthSigningScheme, TransportState, Logger, TransportProvider, ChannelState, ChannelAccount, ChannelInvite, ChannelType } from '@hsuite/native-connect-sdk';
|
|
9
9
|
export { ChannelAccount, ChannelInvite, ChannelMessage, ChannelState, ChannelType, HederaTransactionEncoder, MessageType, TransportState, XrplTransactionEncoder } from '@hsuite/native-connect-sdk';
|
|
10
10
|
import * as _hsuite_native_connect_angular from '@hsuite/native-connect-angular';
|
|
11
11
|
import { Observable } from 'rxjs';
|
|
@@ -452,6 +452,19 @@ interface SignMessageResult {
|
|
|
452
452
|
* ambiguity when verifying the signature.
|
|
453
453
|
*/
|
|
454
454
|
messageLength?: number;
|
|
455
|
+
/**
|
|
456
|
+
* Which byte layout the wallet actually signed, so a verifier reconstructs
|
|
457
|
+
* the correct bytes:
|
|
458
|
+
* - `hsuite-domain` — HSuite domain-separated blob (native `hsc:` path;
|
|
459
|
+
* `buildDomainSeparatedMessage`). This is the default when absent.
|
|
460
|
+
* - `hedera-wc` — Hedera WalletConnect standard
|
|
461
|
+
* (`\x19Hedera Signed Message:\n<len><msg>`), returned by `hedera_signMessage`.
|
|
462
|
+
*
|
|
463
|
+
* A signature is only verifiable against the scheme it was produced under —
|
|
464
|
+
* the two are cryptographically incompatible. Absent = `hsuite-domain` for
|
|
465
|
+
* backwards compatibility with pre-existing native flows.
|
|
466
|
+
*/
|
|
467
|
+
signingScheme?: AuthSigningScheme;
|
|
455
468
|
/** Additional metadata from the wallet. */
|
|
456
469
|
metadata?: Record<string, unknown>;
|
|
457
470
|
}
|
|
@@ -4792,6 +4805,15 @@ interface SmartHostVerifyRequest {
|
|
|
4792
4805
|
caipChainId?: string;
|
|
4793
4806
|
ledgerId?: string;
|
|
4794
4807
|
networkId?: string;
|
|
4808
|
+
/**
|
|
4809
|
+
* Byte layout the wallet signed, so the host reconstructs the correct bytes
|
|
4810
|
+
* before verifying. Only sent when it deviates from the legacy default:
|
|
4811
|
+
* absent = native `hsc:` domain-separated signing (`hsuite-domain`), which
|
|
4812
|
+
* every already-deployed host understands; `hedera-wc` = WalletConnect's
|
|
4813
|
+
* `hedera_signMessage`. The host should feed this straight into
|
|
4814
|
+
* `verifyAuthSignature` from `@hsuite/native-connect-sdk`.
|
|
4815
|
+
*/
|
|
4816
|
+
signingScheme?: AuthSigningScheme;
|
|
4795
4817
|
}
|
|
4796
4818
|
/**
|
|
4797
4819
|
* Verify response shape expected from the smart host.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hsuite/native-connect-angular",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.5",
|
|
4
4
|
"license": "PolyForm-Noncommercial-1.0.0",
|
|
5
5
|
"description": "Angular integration SDK for HSuite Wallet - provides direct SDK integration without wrappers",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@hashgraph/proto": "^2.25.0",
|
|
22
22
|
"@hashgraph/sdk": "^2.76.0",
|
|
23
|
-
"@hsuite/native-connect-sdk": "^2.1.1",
|
|
24
23
|
"@walletconnect/modal": "^2.7.0",
|
|
25
24
|
"@walletconnect/sign-client": "^2.23.0",
|
|
26
25
|
"@walletconnect/types": "^2.23.0",
|
|
@@ -28,6 +27,7 @@
|
|
|
28
27
|
"qrcode": "^1.5.4",
|
|
29
28
|
"tslib": "^2.6.0",
|
|
30
29
|
"xrpl": "^3.0.0",
|
|
30
|
+
"@hsuite/native-connect-sdk": "^2.1.2",
|
|
31
31
|
"@hsuite/native-connect-types": "^2.1.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|