@ar.io/sdk 4.0.0-solana.17 → 4.0.0-solana.18
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/lib/esm/version.js +1 -1
- package/lib/types/solana/escrow.d.ts +5 -10
- package/lib/types/version.d.ts +1 -1
- package/package.json +1 -1
package/lib/esm/version.js
CHANGED
|
@@ -16,15 +16,13 @@
|
|
|
16
16
|
* Borsh codec, and account-meta wiring derived from the on-chain IDL.
|
|
17
17
|
*/
|
|
18
18
|
import { type Address, type Commitment, type Instruction, type TransactionSigner } from '@solana/kit';
|
|
19
|
+
import { type EscrowAnt, type EscrowToken } from '@ar.io/solana-contracts/ant-escrow';
|
|
19
20
|
import type { ILogger } from '../common/logger.js';
|
|
20
21
|
import type { SolanaRpc, SolanaRpcSubscriptions } from './types.js';
|
|
21
22
|
export type EscrowProtocol = 'arweave' | 'ethereum';
|
|
22
23
|
export interface EscrowAntState {
|
|
23
|
-
version
|
|
24
|
-
|
|
25
|
-
minor: number;
|
|
26
|
-
patch: number;
|
|
27
|
-
};
|
|
24
|
+
/** On-chain schema version, as decoded by the generated client. */
|
|
25
|
+
version: EscrowAnt['version'];
|
|
28
26
|
bump: number;
|
|
29
27
|
depositor: Address;
|
|
30
28
|
antMint: Address;
|
|
@@ -172,11 +170,8 @@ export declare class ANTEscrow {
|
|
|
172
170
|
}
|
|
173
171
|
export type EscrowAssetType = 'token' | 'vault';
|
|
174
172
|
export interface EscrowTokenState {
|
|
175
|
-
version
|
|
176
|
-
|
|
177
|
-
minor: number;
|
|
178
|
-
patch: number;
|
|
179
|
-
};
|
|
173
|
+
/** On-chain schema version, as decoded by the generated client. */
|
|
174
|
+
version: EscrowToken['version'];
|
|
180
175
|
bump: number;
|
|
181
176
|
depositor: Address;
|
|
182
177
|
assetType: EscrowAssetType;
|
package/lib/types/version.d.ts
CHANGED