@kairoguard/sdk 0.0.3 → 0.0.4

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.
@@ -1,4 +1,4 @@
1
- import type { Hex } from "./types";
1
+ import type { Hex } from "./types.js";
2
2
  export type AuditBundle = {
3
3
  v: 1;
4
4
  network: "testnet" | "mainnet";
@@ -1,4 +1,4 @@
1
- import { fetchAndValidatePolicyReceipt } from "./suiReceipts";
1
+ import { fetchAndValidatePolicyReceipt } from "./suiReceipts.js";
2
2
  /**
3
3
  * Minimal verifier for an audit bundle (v1).
4
4
  * This intentionally verifies only receipt commitments using on-chain receipt contents.
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- export * from "./types";
2
- export * from "./evmIntent";
3
- export * from "./evm";
4
- export * from "./bitcoinIntent";
5
- export { type SolanaCluster, LAMPORTS_PER_SOL, type ParsedInstruction, type ParsedSolanaTransaction, type SolanaIntent, PROGRAM_IDS, SystemInstructionType, base58Decode, base58Encode, validateSolanaAddress, computeSolanaIntentHash, isKnownSafeProgram, isTokenProgram, getProgramName, lamportsToSOL, solToLamports, extractSystemTransfers, } from "./solanaIntent";
6
- export * from "./suiReceipts";
7
- export * from "./suiResult";
8
- export * from "./suiTxBuilders";
9
- export * from "./auditBundle";
10
- export * from "./suiCustody";
11
- export { KairoClient, type KairoClientOpts, type CreateWalletOpts, type WalletInfo, type ProposePolicyUpdateParams, type PolicyUpdateProposalResult, type ApprovePolicyUpdateParams, type ExecutePolicyUpdateParams, type PolicyUpdateStatus, } from "./client";
12
- export { KeyStore, type WalletRecord } from "./keystore";
13
- export { BackendClient, DEFAULT_BACKEND_URL, type BackendClientOpts } from "./backend";
1
+ export * from "./types.js";
2
+ export * from "./evmIntent.js";
3
+ export * from "./evm.js";
4
+ export * from "./bitcoinIntent.js";
5
+ export { type SolanaCluster, LAMPORTS_PER_SOL, type ParsedInstruction, type ParsedSolanaTransaction, type SolanaIntent, PROGRAM_IDS, SystemInstructionType, base58Decode, base58Encode, validateSolanaAddress, computeSolanaIntentHash, isKnownSafeProgram, isTokenProgram, getProgramName, lamportsToSOL, solToLamports, extractSystemTransfers, } from "./solanaIntent.js";
6
+ export * from "./suiReceipts.js";
7
+ export * from "./suiResult.js";
8
+ export * from "./suiTxBuilders.js";
9
+ export * from "./auditBundle.js";
10
+ export * from "./suiCustody.js";
11
+ export { KairoClient, type KairoClientOpts, type CreateWalletOpts, type WalletInfo, type ProposePolicyUpdateParams, type PolicyUpdateProposalResult, type ApprovePolicyUpdateParams, type ExecutePolicyUpdateParams, type PolicyUpdateStatus, } from "./client.js";
12
+ export { KeyStore, type WalletRecord } from "./keystore.js";
13
+ export { BackendClient, DEFAULT_BACKEND_URL, type BackendClientOpts } from "./backend.js";
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- export * from "./types";
2
- export * from "./evmIntent";
3
- export * from "./evm";
4
- export * from "./bitcoinIntent";
5
- export { LAMPORTS_PER_SOL, PROGRAM_IDS, SystemInstructionType, base58Decode, base58Encode, validateSolanaAddress, computeSolanaIntentHash, isKnownSafeProgram, isTokenProgram, getProgramName, lamportsToSOL, solToLamports, extractSystemTransfers, } from "./solanaIntent";
6
- export * from "./suiReceipts";
7
- export * from "./suiResult";
8
- export * from "./suiTxBuilders";
9
- export * from "./auditBundle";
10
- export * from "./suiCustody";
11
- export { KairoClient, } from "./client";
12
- export { KeyStore } from "./keystore";
13
- export { BackendClient, DEFAULT_BACKEND_URL } from "./backend";
1
+ export * from "./types.js";
2
+ export * from "./evmIntent.js";
3
+ export * from "./evm.js";
4
+ export * from "./bitcoinIntent.js";
5
+ export { LAMPORTS_PER_SOL, PROGRAM_IDS, SystemInstructionType, base58Decode, base58Encode, validateSolanaAddress, computeSolanaIntentHash, isKnownSafeProgram, isTokenProgram, getProgramName, lamportsToSOL, solToLamports, extractSystemTransfers, } from "./solanaIntent.js";
6
+ export * from "./suiReceipts.js";
7
+ export * from "./suiResult.js";
8
+ export * from "./suiTxBuilders.js";
9
+ export * from "./auditBundle.js";
10
+ export * from "./suiCustody.js";
11
+ export { KairoClient, } from "./client.js";
12
+ export { KeyStore } from "./keystore.js";
13
+ export { BackendClient, DEFAULT_BACKEND_URL } from "./backend.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kairoguard/sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",