@naculus/connect-appkit-vue 0.12.1 → 0.14.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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { StencilVueComponent } from '@stencil/vue-output-target/runtime';
|
|
|
2
2
|
import { JSX } from '@naculus/connect-appkit-wc';
|
|
3
3
|
import { ComputedRef, MaybeRefOrGetter, MaybeRef, ShallowRef, shallowRef, ref } from 'vue';
|
|
4
4
|
import { AuthorizationManagers, ListedAuthorization, RevokeListedAuthorizationResult, InAppChannel, NotificationItem, NotificationSettings, SimulationResult, ERC20_MIN_ABI, TokenConfig, ActiveSessionBundle, ChainSession, SessionManager, WalletError, UniversalWalletSession, SolanaConfirmationStatus, BatchCall, AtomicityRequirement, ExecutionPlan, CallsStatus, ExecutionStrategy, SessionKeyManagerConfig, SessionKeyManager, SessionKeyInfo, SessionKeyScope, SessionKeyTransaction, Address, SmartAccountManager, SmartAccountInfo, SmartAccountConfig, Hex, Call, SendUserOpOptions, UserOperationResponse, UserOperationReceipt, ScopeCheckResult, TokenListSource, TokenListManager, TokenListEntry, TokenSearchResult, UniversalConnector, SentDelegation, SettlementVerification, SolanaSessionKeyInfo, SolanaSessionKeyScope, AddressResult, NameResolverConfig, NameResult, PassphraseGate } from '@naculus/connect-core';
|
|
5
|
-
import { NotificationSettingsStorage, WalletChain, SimulationCallClient, SimulationTransaction, X402TypedDataSigner, X402SignerUnavailableReason, X402Eip1193Provider, SiwxResultLike, PolicySignatureVerifier, PolicyExecutionPreview, PolicyExecutionAdapter, DelegationTypedData, DelegationPolicyPreview, PolicyExecutionSubmission, SmartAccountType, RouteQuote, RouteQuoteInput, GetRouteQuotes, CostComparison, CompareCostsInput, CompareCosts, ExecutableQuote, ExecuteRouteOptions, ExecuteRouteResult, ExecuteRouteError, ExecuteRoute, DestinationValidation, PaymentFetchResult, VerifyRetryOptions, PaymentFetch, PaymentRecord, MppSessionRequest, MppSessionChannel, MppSessionReceipt, MppSessionFetchResult, MppSessionForceCloseResult, MppSessionFetch, SolanaSessionKeyFlowDeps, ChainInfo, ChainCapabilities, AtomicSupport, SolanaRoles, SolanaRolesAbsence, SolanaIdentity, SolanaSigner, SolanaPayer, SolanaRolesSource } from '@naculus/connect-appkit-core';
|
|
5
|
+
import { NotificationSettingsStorage, WalletChain, SimulationCallClient, SimulationTransaction, X402TypedDataSigner, X402SignerUnavailableReason, X402Eip1193Provider, SiwxResultLike, PolicySignatureVerifier, PolicyExecutionPreview, PolicyExecutionAdapter, DelegationTypedData, DelegationPolicyPreview, PolicyExecutionSubmission, SmartAccountType, Eip3009SessionKeyRail, SessionKeyRailGrantCheck, RouteQuote, RouteQuoteInput, GetRouteQuotes, CostComparison, CompareCostsInput, CompareCosts, ExecutableQuote, ExecuteRouteOptions, ExecuteRouteResult, ExecuteRouteError, ExecuteRoute, DestinationValidation, PaymentFetchResult, VerifyRetryOptions, PaymentFetch, PaymentRecord, MppSessionRequest, MppSessionChannel, MppSessionReceipt, MppSessionFetchResult, MppSessionForceCloseResult, MppSessionFetch, SolanaSessionKeyFlowDeps, ChainInfo, ChainCapabilities, AtomicSupport, SolanaRoles, SolanaRolesAbsence, SolanaIdentity, SolanaSigner, SolanaPayer, SolanaRolesSource } from '@naculus/connect-appkit-core';
|
|
6
6
|
export { AtomicSupport, ChainCapabilities, SolanaIdentity, SolanaPayer, SolanaRoles, SolanaRolesAbsence, SolanaRolesSource, SolanaSigner, SolanaWalletFeatures } from '@naculus/connect-appkit-core';
|
|
7
7
|
|
|
8
8
|
declare const AppkitAccordion: StencilVueComponent<JSX.AppkitAccordion>;
|
|
@@ -567,6 +567,7 @@ interface UseSessionKeysReturn {
|
|
|
567
567
|
refresh: () => Promise<void>;
|
|
568
568
|
clearError: () => void;
|
|
569
569
|
storageAvailable: boolean;
|
|
570
|
+
checkRailGrant: (scope: SessionKeyScope | null | undefined, rail: Eip3009SessionKeyRail) => SessionKeyRailGrantCheck;
|
|
570
571
|
}
|
|
571
572
|
/**
|
|
572
573
|
* Lists session keys while a wallet session is connected; an empty list
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { StencilVueComponent } from '@stencil/vue-output-target/runtime';
|
|
|
2
2
|
import { JSX } from '@naculus/connect-appkit-wc';
|
|
3
3
|
import { ComputedRef, MaybeRefOrGetter, MaybeRef, ShallowRef, shallowRef, ref } from 'vue';
|
|
4
4
|
import { AuthorizationManagers, ListedAuthorization, RevokeListedAuthorizationResult, InAppChannel, NotificationItem, NotificationSettings, SimulationResult, ERC20_MIN_ABI, TokenConfig, ActiveSessionBundle, ChainSession, SessionManager, WalletError, UniversalWalletSession, SolanaConfirmationStatus, BatchCall, AtomicityRequirement, ExecutionPlan, CallsStatus, ExecutionStrategy, SessionKeyManagerConfig, SessionKeyManager, SessionKeyInfo, SessionKeyScope, SessionKeyTransaction, Address, SmartAccountManager, SmartAccountInfo, SmartAccountConfig, Hex, Call, SendUserOpOptions, UserOperationResponse, UserOperationReceipt, ScopeCheckResult, TokenListSource, TokenListManager, TokenListEntry, TokenSearchResult, UniversalConnector, SentDelegation, SettlementVerification, SolanaSessionKeyInfo, SolanaSessionKeyScope, AddressResult, NameResolverConfig, NameResult, PassphraseGate } from '@naculus/connect-core';
|
|
5
|
-
import { NotificationSettingsStorage, WalletChain, SimulationCallClient, SimulationTransaction, X402TypedDataSigner, X402SignerUnavailableReason, X402Eip1193Provider, SiwxResultLike, PolicySignatureVerifier, PolicyExecutionPreview, PolicyExecutionAdapter, DelegationTypedData, DelegationPolicyPreview, PolicyExecutionSubmission, SmartAccountType, RouteQuote, RouteQuoteInput, GetRouteQuotes, CostComparison, CompareCostsInput, CompareCosts, ExecutableQuote, ExecuteRouteOptions, ExecuteRouteResult, ExecuteRouteError, ExecuteRoute, DestinationValidation, PaymentFetchResult, VerifyRetryOptions, PaymentFetch, PaymentRecord, MppSessionRequest, MppSessionChannel, MppSessionReceipt, MppSessionFetchResult, MppSessionForceCloseResult, MppSessionFetch, SolanaSessionKeyFlowDeps, ChainInfo, ChainCapabilities, AtomicSupport, SolanaRoles, SolanaRolesAbsence, SolanaIdentity, SolanaSigner, SolanaPayer, SolanaRolesSource } from '@naculus/connect-appkit-core';
|
|
5
|
+
import { NotificationSettingsStorage, WalletChain, SimulationCallClient, SimulationTransaction, X402TypedDataSigner, X402SignerUnavailableReason, X402Eip1193Provider, SiwxResultLike, PolicySignatureVerifier, PolicyExecutionPreview, PolicyExecutionAdapter, DelegationTypedData, DelegationPolicyPreview, PolicyExecutionSubmission, SmartAccountType, Eip3009SessionKeyRail, SessionKeyRailGrantCheck, RouteQuote, RouteQuoteInput, GetRouteQuotes, CostComparison, CompareCostsInput, CompareCosts, ExecutableQuote, ExecuteRouteOptions, ExecuteRouteResult, ExecuteRouteError, ExecuteRoute, DestinationValidation, PaymentFetchResult, VerifyRetryOptions, PaymentFetch, PaymentRecord, MppSessionRequest, MppSessionChannel, MppSessionReceipt, MppSessionFetchResult, MppSessionForceCloseResult, MppSessionFetch, SolanaSessionKeyFlowDeps, ChainInfo, ChainCapabilities, AtomicSupport, SolanaRoles, SolanaRolesAbsence, SolanaIdentity, SolanaSigner, SolanaPayer, SolanaRolesSource } from '@naculus/connect-appkit-core';
|
|
6
6
|
export { AtomicSupport, ChainCapabilities, SolanaIdentity, SolanaPayer, SolanaRoles, SolanaRolesAbsence, SolanaRolesSource, SolanaSigner, SolanaWalletFeatures } from '@naculus/connect-appkit-core';
|
|
7
7
|
|
|
8
8
|
declare const AppkitAccordion: StencilVueComponent<JSX.AppkitAccordion>;
|
|
@@ -567,6 +567,7 @@ interface UseSessionKeysReturn {
|
|
|
567
567
|
refresh: () => Promise<void>;
|
|
568
568
|
clearError: () => void;
|
|
569
569
|
storageAvailable: boolean;
|
|
570
|
+
checkRailGrant: (scope: SessionKeyScope | null | undefined, rail: Eip3009SessionKeyRail) => SessionKeyRailGrantCheck;
|
|
570
571
|
}
|
|
571
572
|
/**
|
|
572
573
|
* Lists session keys while a wallet session is connected; an empty list
|
package/dist/index.js
CHANGED
|
@@ -1212,7 +1212,10 @@ import {
|
|
|
1212
1212
|
} from "vue";
|
|
1213
1213
|
|
|
1214
1214
|
// src/useSessionKeys.ts
|
|
1215
|
-
import {
|
|
1215
|
+
import {
|
|
1216
|
+
checkSessionKeyRailGrant,
|
|
1217
|
+
getSharedSessionKeyManager
|
|
1218
|
+
} from "@naculus/connect-appkit-core";
|
|
1216
1219
|
import { computed as computed12, onScopeDispose as onScopeDispose7, shallowRef as shallowRef12, toValue as toValue13, watch as watch6 } from "vue";
|
|
1217
1220
|
function resolveManager(config, options) {
|
|
1218
1221
|
return options.manager ?? getSharedSessionKeyManager(config);
|
|
@@ -1265,7 +1268,8 @@ function useSessionKeys(connected, config, options = {}) {
|
|
|
1265
1268
|
clearError: () => {
|
|
1266
1269
|
error.value = null;
|
|
1267
1270
|
},
|
|
1268
|
-
storageAvailable: manager.isStorageAvailable()
|
|
1271
|
+
storageAvailable: manager.isStorageAvailable(),
|
|
1272
|
+
checkRailGrant: checkSessionKeyRailGrant
|
|
1269
1273
|
};
|
|
1270
1274
|
}
|
|
1271
1275
|
function useCreateSessionKey(config, options = {}) {
|