@hsuite/native-connect-angular 2.1.1 → 2.1.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/LICENSE +146 -0
- package/dist/fesm2022/hsuite-native-connect-angular.mjs +321 -619
- package/dist/fesm2022/hsuite-native-connect-angular.mjs.map +1 -1
- package/dist/index.d.ts +5 -235
- package/package.json +37 -15
- package/USAGE_EXAMPLES.md +0 -476
- package/assets/wallets/extension.svg +0 -7
- package/assets/wallets/hashpack.svg +0 -6
- package/assets/wallets/hsuite.svg +0 -11
- package/assets/wallets/kabila.svg +0 -11
- package/assets/wallets/walletconnect.svg +0 -13
- package/coverage/base.css +0 -224
- package/coverage/block-navigation.js +0 -87
- package/coverage/coverage-summary.json +0 -54
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +0 -476
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -476
- package/coverage/lcov-report/lib/components/account-selector/account-actions/account-actions.component.ts.html +0 -868
- package/coverage/lcov-report/lib/components/account-selector/account-actions/index.html +0 -116
- package/coverage/lcov-report/lib/components/account-selector/account-filter/account-filter.component.ts.html +0 -1288
- package/coverage/lcov-report/lib/components/account-selector/account-filter/index.html +0 -116
- package/coverage/lcov-report/lib/components/account-selector/account-formatting.service.ts.html +0 -679
- package/coverage/lcov-report/lib/components/account-selector/account-grouping.service.ts.html +0 -766
- package/coverage/lcov-report/lib/components/account-selector/account-list/account-list.component.ts.html +0 -1495
- package/coverage/lcov-report/lib/components/account-selector/account-list/index.html +0 -116
- package/coverage/lcov-report/lib/components/account-selector/account-selector.component.ts.html +0 -1495
- package/coverage/lcov-report/lib/components/account-selector/account-selector.service.ts.html +0 -1588
- package/coverage/lcov-report/lib/components/account-selector/index.html +0 -161
- package/coverage/lcov-report/lib/components/wallet-account-display/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-account-display/wallet-account-display.component.ts.html +0 -505
- package/coverage/lcov-report/lib/components/wallet-connect-button/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connect-button/wallet-connect-button.component.ts.html +0 -829
- package/coverage/lcov-report/lib/components/wallet-connect-prompt/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connect-prompt/wallet-connect-prompt.component.ts.html +0 -409
- package/coverage/lcov-report/lib/components/wallet-connected-guard/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connected-guard/wallet-connected-guard.component.ts.html +0 -304
- package/coverage/lcov-report/lib/components/wallet-connection-modal/connection-method-step/connection-method-step.component.ts.html +0 -436
- package/coverage/lcov-report/lib/components/wallet-connection-modal/connection-method-step/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connection-modal/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connection-modal/qr-pairing-step/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-connection-modal/qr-pairing-step/qr-pairing-step.component.ts.html +0 -2287
- package/coverage/lcov-report/lib/components/wallet-connection-modal/wallet-connection-modal.component.ts.html +0 -2518
- package/coverage/lcov-report/lib/components/wallet-session-display/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-session-display/wallet-session-display.component.ts.html +0 -676
- package/coverage/lcov-report/lib/components/wallet-transaction-status/index.html +0 -116
- package/coverage/lcov-report/lib/components/wallet-transaction-status/wallet-transaction-status.component.ts.html +0 -703
- package/coverage/lcov-report/lib/directives/index.html +0 -146
- package/coverage/lcov-report/lib/directives/wallet-connected.directive.ts.html +0 -670
- package/coverage/lcov-report/lib/directives/wallet-context.directive.ts.html +0 -547
- package/coverage/lcov-report/lib/directives/wallet-events.directive.ts.html +0 -781
- package/coverage/lcov-report/lib/hsuite-wallet.module.ts.html +0 -715
- package/coverage/lcov-report/lib/index.html +0 -116
- package/coverage/lcov-report/lib/models/connection-config.model.ts.html +0 -280
- package/coverage/lcov-report/lib/models/index.html +0 -131
- package/coverage/lcov-report/lib/models/provider-types.ts.html +0 -583
- package/coverage/lcov-report/lib/providers/base-wallet-provider.ts.html +0 -1138
- package/coverage/lcov-report/lib/providers/hsuite-native/channel-client.service.ts.html +0 -2674
- package/coverage/lcov-report/lib/providers/hsuite-native/index.html +0 -116
- package/coverage/lcov-report/lib/providers/hsuite-native-provider.ts.html +0 -2347
- package/coverage/lcov-report/lib/providers/index.html +0 -146
- package/coverage/lcov-report/lib/providers/p2p-native/index.html +0 -131
- package/coverage/lcov-report/lib/providers/p2p-native/p2p-native.provider.ts.html +0 -2254
- package/coverage/lcov-report/lib/providers/p2p-native/p2p-session-manager.ts.html +0 -2173
- package/coverage/lcov-report/lib/providers/wallet-error-handler.ts.html +0 -1132
- package/coverage/lcov-report/lib/providers/walletconnect/core/index.html +0 -176
- package/coverage/lcov-report/lib/providers/walletconnect/core/session-health.ts.html +0 -673
- package/coverage/lcov-report/lib/providers/walletconnect/core/walletconnect-client-manager.ts.html +0 -1177
- package/coverage/lcov-report/lib/providers/walletconnect/core/walletconnect-provider.ts.html +0 -2566
- package/coverage/lcov-report/lib/providers/walletconnect/core/walletconnect-session-store.ts.html +0 -904
- package/coverage/lcov-report/lib/providers/walletconnect/core/walletconnect-signing-orchestrator.ts.html +0 -982
- package/coverage/lcov-report/lib/providers/walletconnect/signers/hedera-signer.ts.html +0 -1915
- package/coverage/lcov-report/lib/providers/walletconnect/signers/index.html +0 -146
- package/coverage/lcov-report/lib/providers/walletconnect/signers/signer-factory.ts.html +0 -445
- package/coverage/lcov-report/lib/providers/walletconnect/signers/xrpl-signer.ts.html +0 -1519
- package/coverage/lcov-report/lib/services/hsuite-auth.interceptor.ts.html +0 -568
- package/coverage/lcov-report/lib/services/index.html +0 -221
- package/coverage/lcov-report/lib/services/logger.service.ts.html +0 -463
- package/coverage/lcov-report/lib/services/smart-session.service.ts.html +0 -1264
- package/coverage/lcov-report/lib/services/transaction-builders/active-account-source.ts.html +0 -250
- package/coverage/lcov-report/lib/services/transaction-builders/base-transaction-builder.service.ts.html +0 -1840
- package/coverage/lcov-report/lib/services/transaction-builders/hedera-amount-utils.ts.html +0 -337
- package/coverage/lcov-report/lib/services/transaction-builders/hedera-transaction-builder.service.ts.html +0 -3940
- package/coverage/lcov-report/lib/services/transaction-builders/index.html +0 -176
- package/coverage/lcov-report/lib/services/transaction-builders/xrpl-transaction-builder.service.ts.html +0 -2581
- package/coverage/lcov-report/lib/services/transaction.service.ts.html +0 -1120
- package/coverage/lcov-report/lib/services/unified-wallet.service.ts.html +0 -2638
- package/coverage/lcov-report/lib/services/wallet-context.service.ts.html +0 -637
- package/coverage/lcov-report/lib/services/wallet-event-bus.service.ts.html +0 -643
- package/coverage/lcov-report/lib/services/wallet-providers.service.ts.html +0 -493
- package/coverage/lcov-report/lib/transports/chrome-extension-transport.ts.html +0 -823
- package/coverage/lcov-report/lib/transports/index.html +0 -116
- package/coverage/lcov-report/lib/utils/index.html +0 -131
- package/coverage/lcov-report/lib/utils/ledger-icons.util.ts.html +0 -412
- package/coverage/lcov-report/lib/utils/ledger-ui-registry.ts.html +0 -676
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov.info +0 -20366
- package/coverage/lib/components/account-selector/account-actions/account-actions.component.ts.html +0 -868
- package/coverage/lib/components/account-selector/account-actions/index.html +0 -116
- package/coverage/lib/components/account-selector/account-filter/account-filter.component.ts.html +0 -1288
- package/coverage/lib/components/account-selector/account-filter/index.html +0 -116
- package/coverage/lib/components/account-selector/account-formatting.service.ts.html +0 -679
- package/coverage/lib/components/account-selector/account-grouping.service.ts.html +0 -766
- package/coverage/lib/components/account-selector/account-list/account-list.component.ts.html +0 -1495
- package/coverage/lib/components/account-selector/account-list/index.html +0 -116
- package/coverage/lib/components/account-selector/account-selector.component.ts.html +0 -1495
- package/coverage/lib/components/account-selector/account-selector.service.ts.html +0 -1588
- package/coverage/lib/components/account-selector/index.html +0 -161
- package/coverage/lib/components/wallet-account-display/index.html +0 -116
- package/coverage/lib/components/wallet-account-display/wallet-account-display.component.ts.html +0 -505
- package/coverage/lib/components/wallet-connect-button/index.html +0 -116
- package/coverage/lib/components/wallet-connect-button/wallet-connect-button.component.ts.html +0 -829
- package/coverage/lib/components/wallet-connect-prompt/index.html +0 -116
- package/coverage/lib/components/wallet-connect-prompt/wallet-connect-prompt.component.ts.html +0 -409
- package/coverage/lib/components/wallet-connected-guard/index.html +0 -116
- package/coverage/lib/components/wallet-connected-guard/wallet-connected-guard.component.ts.html +0 -304
- package/coverage/lib/components/wallet-connection-modal/connection-method-step/connection-method-step.component.ts.html +0 -436
- package/coverage/lib/components/wallet-connection-modal/connection-method-step/index.html +0 -116
- package/coverage/lib/components/wallet-connection-modal/index.html +0 -116
- package/coverage/lib/components/wallet-connection-modal/qr-pairing-step/index.html +0 -116
- package/coverage/lib/components/wallet-connection-modal/qr-pairing-step/qr-pairing-step.component.ts.html +0 -2287
- package/coverage/lib/components/wallet-connection-modal/wallet-connection-modal.component.ts.html +0 -2518
- package/coverage/lib/components/wallet-session-display/index.html +0 -116
- package/coverage/lib/components/wallet-session-display/wallet-session-display.component.ts.html +0 -676
- package/coverage/lib/components/wallet-transaction-status/index.html +0 -116
- package/coverage/lib/components/wallet-transaction-status/wallet-transaction-status.component.ts.html +0 -703
- package/coverage/lib/directives/index.html +0 -146
- package/coverage/lib/directives/wallet-connected.directive.ts.html +0 -670
- package/coverage/lib/directives/wallet-context.directive.ts.html +0 -547
- package/coverage/lib/directives/wallet-events.directive.ts.html +0 -781
- package/coverage/lib/hsuite-wallet.module.ts.html +0 -715
- package/coverage/lib/index.html +0 -116
- package/coverage/lib/models/connection-config.model.ts.html +0 -280
- package/coverage/lib/models/index.html +0 -131
- package/coverage/lib/models/provider-types.ts.html +0 -583
- package/coverage/lib/providers/base-wallet-provider.ts.html +0 -1138
- package/coverage/lib/providers/hsuite-native/channel-client.service.ts.html +0 -2674
- package/coverage/lib/providers/hsuite-native/index.html +0 -116
- package/coverage/lib/providers/hsuite-native-provider.ts.html +0 -2347
- package/coverage/lib/providers/index.html +0 -146
- package/coverage/lib/providers/p2p-native/index.html +0 -131
- package/coverage/lib/providers/p2p-native/p2p-native.provider.ts.html +0 -2254
- package/coverage/lib/providers/p2p-native/p2p-session-manager.ts.html +0 -2173
- package/coverage/lib/providers/wallet-error-handler.ts.html +0 -1132
- package/coverage/lib/providers/walletconnect/core/index.html +0 -176
- package/coverage/lib/providers/walletconnect/core/session-health.ts.html +0 -673
- package/coverage/lib/providers/walletconnect/core/walletconnect-client-manager.ts.html +0 -1177
- package/coverage/lib/providers/walletconnect/core/walletconnect-provider.ts.html +0 -2566
- package/coverage/lib/providers/walletconnect/core/walletconnect-session-store.ts.html +0 -904
- package/coverage/lib/providers/walletconnect/core/walletconnect-signing-orchestrator.ts.html +0 -982
- package/coverage/lib/providers/walletconnect/signers/hedera-signer.ts.html +0 -1915
- package/coverage/lib/providers/walletconnect/signers/index.html +0 -146
- package/coverage/lib/providers/walletconnect/signers/signer-factory.ts.html +0 -445
- package/coverage/lib/providers/walletconnect/signers/xrpl-signer.ts.html +0 -1519
- package/coverage/lib/services/hsuite-auth.interceptor.ts.html +0 -568
- package/coverage/lib/services/index.html +0 -221
- package/coverage/lib/services/logger.service.ts.html +0 -463
- package/coverage/lib/services/smart-session.service.ts.html +0 -1264
- package/coverage/lib/services/transaction-builders/active-account-source.ts.html +0 -250
- package/coverage/lib/services/transaction-builders/base-transaction-builder.service.ts.html +0 -1840
- package/coverage/lib/services/transaction-builders/hedera-amount-utils.ts.html +0 -337
- package/coverage/lib/services/transaction-builders/hedera-transaction-builder.service.ts.html +0 -3940
- package/coverage/lib/services/transaction-builders/index.html +0 -176
- package/coverage/lib/services/transaction-builders/xrpl-transaction-builder.service.ts.html +0 -2581
- package/coverage/lib/services/transaction.service.ts.html +0 -1120
- package/coverage/lib/services/unified-wallet.service.ts.html +0 -2638
- package/coverage/lib/services/wallet-context.service.ts.html +0 -637
- package/coverage/lib/services/wallet-event-bus.service.ts.html +0 -643
- package/coverage/lib/services/wallet-providers.service.ts.html +0 -493
- package/coverage/lib/transports/chrome-extension-transport.ts.html +0 -823
- package/coverage/lib/transports/index.html +0 -116
- package/coverage/lib/utils/index.html +0 -131
- package/coverage/lib/utils/ledger-icons.util.ts.html +0 -412
- package/coverage/lib/utils/ledger-ui-registry.ts.html +0 -676
- package/coverage/prettify.css +0 -1
- package/coverage/prettify.js +0 -2
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +0 -210
- package/examples/minimal-connect.ts +0 -178
- package/examples/multi-protocol.ts +0 -495
- package/examples/transaction-signing.ts +0 -361
- package/jest.config.json +0 -45
- package/karma.conf.js +0 -42
- package/ng-package.json +0 -20
- package/src/index.ts +0 -229
- package/src/lib/components/account-selector/account-actions/account-actions.component.ts +0 -261
- package/src/lib/components/account-selector/account-filter/account-filter.component.ts +0 -401
- package/src/lib/components/account-selector/account-formatting.service.ts +0 -198
- package/src/lib/components/account-selector/account-grouping.service.ts +0 -227
- package/src/lib/components/account-selector/account-list/account-list.component.ts +0 -470
- package/src/lib/components/account-selector/account-selector.component.html +0 -135
- package/src/lib/components/account-selector/account-selector.component.scss +0 -2039
- package/src/lib/components/account-selector/account-selector.component.ts +0 -470
- package/src/lib/components/account-selector/account-selector.service.ts +0 -501
- package/src/lib/components/wallet-account-display/wallet-account-display.component.html +0 -34
- package/src/lib/components/wallet-account-display/wallet-account-display.component.scss +0 -99
- package/src/lib/components/wallet-account-display/wallet-account-display.component.ts +0 -140
- package/src/lib/components/wallet-connect-button/wallet-connect-button.component.html +0 -14
- package/src/lib/components/wallet-connect-button/wallet-connect-button.component.scss +0 -272
- package/src/lib/components/wallet-connect-button/wallet-connect-button.component.spec.ts +0 -89
- package/src/lib/components/wallet-connect-button/wallet-connect-button.component.ts +0 -248
- package/src/lib/components/wallet-connect-prompt/wallet-connect-prompt.component.html +0 -24
- package/src/lib/components/wallet-connect-prompt/wallet-connect-prompt.component.scss +0 -50
- package/src/lib/components/wallet-connect-prompt/wallet-connect-prompt.component.ts +0 -108
- package/src/lib/components/wallet-connected-guard/wallet-connected-guard.component.html +0 -24
- package/src/lib/components/wallet-connected-guard/wallet-connected-guard.component.ts +0 -73
- package/src/lib/components/wallet-connection-modal/connection-method-step/connection-method-step.component.html +0 -56
- package/src/lib/components/wallet-connection-modal/connection-method-step/connection-method-step.component.scss +0 -218
- package/src/lib/components/wallet-connection-modal/connection-method-step/connection-method-step.component.ts +0 -117
- package/src/lib/components/wallet-connection-modal/qr-pairing-step/qr-pairing-step.component.html +0 -94
- package/src/lib/components/wallet-connection-modal/qr-pairing-step/qr-pairing-step.component.scss +0 -272
- package/src/lib/components/wallet-connection-modal/qr-pairing-step/qr-pairing-step.component.ts +0 -734
- package/src/lib/components/wallet-connection-modal/wallet-connection-modal.component.html +0 -192
- package/src/lib/components/wallet-connection-modal/wallet-connection-modal.component.scss +0 -678
- package/src/lib/components/wallet-connection-modal/wallet-connection-modal.component.spec.ts +0 -173
- package/src/lib/components/wallet-connection-modal/wallet-connection-modal.component.ts +0 -811
- package/src/lib/components/wallet-session-display/wallet-session-display.component.html +0 -110
- package/src/lib/components/wallet-session-display/wallet-session-display.component.scss +0 -179
- package/src/lib/components/wallet-session-display/wallet-session-display.component.ts +0 -197
- package/src/lib/components/wallet-transaction-status/wallet-transaction-status.component.html +0 -65
- package/src/lib/components/wallet-transaction-status/wallet-transaction-status.component.scss +0 -254
- package/src/lib/components/wallet-transaction-status/wallet-transaction-status.component.ts +0 -206
- package/src/lib/directives/wallet-connected.directive.ts +0 -195
- package/src/lib/directives/wallet-context.directive.ts +0 -154
- package/src/lib/directives/wallet-events.directive.ts +0 -232
- package/src/lib/hsuite-wallet.module.ts +0 -210
- package/src/lib/models/connection-config.model.ts +0 -65
- package/src/lib/models/provider-types.ts +0 -166
- package/src/lib/models/unified-account.model.ts +0 -79
- package/src/lib/models/wallet-context.model.ts +0 -121
- package/src/lib/models/wallet-events.model.ts +0 -158
- package/src/lib/providers/base-wallet-provider.ts +0 -351
- package/src/lib/providers/hsuite-native/channel-client.service.spec.ts +0 -73
- package/src/lib/providers/hsuite-native/channel-client.service.ts +0 -863
- package/src/lib/providers/hsuite-native/index.ts +0 -8
- package/src/lib/providers/hsuite-native-provider.ts +0 -754
- package/src/lib/providers/mobile-native/mobile-native.provider.spec.ts +0 -19
- package/src/lib/providers/p2p-native/index.ts +0 -30
- package/src/lib/providers/p2p-native/p2p-native.provider.spec.ts +0 -523
- package/src/lib/providers/p2p-native/p2p-native.provider.ts +0 -723
- package/src/lib/providers/p2p-native/p2p-session-manager.ts +0 -696
- package/src/lib/providers/wallet-error-handler.ts +0 -349
- package/src/lib/providers/walletconnect/core/base-signer.interface.ts +0 -122
- package/src/lib/providers/walletconnect/core/session-health.ts +0 -196
- package/src/lib/providers/walletconnect/core/walletconnect-client-manager.ts +0 -364
- package/src/lib/providers/walletconnect/core/walletconnect-provider.integration.spec.ts +0 -348
- package/src/lib/providers/walletconnect/core/walletconnect-provider.ts +0 -827
- package/src/lib/providers/walletconnect/core/walletconnect-session-store.ts +0 -273
- package/src/lib/providers/walletconnect/core/walletconnect-signing-orchestrator.ts +0 -299
- package/src/lib/providers/walletconnect/core/walletconnect-types.ts +0 -48
- package/src/lib/providers/walletconnect/index.ts +0 -33
- package/src/lib/providers/walletconnect/signers/hedera-signer.spec.ts +0 -367
- package/src/lib/providers/walletconnect/signers/hedera-signer.ts +0 -610
- package/src/lib/providers/walletconnect/signers/signer-factory.spec.ts +0 -62
- package/src/lib/providers/walletconnect/signers/signer-factory.ts +0 -120
- package/src/lib/providers/walletconnect/signers/xrpl-signer.spec.ts +0 -296
- package/src/lib/providers/walletconnect/signers/xrpl-signer.ts +0 -478
- package/src/lib/services/hsuite-auth.interceptor.ts +0 -159
- package/src/lib/services/logger.service.ts +0 -126
- package/src/lib/services/smart-session.service.ts +0 -378
- package/src/lib/services/transaction-builders/active-account-source.spec.ts +0 -75
- package/src/lib/services/transaction-builders/active-account-source.ts +0 -55
- package/src/lib/services/transaction-builders/base-transaction-builder.service.ts +0 -585
- package/src/lib/services/transaction-builders/hedera-amount-utils.ts +0 -84
- package/src/lib/services/transaction-builders/hedera-transaction-builder.service.spec.ts +0 -741
- package/src/lib/services/transaction-builders/hedera-transaction-builder.service.ts +0 -1285
- package/src/lib/services/transaction-builders/index.ts +0 -55
- package/src/lib/services/transaction-builders/xrpl-transaction-builder.service.spec.ts +0 -937
- package/src/lib/services/transaction-builders/xrpl-transaction-builder.service.ts +0 -832
- package/src/lib/services/transaction.service.ts +0 -349
- package/src/lib/services/unified-wallet.service.spec.ts +0 -1382
- package/src/lib/services/unified-wallet.service.ts +0 -851
- package/src/lib/services/wallet-context.service.ts +0 -184
- package/src/lib/services/wallet-event-bus.service.ts +0 -186
- package/src/lib/services/wallet-providers.service.ts +0 -136
- package/src/lib/transports/chrome-extension-transport.ts +0 -246
- package/src/lib/utils/index.ts +0 -15
- package/src/lib/utils/ledger-icons.util.ts +0 -109
- package/src/lib/utils/ledger-ui-registry.ts +0 -197
- package/test/test-setup.ts +0 -21
- package/test-setup.ts +0 -63
- package/tsconfig.build.json +0 -11
- package/tsconfig.json +0 -29
- package/tsconfig.spec.json +0 -15
- package/vitest.config.ts +0 -48
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { SupportedLedger, TransportState, Logger, TransportProvider, ChannelStat
|
|
|
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';
|
|
12
|
-
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
|
|
13
12
|
import { MessageEnvelope, LedgerId } from '@hsuite/native-connect-types';
|
|
14
13
|
export { LedgerId, RpcEnvelope, RpcRequest, RpcResponse, SessionApproval } from '@hsuite/native-connect-types';
|
|
15
14
|
import SignClient from '@walletconnect/sign-client';
|
|
@@ -178,7 +177,7 @@ type ConnectionConfig$1 = HsuiteNativeConfig | WalletConnectV2Config | MobileNat
|
|
|
178
177
|
* visit https://hsuite.finance/licensing
|
|
179
178
|
*/
|
|
180
179
|
/**
|
|
181
|
-
* @
|
|
180
|
+
* @fileoverview Unified account model that works across all wallet providers.
|
|
182
181
|
*
|
|
183
182
|
* @module models/unified-account
|
|
184
183
|
*
|
|
@@ -210,8 +209,6 @@ interface UnifiedAccount {
|
|
|
210
209
|
id: string;
|
|
211
210
|
/** Account address/public key */
|
|
212
211
|
address: string;
|
|
213
|
-
/** Public key associated with the account, when available from the provider. */
|
|
214
|
-
publicKey?: string;
|
|
215
212
|
/** Human-readable label */
|
|
216
213
|
label?: string;
|
|
217
214
|
/** Ledger ID (e.g., 'hedera', 'xrpl') */
|
|
@@ -1887,7 +1884,7 @@ declare class UnifiedWalletService {
|
|
|
1887
1884
|
* @throws {Error} If provider is not found
|
|
1888
1885
|
* @throws {Error} If user rejects the signing request
|
|
1889
1886
|
*/
|
|
1890
|
-
signMessage(message: string, encoding?: 'utf-8' | 'base64'): Promise<
|
|
1887
|
+
signMessage(message: string, encoding?: 'utf-8' | 'base64'): Promise<unknown>;
|
|
1891
1888
|
/**
|
|
1892
1889
|
* Signs and executes a transaction in a single prompt.
|
|
1893
1890
|
*
|
|
@@ -4601,7 +4598,7 @@ declare class TransactionService {
|
|
|
4601
4598
|
* @param message - Message to sign
|
|
4602
4599
|
* @returns Sign result with signature
|
|
4603
4600
|
*/
|
|
4604
|
-
signMessage(message: string): Promise<
|
|
4601
|
+
signMessage(message: string): Promise<SignResult>;
|
|
4605
4602
|
/**
|
|
4606
4603
|
* Show a success toast notification
|
|
4607
4604
|
* Uses cssClass-only styling (no Ionic color property) for theme compatibility.
|
|
@@ -4731,233 +4728,6 @@ declare class LoggerService {
|
|
|
4731
4728
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
4732
4729
|
}
|
|
4733
4730
|
|
|
4734
|
-
/**
|
|
4735
|
-
* Configuration token for {@link SmartSessionService}.
|
|
4736
|
-
*/
|
|
4737
|
-
declare const SMART_SESSION_CONFIG: InjectionToken<SmartSessionConfig>;
|
|
4738
|
-
/**
|
|
4739
|
-
* Configuration for the smart-host session handshake.
|
|
4740
|
-
*/
|
|
4741
|
-
interface SmartSessionConfig {
|
|
4742
|
-
/**
|
|
4743
|
-
* Base URL for the smart-host API.
|
|
4744
|
-
* @default '' (relative to the current origin)
|
|
4745
|
-
*/
|
|
4746
|
-
baseUrl?: string;
|
|
4747
|
-
/**
|
|
4748
|
-
* Health endpoint used to discover the host `appId`.
|
|
4749
|
-
* @default '/api/health'
|
|
4750
|
-
*/
|
|
4751
|
-
healthEndpoint?: string;
|
|
4752
|
-
/**
|
|
4753
|
-
* Challenge endpoint used to obtain a message to sign.
|
|
4754
|
-
* @default '/api/auth/challenge'
|
|
4755
|
-
*/
|
|
4756
|
-
challengeEndpoint?: string;
|
|
4757
|
-
/**
|
|
4758
|
-
* Verify endpoint used to exchange the signed challenge for a bearer token.
|
|
4759
|
-
* @default '/api/auth/verify'
|
|
4760
|
-
*/
|
|
4761
|
-
verifyEndpoint?: string;
|
|
4762
|
-
/**
|
|
4763
|
-
* sessionStorage key used to persist the session token and expiry.
|
|
4764
|
-
* @default 'hsuite.smart-session'
|
|
4765
|
-
*/
|
|
4766
|
-
storageKey?: string;
|
|
4767
|
-
}
|
|
4768
|
-
/**
|
|
4769
|
-
* Health response shape expected from the smart host.
|
|
4770
|
-
*/
|
|
4771
|
-
interface SmartHostHealth {
|
|
4772
|
-
appId: string;
|
|
4773
|
-
[key: string]: unknown;
|
|
4774
|
-
}
|
|
4775
|
-
/**
|
|
4776
|
-
* Challenge response shape expected from the smart host.
|
|
4777
|
-
*/
|
|
4778
|
-
interface SmartHostChallenge {
|
|
4779
|
-
challenge: string;
|
|
4780
|
-
[key: string]: unknown;
|
|
4781
|
-
}
|
|
4782
|
-
/**
|
|
4783
|
-
* Verify request payload sent to the smart host.
|
|
4784
|
-
*/
|
|
4785
|
-
interface SmartHostVerifyRequest {
|
|
4786
|
-
appId: string;
|
|
4787
|
-
accountAddress: string;
|
|
4788
|
-
publicKey?: string;
|
|
4789
|
-
signature: string;
|
|
4790
|
-
algorithm?: string;
|
|
4791
|
-
message: string;
|
|
4792
|
-
caipChainId?: string;
|
|
4793
|
-
ledgerId?: string;
|
|
4794
|
-
networkId?: string;
|
|
4795
|
-
}
|
|
4796
|
-
/**
|
|
4797
|
-
* Verify response shape expected from the smart host.
|
|
4798
|
-
*/
|
|
4799
|
-
interface SmartHostVerifyResponse {
|
|
4800
|
-
bearer: string;
|
|
4801
|
-
expiresAt?: number;
|
|
4802
|
-
expiresIn?: number;
|
|
4803
|
-
[key: string]: unknown;
|
|
4804
|
-
}
|
|
4805
|
-
/**
|
|
4806
|
-
* Smart-host customer session helper.
|
|
4807
|
-
*
|
|
4808
|
-
* @service SmartSessionService
|
|
4809
|
-
*
|
|
4810
|
-
* @description
|
|
4811
|
-
* Encapsulates the full challenge → sign → verify → store JWT flow required by
|
|
4812
|
-
* HSuite smart hosts. The service is intentionally thin: it delegates signing to
|
|
4813
|
-
* {@link TransactionService} and relies on standard Angular `HttpClient` for the
|
|
4814
|
-
* host HTTP calls.
|
|
4815
|
-
*
|
|
4816
|
-
* @providedIn root
|
|
4817
|
-
*/
|
|
4818
|
-
declare class SmartSessionService {
|
|
4819
|
-
private readonly http;
|
|
4820
|
-
private readonly walletService;
|
|
4821
|
-
private readonly transactionService;
|
|
4822
|
-
private readonly config;
|
|
4823
|
-
private get baseUrl();
|
|
4824
|
-
private get healthEndpoint();
|
|
4825
|
-
private get challengeEndpoint();
|
|
4826
|
-
private get verifyEndpoint();
|
|
4827
|
-
private get storageKey();
|
|
4828
|
-
/**
|
|
4829
|
-
* Returns the currently stored bearer token, or `null` if there is no session.
|
|
4830
|
-
*
|
|
4831
|
-
* @returns Bearer token string or null
|
|
4832
|
-
*/
|
|
4833
|
-
getBearer(): string | null;
|
|
4834
|
-
/**
|
|
4835
|
-
* Checks whether a non-expired session is available.
|
|
4836
|
-
*
|
|
4837
|
-
* @returns true if logged in and the bearer has not expired
|
|
4838
|
-
*/
|
|
4839
|
-
isLoggedIn(): boolean;
|
|
4840
|
-
/**
|
|
4841
|
-
* Performs the full smart-host login handshake.
|
|
4842
|
-
*
|
|
4843
|
-
* @description
|
|
4844
|
-
* 1. Discovers `appId` from the health endpoint.
|
|
4845
|
-
* 2. Fetches a challenge from the challenge endpoint.
|
|
4846
|
-
* 3. Signs the challenge with the active wallet account.
|
|
4847
|
-
* 4. Exchanges the signed challenge for a bearer token.
|
|
4848
|
-
* 5. Stores the bearer and expiry in `sessionStorage`.
|
|
4849
|
-
*
|
|
4850
|
-
* @returns The verify response from the host
|
|
4851
|
-
*
|
|
4852
|
-
* @throws {Error} If no active account is available
|
|
4853
|
-
* @throws {Error} If the health endpoint does not return an `appId`
|
|
4854
|
-
* @throws {Error} If the challenge endpoint does not return a `challenge`
|
|
4855
|
-
* @throws {Error} If the verify call fails
|
|
4856
|
-
*/
|
|
4857
|
-
login(): Promise<SmartHostVerifyResponse>;
|
|
4858
|
-
/**
|
|
4859
|
-
* Clears the stored session.
|
|
4860
|
-
*/
|
|
4861
|
-
logout(): void;
|
|
4862
|
-
/**
|
|
4863
|
-
* Runs an HTTP operation with automatic 401 recovery.
|
|
4864
|
-
*
|
|
4865
|
-
* @description
|
|
4866
|
-
* Executes the provided operation. If it rejects with an HTTP 401 error,
|
|
4867
|
-
* the service clears the current bearer, performs a fresh login, and retries
|
|
4868
|
-
* the operation once. Any other error is propagated immediately.
|
|
4869
|
-
*
|
|
4870
|
-
* @param operation - Async operation that needs a valid session
|
|
4871
|
-
* @returns The result of the operation
|
|
4872
|
-
*
|
|
4873
|
-
* @throws {Error} The original error if retry is not possible or fails
|
|
4874
|
-
*/
|
|
4875
|
-
withSession<T>(operation: () => Promise<T>): Promise<T>;
|
|
4876
|
-
private fetchHealth;
|
|
4877
|
-
private fetchChallenge;
|
|
4878
|
-
private verifyChallenge;
|
|
4879
|
-
private resolveExpiry;
|
|
4880
|
-
private readStoredSession;
|
|
4881
|
-
private storeSession;
|
|
4882
|
-
private clearStoredSession;
|
|
4883
|
-
private isUnauthorizedError;
|
|
4884
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionService, never>;
|
|
4885
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionService>;
|
|
4886
|
-
}
|
|
4887
|
-
|
|
4888
|
-
/**
|
|
4889
|
-
* HSuite Native Connect
|
|
4890
|
-
* Copyright 2024-2025 HSuite (https://hsuite.finance)
|
|
4891
|
-
*
|
|
4892
|
-
* SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
|
|
4893
|
-
*
|
|
4894
|
-
* This file is part of HSuite Native Connect. For commercial licensing,
|
|
4895
|
-
* visit https://hsuite.finance/licensing
|
|
4896
|
-
*/
|
|
4897
|
-
/**
|
|
4898
|
-
* @file HTTP interceptor that attaches wallet-attributed auth headers.
|
|
4899
|
-
*
|
|
4900
|
-
* @module services/hsuite-auth-interceptor
|
|
4901
|
-
*
|
|
4902
|
-
* @description
|
|
4903
|
-
* `HsuiteAuthInterceptor` automatically adds the active smart-host bearer token
|
|
4904
|
-
* and wallet ledger identifier to outgoing HTTP requests. When a request fails
|
|
4905
|
-
* with HTTP 401, it delegates recovery to {@link SmartSessionService} for a
|
|
4906
|
-
* single re-login and retry.
|
|
4907
|
-
*
|
|
4908
|
-
* **Registration (standalone apps):**
|
|
4909
|
-
* ```typescript
|
|
4910
|
-
* provideHttpClient(withInterceptors([provideHsuiteAuthInterceptor()]))
|
|
4911
|
-
* ```
|
|
4912
|
-
*
|
|
4913
|
-
* **Registration (module-based apps):**
|
|
4914
|
-
* ```typescript
|
|
4915
|
-
* { provide: HTTP_INTERCEPTORS, useClass: HsuiteAuthInterceptor, multi: true }
|
|
4916
|
-
* ```
|
|
4917
|
-
*/
|
|
4918
|
-
|
|
4919
|
-
/**
|
|
4920
|
-
* Headers injected by the interceptor.
|
|
4921
|
-
*/
|
|
4922
|
-
declare const HSUITE_AUTH_HEADER = "Authorization";
|
|
4923
|
-
declare const HSUITE_LEDGER_HEADER = "X-Ledger-Id";
|
|
4924
|
-
/**
|
|
4925
|
-
* Functional HTTP interceptor that attaches wallet-attributed auth headers.
|
|
4926
|
-
*
|
|
4927
|
-
* @description
|
|
4928
|
-
* Adds:
|
|
4929
|
-
* - `Authorization: Bearer <token>` when {@link SmartSessionService.getBearer} returns a token
|
|
4930
|
-
* - `X-Ledger-Id: <ledgerId>` when a wallet account is active
|
|
4931
|
-
*
|
|
4932
|
-
* On 401 responses, clears the stale bearer and retries once after re-login.
|
|
4933
|
-
*
|
|
4934
|
-
* @param req - The outgoing HTTP request
|
|
4935
|
-
* @param next - The downstream request handler
|
|
4936
|
-
* @returns Observable of HTTP events
|
|
4937
|
-
*/
|
|
4938
|
-
declare const hsuiteAuthInterceptor: HttpInterceptorFn;
|
|
4939
|
-
/**
|
|
4940
|
-
* Class-based HTTP interceptor for module-based Angular apps.
|
|
4941
|
-
*
|
|
4942
|
-
* @description
|
|
4943
|
-
* Provides the same behavior as {@link hsuiteAuthInterceptor} in a class form
|
|
4944
|
-
* suitable for registration via `HTTP_INTERCEPTORS`.
|
|
4945
|
-
*/
|
|
4946
|
-
declare class HsuiteAuthInterceptor implements HttpInterceptor {
|
|
4947
|
-
private readonly session;
|
|
4948
|
-
private readonly wallet;
|
|
4949
|
-
/**
|
|
4950
|
-
* Intercepts outgoing HTTP requests to attach wallet-attributed auth headers.
|
|
4951
|
-
*
|
|
4952
|
-
* @param req - The outgoing HTTP request
|
|
4953
|
-
* @param next - The downstream request handler
|
|
4954
|
-
* @returns Observable of HTTP events
|
|
4955
|
-
*/
|
|
4956
|
-
intercept(req: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
|
|
4957
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HsuiteAuthInterceptor, never>;
|
|
4958
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HsuiteAuthInterceptor>;
|
|
4959
|
-
}
|
|
4960
|
-
|
|
4961
4731
|
/**
|
|
4962
4732
|
* Supported inner transaction types for batch transactions.
|
|
4963
4733
|
* Excludes 'batch-transaction' since batches cannot be nested.
|
|
@@ -7401,5 +7171,5 @@ declare function getLedgerName(ledgerId: string): string;
|
|
|
7401
7171
|
*/
|
|
7402
7172
|
declare function getTokenIcon(tokenIconUrl: string | undefined, ledgerId: string): string;
|
|
7403
7173
|
|
|
7404
|
-
export { ACTIVE_ACCOUNT_SOURCE, AccountActionsComponent, AccountFilterComponent, AccountFormattingService, AccountGroupingService, AccountListComponent, AccountSelectorComponent, AccountSelectorService, BaseWalletProvider, ChannelClientService, ChromeExtensionTransport, DEFAULT_LEDGER_ICONS, DEFAULT_WALLET_URL,
|
|
7405
|
-
export type { AccountChangeEvent, AccountCreateOptions, AccountGroupingMode, AccountItem, AccountSelectorConfig, AccountSelectorPresentationMode, AccountWithBalance, AccountsUpdateEvent, ActiveAccountData, ActiveAccountSource, BatchInnerTransaction, BatchInnerTransactionType, ChannelConnectConfig, ChromeExtensionTransportOptions, CompactHeaderFormat, CompactHeaderSize, ConnectionConfig, ConnectionEvent, ConnectionStatus, CreateOfferOptions, CreateOfferResult, DisconnectionEvent, HederaKeyConfig, HsuiteNativeConfig, IWalletConnectSigner, LedgerGroup$1 as LedgerGroup, LedgerUiDescriptor, MobileNativeConfig, NetworkGroup, P2PConnectionState, P2PNativeConnectionState, P2PSession, PairingOfferResult, ProtocolGroup, ProviderErrorEvent, ProviderMetadata, ProviderStatusEvent, ProviderType, SelectedAccountData, SessionEvent, SessionMetadata, SignMessageOptions, SignMessageResult, SignResult, SignTransactionOptions, SignerContext, SignerOperationParams, SigningOrchestratorConfig,
|
|
7174
|
+
export { ACTIVE_ACCOUNT_SOURCE, AccountActionsComponent, AccountFilterComponent, AccountFormattingService, AccountGroupingService, AccountListComponent, AccountSelectorComponent, AccountSelectorService, BaseWalletProvider, ChannelClientService, ChromeExtensionTransport, DEFAULT_LEDGER_ICONS, DEFAULT_WALLET_URL, HederaSigner, HederaTransactionBuilderService, HsuiteNativeProvider, HsuiteWalletModule, LEDGER_COLORS, LEDGER_ICON_NAMES, LEDGER_NAMES, LedgerUIRegistry, LoggerService, P2PNativeProvider, P2PSessionManager, SignerFactory, TransactionService, UnifiedWalletService, WalletAccountDisplayComponent, WalletConnectButtonComponent, WalletConnectClientManager, WalletConnectPromptComponent, WalletConnectSessionStore, WalletConnectSigningOrchestrator, WalletConnectV2Provider, WalletConnectedDirective, WalletConnectedGuardComponent, WalletConnectionModalComponent, WalletContextDirective, WalletContextService, WalletErrorHandler, WalletEventBus, WalletEventsDirective, WalletSessionDisplayComponent, WalletTransactionStatusComponent, XrplSigner, XrplTransactionBuilderService, getExtensionVersion, getLedgerColor, getLedgerIcon, getLedgerName, getTokenIcon, isExtensionInstalled, isHsuiteNativeConfig, isWalletConnectV2Config, provideWalletErrorHandler, registerLedgerIcons, scaleHederaAmountToBaseUnits };
|
|
7175
|
+
export type { AccountChangeEvent, AccountCreateOptions, AccountGroupingMode, AccountItem, AccountSelectorConfig, AccountSelectorPresentationMode, AccountWithBalance, AccountsUpdateEvent, ActiveAccountData, ActiveAccountSource, BatchInnerTransaction, BatchInnerTransactionType, ChannelConnectConfig, ChromeExtensionTransportOptions, CompactHeaderFormat, CompactHeaderSize, ConnectionConfig, ConnectionEvent, ConnectionStatus, CreateOfferOptions, CreateOfferResult, DisconnectionEvent, HederaKeyConfig, HsuiteNativeConfig, IWalletConnectSigner, LedgerGroup$1 as LedgerGroup, LedgerUiDescriptor, MobileNativeConfig, NetworkGroup, P2PConnectionState, P2PNativeConnectionState, P2PSession, PairingOfferResult, ProtocolGroup, ProviderErrorEvent, ProviderMetadata, ProviderStatusEvent, ProviderType, SelectedAccountData, SessionEvent, SessionMetadata, SignMessageOptions, SignMessageResult, SignResult, SignTransactionOptions, SignerContext, SignerOperationParams, SigningOrchestratorConfig, StoredSessionData, SubmitResult, SubmitTransactionOptions, TokenCreateOptions, TopicCreateOptions, UnifiedAccount, WCAppMetadata, WalletConnectSession, WalletConnectSignerConfig, WalletConnectV2Config, WalletContext, WalletErrorHandlerConfig, WalletSession };
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hsuite/native-connect-angular",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
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",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"test:coverage": "vitest run --coverage",
|
|
14
|
-
"docs": "compodoc -p tsconfig.json -c ../../compodoc.base.json -d dist/docs --name 'Angular SDK API' --includes docs"
|
|
15
|
-
},
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"main": "./dist/fesm2022/hsuite-native-connect-angular.mjs",
|
|
9
|
+
"module": "./dist/fesm2022/hsuite-native-connect-angular.mjs",
|
|
10
|
+
"fesm2022": "./dist/fesm2022/hsuite-native-connect-angular.mjs",
|
|
11
|
+
"typings": "./dist/index.d.ts",
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
16
13
|
"peerDependencies": {
|
|
17
14
|
"@angular/common": "^20.0.0",
|
|
18
15
|
"@angular/core": "^20.0.0",
|
|
@@ -23,16 +20,15 @@
|
|
|
23
20
|
"dependencies": {
|
|
24
21
|
"@hashgraph/proto": "^2.25.0",
|
|
25
22
|
"@hashgraph/sdk": "^2.76.0",
|
|
26
|
-
"@hsuite/native-connect-sdk": "^2.1.1",
|
|
27
|
-
"@hsuite/native-connect-types": "^2.1.1",
|
|
28
|
-
"@hsuite/native-connect-ui": "^2.1.1",
|
|
29
23
|
"@walletconnect/modal": "^2.7.0",
|
|
30
24
|
"@walletconnect/sign-client": "^2.23.0",
|
|
31
25
|
"@walletconnect/types": "^2.23.0",
|
|
32
26
|
"qr-scanner": "^1.4.2",
|
|
33
27
|
"qrcode": "^1.5.4",
|
|
34
28
|
"tslib": "^2.6.0",
|
|
35
|
-
"xrpl": "^3.0.0"
|
|
29
|
+
"xrpl": "^3.0.0",
|
|
30
|
+
"@hsuite/native-connect-types": "2.1.2",
|
|
31
|
+
"@hsuite/native-connect-sdk": "2.1.0"
|
|
36
32
|
},
|
|
37
33
|
"devDependencies": {
|
|
38
34
|
"@angular-devkit/build-angular": "^20.3.14",
|
|
@@ -56,5 +52,31 @@
|
|
|
56
52
|
},
|
|
57
53
|
"publishConfig": {
|
|
58
54
|
"access": "public"
|
|
55
|
+
},
|
|
56
|
+
"exports": {
|
|
57
|
+
"./package.json": {
|
|
58
|
+
"default": "./package.json"
|
|
59
|
+
},
|
|
60
|
+
".": {
|
|
61
|
+
"types": "./dist/index.d.ts",
|
|
62
|
+
"default": "./dist/fesm2022/hsuite-native-connect-angular.mjs"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"files": [
|
|
66
|
+
"dist"
|
|
67
|
+
],
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "https://github.com/HSuiteNetwork/hsuite-native-connect.git",
|
|
71
|
+
"directory": "packages/angular-sdk"
|
|
72
|
+
},
|
|
73
|
+
"homepage": "https://github.com/HSuiteNetwork/hsuite-native-connect/tree/master/packages/angular-sdk",
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "./node_modules/.bin/ng-packagr -p ng-package.json",
|
|
76
|
+
"clean": "rm -rf dist",
|
|
77
|
+
"test": "vitest run",
|
|
78
|
+
"test:watch": "vitest --watch",
|
|
79
|
+
"test:coverage": "vitest run --coverage",
|
|
80
|
+
"docs": "compodoc -p tsconfig.json -c ../../compodoc.base.json -d dist/docs --name 'Angular SDK API' --includes docs"
|
|
59
81
|
}
|
|
60
|
-
}
|
|
82
|
+
}
|