@vue-solana/core 1.2.0 → 2.0.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 +44 -35
- package/dist/address.cjs +10 -10
- package/dist/address.d.cts +11 -13
- package/dist/address.d.mts +11 -13
- package/dist/address.d.ts +11 -13
- package/dist/address.mjs +10 -10
- package/dist/buffer-polyfill.d.cts +0 -1
- package/dist/buffer-polyfill.d.mts +0 -1
- package/dist/buffer-polyfill.d.ts +0 -1
- package/dist/clusters.d.cts +1 -4
- package/dist/clusters.d.mts +1 -4
- package/dist/clusters.d.ts +1 -4
- package/dist/index.cjs +3 -19
- package/dist/index.d.cts +5 -9
- package/dist/index.d.mts +5 -9
- package/dist/index.d.ts +5 -9
- package/dist/index.mjs +4 -6
- package/dist/ios-wallet.cjs +2 -2
- package/dist/ios-wallet.d.cts +1 -4
- package/dist/ios-wallet.d.mts +1 -4
- package/dist/ios-wallet.d.ts +1 -4
- package/dist/ios-wallet.mjs +2 -2
- package/dist/kit.d.cts +2 -5
- package/dist/kit.d.mts +2 -5
- package/dist/kit.d.ts +2 -5
- package/dist/mobile-wallet.d.cts +1 -4
- package/dist/mobile-wallet.d.mts +1 -4
- package/dist/mobile-wallet.d.ts +1 -4
- package/dist/rpc.cjs +0 -12
- package/dist/rpc.d.cts +2 -11
- package/dist/rpc.d.mts +2 -11
- package/dist/rpc.d.ts +2 -11
- package/dist/rpc.mjs +1 -12
- package/dist/shared/{core.DjbtrJWl.mjs → core.BOHiMZiM.mjs} +7 -33
- package/dist/shared/{core.Ch_Z7_17.mjs → core.BwW4HVQI.mjs} +12 -28
- package/dist/shared/{core.BsekSwcZ.cjs → core.Cb48vQvC.cjs} +12 -28
- package/dist/shared/{core.BQoh-5Wu.cjs → core.Cu_gaUSn.cjs} +20 -46
- package/dist/shared/{core.DAUuCWrr.d.mts → core.DMgTrB_2.d.cts} +21 -17
- package/dist/shared/{core.DAUuCWrr.d.ts → core.DMgTrB_2.d.mts} +21 -17
- package/dist/shared/{core.DAUuCWrr.d.cts → core.DMgTrB_2.d.ts} +21 -17
- package/dist/token-accounts.cjs +44 -28
- package/dist/token-accounts.d.cts +20 -20
- package/dist/token-accounts.d.mts +20 -20
- package/dist/token-accounts.d.ts +20 -20
- package/dist/token-accounts.mjs +44 -28
- package/dist/transaction.cjs +50 -31
- package/dist/transaction.d.cts +9 -15
- package/dist/transaction.d.mts +9 -15
- package/dist/transaction.d.ts +9 -15
- package/dist/transaction.mjs +51 -32
- package/dist/types.d.cts +1 -4
- package/dist/types.d.mts +1 -4
- package/dist/types.d.ts +1 -4
- package/dist/wallet-standard.cjs +1 -4
- package/dist/wallet-standard.d.cts +1 -4
- package/dist/wallet-standard.d.mts +1 -4
- package/dist/wallet-standard.d.ts +1 -4
- package/dist/wallet-standard.mjs +1 -4
- package/dist/wallet.d.cts +1 -4
- package/dist/wallet.d.mts +1 -4
- package/dist/wallet.d.ts +1 -4
- package/package.json +1 -13
- package/dist/spl-token.cjs +0 -12
- package/dist/spl-token.d.cts +0 -4
- package/dist/spl-token.d.mts +0 -4
- package/dist/spl-token.d.ts +0 -4
- package/dist/spl-token.mjs +0 -1
- package/dist/web3.cjs +0 -13
- package/dist/web3.d.cts +0 -3
- package/dist/web3.d.mts +0 -3
- package/dist/web3.d.ts +0 -3
- package/dist/web3.mjs +0 -1
- package/types/web3-compat.d.ts +0 -140
package/README.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
Framework-agnostic Solana primitives for Vue Solana libraries and apps that want shared RPC, wallet, and transaction helpers without installing a Vue plugin.
|
|
9
9
|
|
|
10
|
-
Use this package directly when you want
|
|
10
|
+
Use this package directly when you want Kit RPC client helpers, shared wallet types, Android Mobile Wallet Adapter registration helpers, message signing support, token account reads, and transaction helpers without installing the Vue plugin.
|
|
11
11
|
|
|
12
|
-
`@vue-solana/core`
|
|
12
|
+
`@vue-solana/core` builds on `@solana/kit`. It exposes `createSolanaClient()` and re-exports Kit primitives (`address`, `lamports`, and the `Address`, `Commitment`, `Lamports`, `Rpc`, `Signature`, and `SolanaRpcApi` types) from `@vue-solana/core/kit`. The legacy `@solana/web3-compat` surface and the `web3` subpaths were removed in v2.0.0; transactions flow through the packages as raw `Uint8Array` wire bytes.
|
|
13
13
|
|
|
14
14
|
Official Solana docs:
|
|
15
15
|
|
|
@@ -27,24 +27,26 @@ Full Vue Solana docs:
|
|
|
27
27
|
|
|
28
28
|
## Features
|
|
29
29
|
|
|
30
|
-
- Cluster-aware RPC
|
|
30
|
+
- Cluster-aware RPC helpers with HTTP and WebSocket endpoint defaults.
|
|
31
|
+
- A Kit `client` with lazy `rpc` and `rpcSubscriptions` through `createSolanaClient()` / `createSolanaContext()`.
|
|
31
32
|
- Shared `SolanaConfig`, `SolanaContext`, and `SolanaWallet` types for framework integrations.
|
|
32
33
|
- Wallet capability assertions for connection, message signing, and transaction signing flows.
|
|
33
34
|
- Browser Wallet Standard adaptation primitives.
|
|
34
35
|
- Android Mobile Wallet Adapter registration helpers.
|
|
35
36
|
- iOS browser wallet link helpers for supported wallets.
|
|
36
37
|
- Transaction submission and confirmation helpers.
|
|
38
|
+
- SPL token account reads through Kit RPC `jsonParsed`.
|
|
37
39
|
|
|
38
40
|
## Compatibility
|
|
39
41
|
|
|
40
|
-
| Requirement | Supported
|
|
41
|
-
| ------------- |
|
|
42
|
-
| Runtime | Modern ESM or CommonJS bundlers
|
|
43
|
-
| TypeScript | TypeScript 5.x recommended
|
|
44
|
-
| Solana client | `@solana/
|
|
45
|
-
| Clusters | `mainnet-beta`, `devnet`, `testnet`, `localnet`
|
|
42
|
+
| Requirement | Supported |
|
|
43
|
+
| ------------- | --------------------------------------------------- |
|
|
44
|
+
| Runtime | Modern ESM or CommonJS bundlers |
|
|
45
|
+
| TypeScript | TypeScript 5.x recommended |
|
|
46
|
+
| Solana client | `@solana/kit@^8.3.0` (and `@solana/kit-plugin-rpc`) |
|
|
47
|
+
| Clusters | `mainnet-beta`, `devnet`, `testnet`, `localnet` |
|
|
46
48
|
|
|
47
|
-
This package depends on `@solana/web3-compat
|
|
49
|
+
This package no longer depends on `@solana/web3-compat`. It depends on `@solana/kit` and `@solana/kit-plugin-rpc`, so apps do not need to install either directly for normal Vue Solana usage.
|
|
48
50
|
|
|
49
51
|
## Install
|
|
50
52
|
|
|
@@ -65,21 +67,21 @@ const solana = createSolanaContext({
|
|
|
65
67
|
cluster: "devnet",
|
|
66
68
|
});
|
|
67
69
|
|
|
68
|
-
const {
|
|
70
|
+
const { value } = await solana.client.rpc.getLatestBlockhash().send();
|
|
69
71
|
|
|
70
|
-
console.log(solana.endpoint, blockhash);
|
|
72
|
+
console.log(solana.endpoint, value.blockhash);
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
The root export remains supported. Direct subpath exports are also available for narrower imports:
|
|
74
76
|
|
|
75
77
|
```ts
|
|
76
78
|
import { createSolanaContext } from "@vue-solana/core/rpc";
|
|
77
|
-
import {
|
|
78
|
-
import { PublicKey, Transaction } from "@vue-solana/core/web3";
|
|
79
|
+
import { parseAddress } from "@vue-solana/core/address";
|
|
79
80
|
import type { SolanaConfig } from "@vue-solana/core/types";
|
|
81
|
+
import { address, createSolanaClient } from "@vue-solana/core/kit";
|
|
80
82
|
```
|
|
81
83
|
|
|
82
|
-
Browser apps that
|
|
84
|
+
Browser apps that serialize transactions can install the Buffer polyfill before transaction code runs:
|
|
83
85
|
|
|
84
86
|
```ts
|
|
85
87
|
import { installSolanaBufferPolyfill } from "@vue-solana/core/buffer-polyfill";
|
|
@@ -106,7 +108,7 @@ const config: SolanaConfig = {
|
|
|
106
108
|
| `cluster` | `"mainnet-beta" \| "devnet" \| "testnet" \| "localnet"` | `"devnet"` | Solana cluster used when `endpoint` is omitted. |
|
|
107
109
|
| `endpoint` | `string` | Public endpoint for `cluster` | HTTP RPC endpoint. Use a dedicated RPC provider for production apps. |
|
|
108
110
|
| `wsEndpoint` | `string` | Derived from `endpoint` | WebSocket RPC endpoint. |
|
|
109
|
-
| `commitment` | Solana commitment | Solana client default | Default commitment for
|
|
111
|
+
| `commitment` | Solana commitment | Solana client default | Default commitment for RPC calls. |
|
|
110
112
|
| `autoConnect` | `boolean` | `false` | Consumed by Vue/Nuxt integrations to reconnect a previously selected discovered wallet. |
|
|
111
113
|
|
|
112
114
|
Supported clusters are `mainnet-beta`, `testnet`, `devnet`, and `localnet`. If `endpoint` is omitted, the package uses the public Solana RPC endpoint for the selected cluster. If `wsEndpoint` is omitted, it is derived from the RPC endpoint.
|
|
@@ -131,29 +133,33 @@ Direct subpaths:
|
|
|
131
133
|
- `@vue-solana/core/clusters`
|
|
132
134
|
- `@vue-solana/core/errors`
|
|
133
135
|
- `@vue-solana/core/ios-wallet`
|
|
136
|
+
- `@vue-solana/core/kit`
|
|
134
137
|
- `@vue-solana/core/mobile-wallet`
|
|
135
138
|
- `@vue-solana/core/rpc`
|
|
139
|
+
- `@vue-solana/core/token-accounts`
|
|
136
140
|
- `@vue-solana/core/timeout`
|
|
137
141
|
- `@vue-solana/core/transaction`
|
|
138
142
|
- `@vue-solana/core/wallet`
|
|
139
143
|
- `@vue-solana/core/wallet-standard`
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
| `
|
|
145
|
-
| `
|
|
146
|
-
| `
|
|
147
|
-
| `
|
|
148
|
-
| `
|
|
149
|
-
| `
|
|
150
|
-
| `
|
|
151
|
-
| `
|
|
152
|
-
| `
|
|
153
|
-
| `
|
|
154
|
-
| `
|
|
155
|
-
| `
|
|
156
|
-
| `
|
|
144
|
+
|
|
145
|
+
| API | Description |
|
|
146
|
+
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
147
|
+
| `DEFAULT_CLUSTER` | Default cluster, currently `devnet`. |
|
|
148
|
+
| `parseAddress(value)` | Parses an `Address`, address string, ref-like `{ value }`, getter, `null`, or `undefined` into an `Address \| null`. Invalid strings throw `INVALID_ADDRESS`. |
|
|
149
|
+
| `createSolanaClient(config?)` | Creates a Kit client exposing lazy `rpc` and `rpcSubscriptions`. |
|
|
150
|
+
| `createSolanaContext(config?)` | Creates `{ cluster, endpoint, wsEndpoint, client }`. |
|
|
151
|
+
| `getClusterEndpoint(cluster?)` | Returns the HTTP RPC endpoint for a cluster. |
|
|
152
|
+
| `getClusterWebSocketEndpoint(cluster?)` | Returns the WebSocket endpoint for a cluster. |
|
|
153
|
+
| `getWebSocketEndpoint(endpoint)` | Converts `http`/`https` RPC URLs to `ws`/`wss` URLs. |
|
|
154
|
+
| `isWalletConnected(wallet)` | Checks whether a wallet is connected and has an address. |
|
|
155
|
+
| `assertWalletConnected(wallet)` | Throws if the wallet is not connected. |
|
|
156
|
+
| `assertWalletCanSignMessage(wallet)` | Throws if the wallet is disconnected or cannot sign messages. |
|
|
157
|
+
| `assertWalletCanSign(wallet)` | Throws if the wallet cannot sign transactions. |
|
|
158
|
+
| `signAndSendTransaction(client, wallet, transaction, options?)` | Signs and sends raw wire bytes (`SolanaTransaction = Uint8Array`) using a configured wallet. |
|
|
159
|
+
| `confirmTransactionSignature(client, signature, options?)` | Waits for a submitted signature to reach a requested commitment by polling `getSignatureStatuses`. Defaults to `confirmed` and a 60 second timeout. |
|
|
160
|
+
| `getTokenAccountsByOwner(client, owner, options?)` | Returns SPL token accounts for an owner (token and token-2022 programs by default). |
|
|
161
|
+
| `getTokenAccount(client, address, commitment?)` | Reads a single token account, returning `null` when it does not exist. |
|
|
162
|
+
| `getTokenBalance(client, mint, owner, commitment?)` | Reads the token balance for an owner's associated token account as `{ amount, decimals }`. |
|
|
157
163
|
|
|
158
164
|
## Wallet Interface
|
|
159
165
|
|
|
@@ -170,6 +176,8 @@ const wallet: SolanaWallet = {
|
|
|
170
176
|
};
|
|
171
177
|
```
|
|
172
178
|
|
|
179
|
+
`SolanaWallet.publicKey` is an `Address` string (`null` when disconnected). `signTransaction` and `signAllTransactions` accept and return raw `Uint8Array` wire bytes.
|
|
180
|
+
|
|
173
181
|
Browser extension wallets discovered through the Solana Wallet Standard are adapted into `SolanaWallet`. Android Mobile Wallet Adapter is registered through `@solana-mobile/wallet-standard-mobile` and then adapted through the same Wallet Standard adapter on supported Android Chrome clients. iOS browser wallet entries for Phantom, Solflare, and Backpack are adapted through wallet-specific universal links. Wallet capability metadata exposes whether each wallet supports message signing, transaction signing, and sign-and-send flows. You can also provide a custom object that implements `SolanaWallet` for tests or custom adapters.
|
|
174
182
|
|
|
175
183
|
Current wallet support:
|
|
@@ -206,9 +214,10 @@ Docs: [Vue Solana Agent Skill](https://vue-solana-docs.vercel.app/agent-skill)
|
|
|
206
214
|
|
|
207
215
|
- Public Solana RPC endpoints are useful for development, but production apps should use dedicated RPC infrastructure.
|
|
208
216
|
- Use `mainnet-beta` for Solana mainnet. `mainnet` is intentionally not accepted as a cluster alias.
|
|
209
|
-
-
|
|
217
|
+
- Transactions are raw wire bytes. Build transaction messages with `@solana/kit` (`createTransactionMessage()`, `compileTransaction()`) and serialize them before passing them to wallet flows.
|
|
218
|
+
- v2.0.0 removed `@solana/web3-compat` and the `web3` subpaths. See the [Kit Migration guide](https://vue-solana-docs.vercel.app/guides/kit-migration) for migrating from v1.
|
|
210
219
|
- Desktop native app wallets are planned but not implemented yet.
|
|
211
220
|
|
|
212
221
|
## Status
|
|
213
222
|
|
|
214
|
-
This package provides RPC helpers, browser extension wallet primitives, Android mobile wallet registration, message signing, and transaction helpers.
|
|
223
|
+
This package provides Kit RPC helpers, browser extension wallet primitives, Android mobile wallet registration, message signing, token account reads, and transaction helpers.
|
package/dist/address.cjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const kit = require('@solana/kit');
|
|
4
4
|
const errors = require('./errors.cjs');
|
|
5
5
|
|
|
6
|
-
function
|
|
7
|
-
const
|
|
8
|
-
if (!
|
|
6
|
+
function parseAddress(value) {
|
|
7
|
+
const input = toAddressInput(value);
|
|
8
|
+
if (!input) {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
11
|
-
if (
|
|
12
|
-
return
|
|
11
|
+
if (kit.isAddress(input)) {
|
|
12
|
+
return input;
|
|
13
13
|
}
|
|
14
14
|
try {
|
|
15
|
-
return
|
|
15
|
+
return kit.address(input);
|
|
16
16
|
} catch (cause) {
|
|
17
17
|
throw errors.createSolanaError("INVALID_ADDRESS", "Invalid Solana address", { cause });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function toAddressInput(value) {
|
|
21
21
|
if (!value) {
|
|
22
22
|
return null;
|
|
23
23
|
}
|
|
24
24
|
if (typeof value === "function") {
|
|
25
25
|
return value();
|
|
26
26
|
}
|
|
27
|
-
if (
|
|
27
|
+
if (typeof value === "string") {
|
|
28
28
|
return value;
|
|
29
29
|
}
|
|
30
30
|
return value.value;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
exports.
|
|
33
|
+
exports.parseAddress = parseAddress;
|
package/dist/address.d.cts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { PublicKey } from '@solana/web3-compat';
|
|
1
|
+
import { Address } from '@solana/kit';
|
|
4
2
|
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
value:
|
|
8
|
-
} | (() =>
|
|
3
|
+
type AddressInput = Address | string | null | undefined;
|
|
4
|
+
type MaybeAddressInput = AddressInput | {
|
|
5
|
+
value: AddressInput;
|
|
6
|
+
} | (() => AddressInput);
|
|
9
7
|
/**
|
|
10
|
-
* Parse a
|
|
8
|
+
* Parse a Solana address from a Kit `Address`, string, ref, or getter.
|
|
11
9
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* Valid strings are returned as `Address`; invalid input throws a
|
|
11
|
+
* `SolanaError` with code `INVALID_ADDRESS`.
|
|
14
12
|
*/
|
|
15
|
-
declare function
|
|
13
|
+
declare function parseAddress(value: MaybeAddressInput): Address | null;
|
|
16
14
|
|
|
17
|
-
export {
|
|
18
|
-
export type {
|
|
15
|
+
export { parseAddress };
|
|
16
|
+
export type { AddressInput, MaybeAddressInput };
|
package/dist/address.d.mts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { PublicKey } from '@solana/web3-compat';
|
|
1
|
+
import { Address } from '@solana/kit';
|
|
4
2
|
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
value:
|
|
8
|
-
} | (() =>
|
|
3
|
+
type AddressInput = Address | string | null | undefined;
|
|
4
|
+
type MaybeAddressInput = AddressInput | {
|
|
5
|
+
value: AddressInput;
|
|
6
|
+
} | (() => AddressInput);
|
|
9
7
|
/**
|
|
10
|
-
* Parse a
|
|
8
|
+
* Parse a Solana address from a Kit `Address`, string, ref, or getter.
|
|
11
9
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* Valid strings are returned as `Address`; invalid input throws a
|
|
11
|
+
* `SolanaError` with code `INVALID_ADDRESS`.
|
|
14
12
|
*/
|
|
15
|
-
declare function
|
|
13
|
+
declare function parseAddress(value: MaybeAddressInput): Address | null;
|
|
16
14
|
|
|
17
|
-
export {
|
|
18
|
-
export type {
|
|
15
|
+
export { parseAddress };
|
|
16
|
+
export type { AddressInput, MaybeAddressInput };
|
package/dist/address.d.ts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { PublicKey } from '@solana/web3-compat';
|
|
1
|
+
import { Address } from '@solana/kit';
|
|
4
2
|
|
|
5
|
-
type
|
|
6
|
-
type
|
|
7
|
-
value:
|
|
8
|
-
} | (() =>
|
|
3
|
+
type AddressInput = Address | string | null | undefined;
|
|
4
|
+
type MaybeAddressInput = AddressInput | {
|
|
5
|
+
value: AddressInput;
|
|
6
|
+
} | (() => AddressInput);
|
|
9
7
|
/**
|
|
10
|
-
* Parse a
|
|
8
|
+
* Parse a Solana address from a Kit `Address`, string, ref, or getter.
|
|
11
9
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* Valid strings are returned as `Address`; invalid input throws a
|
|
11
|
+
* `SolanaError` with code `INVALID_ADDRESS`.
|
|
14
12
|
*/
|
|
15
|
-
declare function
|
|
13
|
+
declare function parseAddress(value: MaybeAddressInput): Address | null;
|
|
16
14
|
|
|
17
|
-
export {
|
|
18
|
-
export type {
|
|
15
|
+
export { parseAddress };
|
|
16
|
+
export type { AddressInput, MaybeAddressInput };
|
package/dist/address.mjs
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isAddress, address } from '@solana/kit';
|
|
2
2
|
import { createSolanaError } from './errors.mjs';
|
|
3
3
|
|
|
4
|
-
function
|
|
5
|
-
const
|
|
6
|
-
if (!
|
|
4
|
+
function parseAddress(value) {
|
|
5
|
+
const input = toAddressInput(value);
|
|
6
|
+
if (!input) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
|
-
if (
|
|
10
|
-
return
|
|
9
|
+
if (isAddress(input)) {
|
|
10
|
+
return input;
|
|
11
11
|
}
|
|
12
12
|
try {
|
|
13
|
-
return
|
|
13
|
+
return address(input);
|
|
14
14
|
} catch (cause) {
|
|
15
15
|
throw createSolanaError("INVALID_ADDRESS", "Invalid Solana address", { cause });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function toAddressInput(value) {
|
|
19
19
|
if (!value) {
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
22
|
if (typeof value === "function") {
|
|
23
23
|
return value();
|
|
24
24
|
}
|
|
25
|
-
if (
|
|
25
|
+
if (typeof value === "string") {
|
|
26
26
|
return value;
|
|
27
27
|
}
|
|
28
28
|
return value.value;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { parseAddress };
|
package/dist/clusters.d.cts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { c as SolanaCluster } from './shared/core.DAUuCWrr.cjs';
|
|
4
|
-
import '@solana/web3-compat';
|
|
1
|
+
import { c as SolanaCluster } from './shared/core.DMgTrB_2.cjs';
|
|
5
2
|
import '@solana/kit';
|
|
6
3
|
|
|
7
4
|
declare const DEFAULT_CLUSTER: SolanaCluster;
|
package/dist/clusters.d.mts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { c as SolanaCluster } from './shared/core.DAUuCWrr.mjs';
|
|
4
|
-
import '@solana/web3-compat';
|
|
1
|
+
import { c as SolanaCluster } from './shared/core.DMgTrB_2.mjs';
|
|
5
2
|
import '@solana/kit';
|
|
6
3
|
|
|
7
4
|
declare const DEFAULT_CLUSTER: SolanaCluster;
|
package/dist/clusters.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { c as SolanaCluster } from './shared/core.DAUuCWrr.js';
|
|
4
|
-
import '@solana/web3-compat';
|
|
1
|
+
import { c as SolanaCluster } from './shared/core.DMgTrB_2.js';
|
|
5
2
|
import '@solana/kit';
|
|
6
3
|
|
|
7
4
|
declare const DEFAULT_CLUSTER: SolanaCluster;
|
package/dist/index.cjs
CHANGED
|
@@ -4,17 +4,15 @@ const clusters = require('./clusters.cjs');
|
|
|
4
4
|
const address = require('./address.cjs');
|
|
5
5
|
const bufferPolyfill = require('./buffer-polyfill.cjs');
|
|
6
6
|
const errors = require('./errors.cjs');
|
|
7
|
-
const adapter = require('./shared/core.
|
|
7
|
+
const adapter = require('./shared/core.Cb48vQvC.cjs');
|
|
8
8
|
const kit$1 = require('./kit.cjs');
|
|
9
9
|
const mobileWallet = require('./mobile-wallet.cjs');
|
|
10
10
|
const rpc = require('./rpc.cjs');
|
|
11
|
-
const splToken = require('@solana/spl-token');
|
|
12
11
|
const tokenAccounts = require('./token-accounts.cjs');
|
|
13
12
|
const transaction = require('./transaction.cjs');
|
|
14
13
|
const timeout = require('./timeout.cjs');
|
|
15
14
|
const wallet = require('./wallet.cjs');
|
|
16
|
-
const discovery = require('./shared/core.
|
|
17
|
-
const web3Compat = require('@solana/web3-compat');
|
|
15
|
+
const discovery = require('./shared/core.Cu_gaUSn.cjs');
|
|
18
16
|
const _ = require('buffer/');
|
|
19
17
|
const kit = require('@solana/kit');
|
|
20
18
|
require('bs58');
|
|
@@ -31,7 +29,7 @@ exports.DEFAULT_CLUSTER = clusters.DEFAULT_CLUSTER;
|
|
|
31
29
|
exports.getClusterEndpoint = clusters.getClusterEndpoint;
|
|
32
30
|
exports.getClusterWebSocketEndpoint = clusters.getClusterWebSocketEndpoint;
|
|
33
31
|
exports.getWebSocketEndpoint = clusters.getWebSocketEndpoint;
|
|
34
|
-
exports.
|
|
32
|
+
exports.parseAddress = address.parseAddress;
|
|
35
33
|
exports.installSolanaBufferPolyfill = bufferPolyfill.installSolanaBufferPolyfill;
|
|
36
34
|
exports.SolanaError = errors.SolanaError;
|
|
37
35
|
exports.createSolanaError = errors.createSolanaError;
|
|
@@ -49,14 +47,7 @@ exports.createSolanaClient = kit$1.createSolanaClient;
|
|
|
49
47
|
exports.getDefaultMobileWalletAppIdentity = mobileWallet.getDefaultMobileWalletAppIdentity;
|
|
50
48
|
exports.isSolanaMobileWalletSupported = mobileWallet.isSolanaMobileWalletSupported;
|
|
51
49
|
exports.registerSolanaMobileWallet = mobileWallet.registerSolanaMobileWallet;
|
|
52
|
-
exports.createSolanaConnection = rpc.createSolanaConnection;
|
|
53
50
|
exports.createSolanaContext = rpc.createSolanaContext;
|
|
54
|
-
exports.AccountState = splToken.AccountState;
|
|
55
|
-
exports.TOKEN_2022_PROGRAM_ID = splToken.TOKEN_2022_PROGRAM_ID;
|
|
56
|
-
exports.TOKEN_PROGRAM_ID = splToken.TOKEN_PROGRAM_ID;
|
|
57
|
-
exports.getAssociatedTokenAddressSync = splToken.getAssociatedTokenAddressSync;
|
|
58
|
-
exports.unpackAccount = splToken.unpackAccount;
|
|
59
|
-
exports.unpackMint = splToken.unpackMint;
|
|
60
51
|
exports.getTokenAccount = tokenAccounts.getTokenAccount;
|
|
61
52
|
exports.getTokenAccountsByOwner = tokenAccounts.getTokenAccountsByOwner;
|
|
62
53
|
exports.getTokenBalance = tokenAccounts.getTokenBalance;
|
|
@@ -77,13 +68,6 @@ exports.getRegisteredSolanaWallets = discovery.getRegisteredSolanaWallets;
|
|
|
77
68
|
exports.getSolanaChain = discovery.getSolanaChain;
|
|
78
69
|
exports.isSolanaStandardWallet = discovery.isSolanaStandardWallet;
|
|
79
70
|
exports.subscribeSolanaWallets = discovery.subscribeSolanaWallets;
|
|
80
|
-
exports.Connection = web3Compat.Connection;
|
|
81
|
-
exports.Keypair = web3Compat.Keypair;
|
|
82
|
-
exports.PublicKey = web3Compat.PublicKey;
|
|
83
|
-
exports.SystemProgram = web3Compat.SystemProgram;
|
|
84
|
-
exports.Transaction = web3Compat.Transaction;
|
|
85
|
-
exports.TransactionInstruction = web3Compat.TransactionInstruction;
|
|
86
|
-
exports.VersionedTransaction = web3Compat.VersionedTransaction;
|
|
87
71
|
exports.Buffer = _.Buffer;
|
|
88
72
|
exports.address = kit.address;
|
|
89
73
|
exports.lamports = kit.lamports;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
/// <reference path="../types/web3-compat.d.ts" />
|
|
2
1
|
/// <reference path="../types/buffer.d.ts" />
|
|
3
2
|
export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWebSocketEndpoint } from './clusters.cjs';
|
|
4
|
-
export {
|
|
3
|
+
export { AddressInput, MaybeAddressInput, parseAddress } from './address.cjs';
|
|
5
4
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.cjs';
|
|
6
5
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.cjs';
|
|
7
6
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.cjs';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as createSolanaClient } from './shared/core.
|
|
7
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as TransactionStatus, k as createSolanaClient } from './shared/core.DMgTrB_2.cjs';
|
|
9
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.cjs';
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export { TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.cjs';
|
|
9
|
+
export { createSolanaContext } from './rpc.cjs';
|
|
10
|
+
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.cjs';
|
|
13
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.cjs';
|
|
14
12
|
export { withSolanaTimeout, withTimeout } from './timeout.cjs';
|
|
15
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignMessage, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.cjs';
|
|
16
14
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.cjs';
|
|
17
|
-
export {
|
|
18
|
-
export { Address, Lamports, Rpc, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
15
|
+
export { Address, Commitment, Lamports, Rpc, Signature, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
19
16
|
export { Buffer } from 'buffer/';
|
|
20
|
-
import '@vue-solana/core/web3';
|
|
21
17
|
import '@wallet-standard/base';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
/// <reference path="../types/web3-compat.d.ts" />
|
|
2
1
|
/// <reference path="../types/buffer.d.ts" />
|
|
3
2
|
export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWebSocketEndpoint } from './clusters.mjs';
|
|
4
|
-
export {
|
|
3
|
+
export { AddressInput, MaybeAddressInput, parseAddress } from './address.mjs';
|
|
5
4
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.mjs';
|
|
6
5
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.mjs';
|
|
7
6
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.mjs';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as createSolanaClient } from './shared/core.
|
|
7
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as TransactionStatus, k as createSolanaClient } from './shared/core.DMgTrB_2.mjs';
|
|
9
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export { TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.mjs';
|
|
9
|
+
export { createSolanaContext } from './rpc.mjs';
|
|
10
|
+
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.mjs';
|
|
13
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.mjs';
|
|
14
12
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
15
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignMessage, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
16
14
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.mjs';
|
|
17
|
-
export {
|
|
18
|
-
export { Address, Lamports, Rpc, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
15
|
+
export { Address, Commitment, Lamports, Rpc, Signature, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
19
16
|
export { Buffer } from 'buffer/';
|
|
20
|
-
import '@vue-solana/core/web3';
|
|
21
17
|
import '@wallet-standard/base';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
/// <reference path="../types/web3-compat.d.ts" />
|
|
2
1
|
/// <reference path="../types/buffer.d.ts" />
|
|
3
2
|
export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWebSocketEndpoint } from './clusters.js';
|
|
4
|
-
export {
|
|
3
|
+
export { AddressInput, MaybeAddressInput, parseAddress } from './address.js';
|
|
5
4
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.js';
|
|
6
5
|
export { SolanaError, SolanaErrorCode, SolanaErrorOptions, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.js';
|
|
7
6
|
export { AdaptSolanaIosWalletOptions, GetSolanaIosWalletsOptions, IosWalletCallbackResult, IosWalletInfo, IosWalletMethod, SolanaIosWalletAppIdentity, adaptSolanaIosWallet, getDefaultIosWalletAppIdentity, getDefaultIosWalletRedirectUrl, getSolanaIosWallets, handleSolanaIosWalletCallback, isIosBrowser, isSolanaIosBrowserWalletSupported, isSolanaIosWalletInfo } from './ios-wallet.js';
|
|
8
|
-
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as createSolanaClient } from './shared/core.
|
|
7
|
+
export { C as ConfirmTransactionOptions, S as SendTransactionOptions, a as SolanaChain, b as SolanaClient, c as SolanaCluster, d as SolanaConfig, e as SolanaContext, f as SolanaSignMessageResult, g as SolanaTransaction, h as SolanaWallet, i as SolanaWalletInfo, T as TransactionConfirmation, j as TransactionStatus, k as createSolanaClient } from './shared/core.DMgTrB_2.js';
|
|
9
8
|
export { RegisterSolanaMobileWalletOptions, SolanaMobileWalletAppIdentity, getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.js';
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export { TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.js';
|
|
9
|
+
export { createSolanaContext } from './rpc.js';
|
|
10
|
+
export { TokenAccountInfo, TokenAccountsByOwnerOptions, TokenBalanceResult, getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.js';
|
|
13
11
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.js';
|
|
14
12
|
export { withSolanaTimeout, withTimeout } from './timeout.js';
|
|
15
13
|
export { SolanaWalletError, SolanaWalletErrorCode, assertWalletCanSign, assertWalletCanSignMessage, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.js';
|
|
16
14
|
export { AdaptSolanaWalletOptions, SOLANA_CHAINS, SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, adaptSolanaStandardWallet, getRegisteredSolanaWallets, getSolanaChain, isSolanaStandardWallet, subscribeSolanaWallets } from './wallet-standard.js';
|
|
17
|
-
export {
|
|
18
|
-
export { Address, Lamports, Rpc, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
15
|
+
export { Address, Commitment, Lamports, Rpc, Signature, SolanaRpcApi, address, lamports } from '@solana/kit';
|
|
19
16
|
export { Buffer } from 'buffer/';
|
|
20
|
-
import '@vue-solana/core/web3';
|
|
21
17
|
import '@wallet-standard/base';
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
export { DEFAULT_CLUSTER, getClusterEndpoint, getClusterWebSocketEndpoint, getWebSocketEndpoint } from './clusters.mjs';
|
|
2
|
-
export {
|
|
2
|
+
export { parseAddress } from './address.mjs';
|
|
3
3
|
export { installSolanaBufferPolyfill } from './buffer-polyfill.mjs';
|
|
4
4
|
export { SolanaError, createSolanaError, isSolanaError, normalizeSolanaError } from './errors.mjs';
|
|
5
|
-
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.
|
|
5
|
+
export { a as adaptSolanaIosWallet, g as getDefaultIosWalletAppIdentity, b as getDefaultIosWalletRedirectUrl, c as getSolanaIosWallets, h as handleSolanaIosWalletCallback, i as isIosBrowser, d as isSolanaIosBrowserWalletSupported, e as isSolanaIosWalletInfo } from './shared/core.BwW4HVQI.mjs';
|
|
6
6
|
export { createSolanaClient } from './kit.mjs';
|
|
7
7
|
export { getDefaultMobileWalletAppIdentity, isSolanaMobileWalletSupported, registerSolanaMobileWallet } from './mobile-wallet.mjs';
|
|
8
|
-
export {
|
|
9
|
-
export { AccountState, TOKEN_2022_PROGRAM_ID, TOKEN_PROGRAM_ID, getAssociatedTokenAddressSync, unpackAccount, unpackMint } from '@solana/spl-token';
|
|
8
|
+
export { createSolanaContext } from './rpc.mjs';
|
|
10
9
|
export { getTokenAccount, getTokenAccountsByOwner, getTokenBalance } from './token-accounts.mjs';
|
|
11
10
|
export { confirmTransactionSignature, signAndSendTransaction } from './transaction.mjs';
|
|
12
11
|
export { withSolanaTimeout, withTimeout } from './timeout.mjs';
|
|
13
12
|
export { SolanaWalletError, assertWalletCanSign, assertWalletCanSignMessage, assertWalletConnected, createNoWalletSelectedError, isWalletConnected } from './wallet.mjs';
|
|
14
|
-
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.
|
|
15
|
-
export { Connection, Keypair, PublicKey, SystemProgram, Transaction, TransactionInstruction, VersionedTransaction } from '@solana/web3-compat';
|
|
13
|
+
export { S as SOLANA_CHAINS, a as SOLANA_MOBILE_WALLET_ADAPTER_WALLET_NAME, b as adaptSolanaStandardWallet, g as getRegisteredSolanaWallets, c as getSolanaChain, i as isSolanaStandardWallet, s as subscribeSolanaWallets } from './shared/core.BOHiMZiM.mjs';
|
|
16
14
|
export { Buffer } from 'buffer/';
|
|
17
15
|
export { address, lamports } from '@solana/kit';
|
|
18
16
|
import 'bs58';
|
package/dist/ios-wallet.cjs
CHANGED
package/dist/ios-wallet.d.cts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { a as SolanaChain, c as SolanaCluster, i as SolanaWalletInfo, h as SolanaWallet } from './shared/core.DAUuCWrr.cjs';
|
|
4
|
-
import '@solana/web3-compat';
|
|
1
|
+
import { a as SolanaChain, c as SolanaCluster, i as SolanaWalletInfo, h as SolanaWallet } from './shared/core.DMgTrB_2.cjs';
|
|
5
2
|
import '@solana/kit';
|
|
6
3
|
|
|
7
4
|
interface SolanaIosWalletAppIdentity {
|
package/dist/ios-wallet.d.mts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
/// <reference path="../types/buffer.d.ts" />
|
|
3
|
-
import { a as SolanaChain, c as SolanaCluster, i as SolanaWalletInfo, h as SolanaWallet } from './shared/core.DAUuCWrr.mjs';
|
|
4
|
-
import '@solana/web3-compat';
|
|
1
|
+
import { a as SolanaChain, c as SolanaCluster, i as SolanaWalletInfo, h as SolanaWallet } from './shared/core.DMgTrB_2.mjs';
|
|
5
2
|
import '@solana/kit';
|
|
6
3
|
|
|
7
4
|
interface SolanaIosWalletAppIdentity {
|